Move from github.com/pstuifzand to p83.nl/go/ekster
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2018-07-28 17:52:59 +02:00
parent 55ef797f68
commit af3e90c964
14 changed files with 27 additions and 22 deletions

View File

@ -1,7 +1,7 @@
# build stage # build stage
FROM golang:1.10.2-alpine3.7 AS build-env FROM golang:1.10.2-alpine3.7 AS build-env
RUN apk --no-cache add git RUN apk --no-cache add git
RUN go get github.com/pstuifzand/ekster/... RUN go get p83.nl/go/ekster/...
# final stage # final stage
FROM alpine FROM alpine
@ -11,5 +11,5 @@ WORKDIR /opt/micropub
EXPOSE 80 EXPOSE 80
COPY --from=build-env /go/bin/eksterd /app/ COPY --from=build-env /go/bin/eksterd /app/
RUN ["mkdir", "/app/templates"] RUN ["mkdir", "/app/templates"]
COPY --from=build-env /go/src/github.com/pstuifzand/ekster/templates /app/templates COPY --from=build-env /go/src/p83.nl/go/ekster/templates /app/templates
ENTRYPOINT ["/app/eksterd"] ENTRYPOINT ["/app/eksterd"]

View File

@ -1,7 +1,7 @@
# build stage # build stage
FROM golang:1.10.2-alpine3.7 AS build-env FROM golang:1.10.2-alpine3.7 AS build-env
RUN apk --no-cache add git RUN apk --no-cache add git
RUN go get github.com/pstuifzand/ekster/cmd/ek RUN go get p83.nl/go/ekster/cmd/ek
# final stage # final stage
FROM alpine FROM alpine

View File

@ -14,8 +14,8 @@ Very alpha: no warranty.
ekster is build using [go](https://golang.org). To be able to install ekster ekster is build using [go](https://golang.org). To be able to install ekster
you need a Go environment. Use these commands to install the programs. you need a Go environment. Use these commands to install the programs.
go get -u github.com/pstuifzand/ekster/cmd/eksterd go get -u p83.nl/go/ekster/cmd/eksterd
go get -u github.com/pstuifzand/ekster/cmd/ek go get -u p83.nl/go/ekster/cmd/ek
`eksterd` uses [Redis](https://redis.io/) as the database, to temporarily save `eksterd` uses [Redis](https://redis.io/) as the database, to temporarily save
the items and feeds. The more permanent information is saved in `backend.json`. the items and feeds. The more permanent information is saved in `backend.json`.

View File

@ -7,9 +7,9 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/pstuifzand/ekster/pkg/client" "p83.nl/go/ekster/pkg/client"
"github.com/pstuifzand/ekster/pkg/indieauth" "p83.nl/go/ekster/pkg/indieauth"
"github.com/pstuifzand/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
) )
func init() { func init() {

View File

@ -34,8 +34,9 @@ import (
"strings" "strings"
"time" "time"
"p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/pkg/microsub"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )

View File

@ -11,9 +11,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/pstuifzand/ekster/pkg/indieauth" "p83.nl/go/ekster/pkg/indieauth"
"github.com/pstuifzand/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
"github.com/pstuifzand/ekster/pkg/util" "p83.nl/go/ekster/pkg/util"
"github.com/alecthomas/template" "github.com/alecthomas/template"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"

View File

@ -10,9 +10,10 @@ import (
"strings" "strings"
"time" "time"
"p83.nl/go/ekster/pkg/util"
"p83.nl/go/ekster/pkg/websub"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/pkg/util"
"github.com/pstuifzand/ekster/pkg/websub"
) )
// LeaseSeconds is the default number of seconds we want the subscription to last // LeaseSeconds is the default number of seconds we want the subscription to last

View File

@ -28,7 +28,7 @@ import (
"cloud.google.com/go/profiler" "cloud.google.com/go/profiler"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
) )
const ( const (

View File

@ -28,9 +28,10 @@ import (
"strings" "strings"
"time" "time"
"p83.nl/go/ekster/pkg/feedbin"
"p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/pkg/feedbin"
"github.com/pstuifzand/ekster/pkg/microsub"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )

View File

@ -9,8 +9,9 @@ import (
"strings" "strings"
"time" "time"
"p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/pkg/microsub"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )

View File

@ -7,8 +7,9 @@ import (
"net/http" "net/http"
"os" "os"
"p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/pkg/microsub"
) )
type microsubHandler struct { type microsubHandler struct {

View File

@ -18,7 +18,7 @@
package main package main
import ( import (
"github.com/pstuifzand/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
) )
// NullBackend is the simplest possible backend // NullBackend is the simplest possible backend

View File

@ -7,7 +7,7 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/pstuifzand/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
) )
type Client struct { type Client struct {

View File

@ -11,7 +11,7 @@ import (
"linkheader" "linkheader"
"github.com/pstuifzand/ekster/pkg/util" "p83.nl/go/ekster/pkg/util"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )