migrate from genofire to sum7

This commit is contained in:
Martin/Geno 2019-08-08 15:48:43 +02:00
parent c38379e37e
commit 56b019da5c
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
9 changed files with 18 additions and 18 deletions

View File

@ -1,8 +1,8 @@
# Thrempp # Thrempp
[![pipeline status](https://dev.sum7.eu/genofire/thrempp/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines) [![pipeline status](https://dev.sum7.eu/sum7/thrempp/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines)
[![coverage report](https://dev.sum7.eu/genofire/thrempp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines) [![coverage report](https://dev.sum7.eu/sum7/thrempp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines)
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/thrempp)](https://goreportcard.com/report/dev.sum7.eu/genofire/thrempp) [![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/sum7/thrempp)](https://goreportcard.com/report/dev.sum7.eu/genofire/thrempp)
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/thrempp?status.svg)](https://godoc.org/dev.sum7.eu/genofire/thrempp) [![GoDoc](https://godoc.org/dev.sum7.eu/sum7/thrempp?status.svg)](https://godoc.org/dev.sum7.eu/genofire/thrempp)
[![](https://inverse.chat/badge.svg?room=thrempp@conference.chat.sum7.eu)](https://conversations.im/j/thrempp@conference.chat.sum7.eu) [![](https://inverse.chat/badge.svg?room=thrempp@conference.chat.sum7.eu)](https://conversations.im/j/thrempp@conference.chat.sum7.eu)
XMPP - Transport XMPP - Transport
@ -15,14 +15,14 @@ ATM planned support for Threema only
Latest Build binary from ci here: Latest Build binary from ci here:
[Download All](https://dev.sum7.eu/genofire/thrempp/-/jobs/artifacts/master/download/?job=build-my-project) (with config example) [Download All](https://dev.sum7.eu/sum7/thrempp/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
[Download Binary](https://dev.sum7.eu/genofire/thrempp/-/jobs/artifacts/master/raw/bin/thrempp?inline=false&job=build-my-project) [Download Binary](https://dev.sum7.eu/sum7/thrempp/-/jobs/artifacts/master/raw/bin/thrempp?inline=false&job=build-my-project)
#### Build #### Build
```bash ```bash
go get -u dev.sum7.eu/genofire/thrempp go get -u dev.sum7.eu/sum7/thrempp
``` ```
## Configure ## Configure

View File

@ -12,10 +12,10 @@ import (
"dev.sum7.eu/genofire/golang-lib/database" "dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/golang-lib/file" "dev.sum7.eu/genofire/golang-lib/file"
"dev.sum7.eu/genofire/thrempp/component" "dev.sum7.eu/sum7/thrempp/component"
// need for database init // need for database init
_ "dev.sum7.eu/genofire/thrempp/component/all" _ "dev.sum7.eu/sum7/thrempp/component/all"
_ "dev.sum7.eu/genofire/thrempp/models" _ "dev.sum7.eu/sum7/thrempp/models"
) )
type Config struct { type Config struct {

View File

@ -2,5 +2,5 @@ package all
import ( import (
// import all implementations // import all implementations
_ "dev.sum7.eu/genofire/thrempp/component/threema" _ "dev.sum7.eu/sum7/thrempp/component/threema"
) )

View File

@ -7,7 +7,7 @@ import (
"dev.sum7.eu/genofire/golang-lib/database" "dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/thrempp/models" "dev.sum7.eu/sum7/thrempp/models"
) )
type Account struct { type Account struct {

View File

@ -8,7 +8,7 @@ import (
"dev.sum7.eu/genofire/golang-lib/database" "dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/thrempp/models" "dev.sum7.eu/sum7/thrempp/models"
) )
type Bot struct { type Bot struct {

View File

@ -6,7 +6,7 @@ import (
"dev.sum7.eu/genofire/golang-lib/database" "dev.sum7.eu/genofire/golang-lib/database"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"dev.sum7.eu/genofire/thrempp/models" "dev.sum7.eu/sum7/thrempp/models"
) )
func TestBot(t *testing.T) { func TestBot(t *testing.T) {

View File

@ -9,8 +9,8 @@ import (
"dev.sum7.eu/genofire/golang-lib/database" "dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/thrempp/component" "dev.sum7.eu/sum7/thrempp/component"
"dev.sum7.eu/genofire/thrempp/models" "dev.sum7.eu/sum7/thrempp/models"
) )
type Threema struct { type Threema struct {

View File

@ -7,7 +7,7 @@ import (
"gosrc.io/xmpp/stanza" "gosrc.io/xmpp/stanza"
"dev.sum7.eu/genofire/golang-lib/database" "dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/thrempp/models" "dev.sum7.eu/sum7/thrempp/models"
) )
func TestThreema(t *testing.T) { func TestThreema(t *testing.T) {

View File

@ -1,6 +1,6 @@
package main package main
import "dev.sum7.eu/genofire/thrempp/cmd" import "dev.sum7.eu/sum7/thrempp/cmd"
func main() { func main() {
cmd.Execute() cmd.Execute()