Move from github.com/pstuifzand to p83.nl/go/ekster
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
55ef797f68
commit
af3e90c964
|
@ -1,7 +1,7 @@
|
|||
# build stage
|
||||
FROM golang:1.10.2-alpine3.7 AS build-env
|
||||
RUN apk --no-cache add git
|
||||
RUN go get github.com/pstuifzand/ekster/...
|
||||
RUN go get p83.nl/go/ekster/...
|
||||
|
||||
# final stage
|
||||
FROM alpine
|
||||
|
@ -11,5 +11,5 @@ WORKDIR /opt/micropub
|
|||
EXPOSE 80
|
||||
COPY --from=build-env /go/bin/eksterd /app/
|
||||
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"]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# build stage
|
||||
FROM golang:1.10.2-alpine3.7 AS build-env
|
||||
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
|
||||
FROM alpine
|
||||
|
|
|
@ -14,8 +14,8 @@ Very alpha: no warranty.
|
|||
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.
|
||||
|
||||
go get -u github.com/pstuifzand/ekster/cmd/eksterd
|
||||
go get -u github.com/pstuifzand/ekster/cmd/ek
|
||||
go get -u p83.nl/go/ekster/cmd/eksterd
|
||||
go get -u p83.nl/go/ekster/cmd/ek
|
||||
|
||||
`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`.
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
"net/url"
|
||||
"os"
|
||||
|
||||
"github.com/pstuifzand/ekster/pkg/client"
|
||||
"github.com/pstuifzand/ekster/pkg/indieauth"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"p83.nl/go/ekster/pkg/client"
|
||||
"p83.nl/go/ekster/pkg/indieauth"
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -34,8 +34,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"willnorris.com/go/microformats"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/pstuifzand/ekster/pkg/indieauth"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"github.com/pstuifzand/ekster/pkg/util"
|
||||
"p83.nl/go/ekster/pkg/indieauth"
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
"p83.nl/go/ekster/pkg/util"
|
||||
|
||||
"github.com/alecthomas/template"
|
||||
"github.com/garyburd/redigo/redis"
|
||||
|
|
|
@ -10,9 +10,10 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"p83.nl/go/ekster/pkg/util"
|
||||
"p83.nl/go/ekster/pkg/websub"
|
||||
|
||||
"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
|
||||
|
|
|
@ -28,7 +28,7 @@ import (
|
|||
|
||||
"cloud.google.com/go/profiler"
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -28,9 +28,10 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"p83.nl/go/ekster/pkg/feedbin"
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/pstuifzand/ekster/pkg/feedbin"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"willnorris.com/go/microformats"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"willnorris.com/go/microformats"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,8 +7,9 @@ import (
|
|||
"net/http"
|
||||
"os"
|
||||
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
)
|
||||
|
||||
type microsubHandler struct {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
)
|
||||
|
||||
// NullBackend is the simplest possible backend
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/pstuifzand/ekster/pkg/microsub"
|
||||
"p83.nl/go/ekster/pkg/microsub"
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
"linkheader"
|
||||
|
||||
"github.com/pstuifzand/ekster/pkg/util"
|
||||
"p83.nl/go/ekster/pkg/util"
|
||||
"willnorris.com/go/microformats"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user