updated for new git locationupdated for new git location
This commit is contained in:
parent
bad43a1eba
commit
c38450665b
@ -1,6 +1,6 @@
|
||||
FROM golang:1.13 as builder
|
||||
|
||||
WORKDIR /go/src/github.com/sneak/feta
|
||||
WORKDIR /go/src/git.eeqj.de/sneak/feta
|
||||
COPY . .
|
||||
|
||||
#RUN make lint && make build
|
||||
@ -14,7 +14,7 @@ RUN tar cvfz go-src.tgz src && du -sh *
|
||||
|
||||
FROM alpine
|
||||
|
||||
COPY --from=builder /go/src/github.com/sneak/feta/feta /bin/feta
|
||||
COPY --from=builder /go/src/git.eeqj.de/sneak/feta/feta /bin/feta
|
||||
|
||||
# put the source in there too for safekeeping
|
||||
COPY --from=builder /go/go-src.tgz /usr/local/src/go-src.tgz
|
||||
|
@ -2,7 +2,7 @@ package main
|
||||
|
||||
import "os"
|
||||
|
||||
import "github.com/sneak/feta/process"
|
||||
import "git.eeqj.de/sneak/feta/process"
|
||||
|
||||
// these are filled in at link-time by the build scripts
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package db
|
||||
|
||||
import "github.com/sneak/feta/process"
|
||||
import "git.eeqj.de/sneak/feta/process"
|
||||
import "github.com/jinzhu/gorm"
|
||||
import _ "github.com/jinzhu/gorm/dialects/sqlite" // required for orm
|
||||
|
||||
|
@ -2,8 +2,8 @@ package ingester
|
||||
|
||||
import "time"
|
||||
import "github.com/rs/zerolog/log"
|
||||
import "github.com/sneak/feta/toot"
|
||||
import "github.com/sneak/feta/storage"
|
||||
import "git.eeqj.de/sneak/feta/toot"
|
||||
import "git.eeqj.de/sneak/feta/storage"
|
||||
|
||||
// TootIngester is the data structure for the ingester process that is
|
||||
// responsible for storing the discovered toots
|
||||
|
@ -12,9 +12,9 @@ import "errors"
|
||||
//import "github.com/gin-gonic/gin"
|
||||
import "github.com/looplab/fsm"
|
||||
import "github.com/rs/zerolog/log"
|
||||
import "github.com/sneak/feta/storage"
|
||||
import "github.com/sneak/feta/toot"
|
||||
import "github.com/sneak/feta/jsonapis"
|
||||
import "git.eeqj.de/sneak/feta/storage"
|
||||
import "git.eeqj.de/sneak/feta/toot"
|
||||
import "git.eeqj.de/sneak/feta/jsonapis"
|
||||
|
||||
const nodeInfoSchemaVersionTwoName = "http://nodeinfo.diaspora.software/ns/schema/2.0"
|
||||
const instanceNodeinfoTimeout = time.Second * 50
|
||||
|
@ -8,9 +8,9 @@ import "sync"
|
||||
|
||||
import "github.com/rs/zerolog/log"
|
||||
import "golang.org/x/sync/semaphore"
|
||||
import "github.com/sneak/feta/jsonapis"
|
||||
import "github.com/sneak/feta/instance"
|
||||
import "github.com/sneak/feta"
|
||||
import "git.eeqj.de/sneak/feta/jsonapis"
|
||||
import "git.eeqj.de/sneak/feta/instance"
|
||||
import "git.eeqj.de/sneak/feta"
|
||||
|
||||
// IndexAPITimeout is the timeout for fetching json instance lists
|
||||
// from the listing servers
|
||||
|
@ -6,9 +6,9 @@ import "runtime"
|
||||
|
||||
//import "github.com/gin-gonic/gin"
|
||||
import "github.com/rs/zerolog/log"
|
||||
import "github.com/sneak/feta/toot"
|
||||
import "github.com/sneak/feta/seeds"
|
||||
import "github.com/sneak/feta/instance"
|
||||
import "git.eeqj.de/sneak/feta/toot"
|
||||
import "git.eeqj.de/sneak/feta/seeds"
|
||||
import "git.eeqj.de/sneak/feta/instance"
|
||||
|
||||
const hostDiscoveryParallelism = 5
|
||||
|
||||
|
@ -10,11 +10,11 @@ import "github.com/rs/zerolog"
|
||||
import "github.com/rs/zerolog/log"
|
||||
import "github.com/mattn/go-isatty"
|
||||
|
||||
import "github.com/sneak/feta/ingester"
|
||||
import "github.com/sneak/feta/storage"
|
||||
import "github.com/sneak/feta/locator"
|
||||
import "github.com/sneak/feta/manager"
|
||||
import "github.com/sneak/feta/instance"
|
||||
import "git.eeqj.de/sneak/feta/ingester"
|
||||
import "git.eeqj.de/sneak/feta/storage"
|
||||
import "git.eeqj.de/sneak/feta/locator"
|
||||
import "git.eeqj.de/sneak/feta/manager"
|
||||
import "git.eeqj.de/sneak/feta/instance"
|
||||
|
||||
// CLIEntry is the main entrypoint for the feta process from the cli
|
||||
func CLIEntry(version string, buildarch string) int {
|
||||
|
@ -7,7 +7,7 @@ import "os"
|
||||
import "strings"
|
||||
import "sync"
|
||||
|
||||
import "github.com/sneak/feta/toot"
|
||||
import "git.eeqj.de/sneak/feta/toot"
|
||||
|
||||
// TootStorageBackend is the interface to which storage backends must
|
||||
// conform for storing toots
|
||||
|
@ -4,7 +4,7 @@ import "fmt"
|
||||
import "encoding/json"
|
||||
import "errors"
|
||||
import "strings"
|
||||
import "github.com/sneak/feta/jsonapis"
|
||||
import "git.eeqj.de/sneak/feta/jsonapis"
|
||||
|
||||
//import "github.com/davecgh/go-spew/spew"
|
||||
import "github.com/rs/zerolog/log"
|
||||
|
Loading…
Reference in New Issue
Block a user