migrate from genofire to sum7
This commit is contained in:
parent
c38379e37e
commit
56b019da5c
14
README.md
14
README.md
|
@ -1,8 +1,8 @@
|
|||
# Thrempp
|
||||
[![pipeline status](https://dev.sum7.eu/genofire/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)
|
||||
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/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)
|
||||
[![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/sum7/thrempp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines)
|
||||
[![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/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)
|
||||
|
||||
XMPP - Transport
|
||||
|
@ -15,14 +15,14 @@ ATM planned support for Threema only
|
|||
|
||||
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
|
||||
|
||||
```bash
|
||||
go get -u dev.sum7.eu/genofire/thrempp
|
||||
go get -u dev.sum7.eu/sum7/thrempp
|
||||
```
|
||||
|
||||
## Configure
|
||||
|
|
|
@ -12,10 +12,10 @@ import (
|
|||
"dev.sum7.eu/genofire/golang-lib/database"
|
||||
"dev.sum7.eu/genofire/golang-lib/file"
|
||||
|
||||
"dev.sum7.eu/genofire/thrempp/component"
|
||||
"dev.sum7.eu/sum7/thrempp/component"
|
||||
// need for database init
|
||||
_ "dev.sum7.eu/genofire/thrempp/component/all"
|
||||
_ "dev.sum7.eu/genofire/thrempp/models"
|
||||
_ "dev.sum7.eu/sum7/thrempp/component/all"
|
||||
_ "dev.sum7.eu/sum7/thrempp/models"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
|
|
@ -2,5 +2,5 @@ package all
|
|||
|
||||
import (
|
||||
// import all implementations
|
||||
_ "dev.sum7.eu/genofire/thrempp/component/threema"
|
||||
_ "dev.sum7.eu/sum7/thrempp/component/threema"
|
||||
)
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"dev.sum7.eu/genofire/golang-lib/database"
|
||||
|
||||
"dev.sum7.eu/genofire/thrempp/models"
|
||||
"dev.sum7.eu/sum7/thrempp/models"
|
||||
)
|
||||
|
||||
type Account struct {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"dev.sum7.eu/genofire/golang-lib/database"
|
||||
|
||||
"dev.sum7.eu/genofire/thrempp/models"
|
||||
"dev.sum7.eu/sum7/thrempp/models"
|
||||
)
|
||||
|
||||
type Bot struct {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"dev.sum7.eu/genofire/golang-lib/database"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"dev.sum7.eu/genofire/thrempp/models"
|
||||
"dev.sum7.eu/sum7/thrempp/models"
|
||||
)
|
||||
|
||||
func TestBot(t *testing.T) {
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
|
||||
"dev.sum7.eu/genofire/golang-lib/database"
|
||||
|
||||
"dev.sum7.eu/genofire/thrempp/component"
|
||||
"dev.sum7.eu/genofire/thrempp/models"
|
||||
"dev.sum7.eu/sum7/thrempp/component"
|
||||
"dev.sum7.eu/sum7/thrempp/models"
|
||||
)
|
||||
|
||||
type Threema struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"gosrc.io/xmpp/stanza"
|
||||
|
||||
"dev.sum7.eu/genofire/golang-lib/database"
|
||||
"dev.sum7.eu/genofire/thrempp/models"
|
||||
"dev.sum7.eu/sum7/thrempp/models"
|
||||
)
|
||||
|
||||
func TestThreema(t *testing.T) {
|
||||
|
|
Reference in New Issue