fix: use new upstream address

This commit is contained in:
Mya 2022-07-02 22:01:26 -05:00
parent 3660452152
commit f71c1e5c5a
No known key found for this signature in database
GPG Key ID: C3ECFA648DAD27FA
8 changed files with 20 additions and 16 deletions

@ -29,7 +29,7 @@ docker: .docker
docker/release: docker/release:
docker buildx build . \ docker buildx build . \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64 \
--label "org.opencontainers.image.source=https://github.com/mjpitz/pages" \ --label "org.opencontainers.image.source=https://code.pitz.tech/mya/pages" \
--label "org.opencontainers.image.version=$(VERSION)" \ --label "org.opencontainers.image.version=$(VERSION)" \
--label "org.opencontainers.image.licenses=agpl3" \ --label "org.opencontainers.image.licenses=agpl3" \
--label "org.opencontainers.image.title=pages" \ --label "org.opencontainers.image.title=pages" \

@ -25,10 +25,11 @@ import (
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"code.pitz.tech/mya/pages/internal/commands"
"github.com/mjpitz/myago/flagset" "github.com/mjpitz/myago/flagset"
"github.com/mjpitz/myago/lifecycle" "github.com/mjpitz/myago/lifecycle"
"github.com/mjpitz/myago/zaputil" "github.com/mjpitz/myago/zaputil"
"github.com/mjpitz/pages/internal/commands"
) )
var version = "" var version = ""

2
go.mod

@ -1,4 +1,4 @@
module github.com/mjpitz/pages module code.pitz.tech/mya/pages
go 1.18 go 1.18

@ -25,10 +25,11 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"code.pitz.tech/mya/pages/internal"
"code.pitz.tech/mya/pages/internal/git"
"github.com/mjpitz/myago/flagset" "github.com/mjpitz/myago/flagset"
"github.com/mjpitz/myago/zaputil" "github.com/mjpitz/myago/zaputil"
"github.com/mjpitz/pages/internal"
"github.com/mjpitz/pages/internal/git"
) )
type HostConfig struct { type HostConfig struct {

@ -22,9 +22,9 @@ import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/mjpitz/pages/internal/excludes" "code.pitz.tech/mya/pages/internal/excludes"
"github.com/mjpitz/pages/internal/geoip" "code.pitz.tech/mya/pages/internal/geoip"
"github.com/mjpitz/pages/internal/metrics" "code.pitz.tech/mya/pages/internal/metrics"
) )
type opt struct { type opt struct {

@ -26,16 +26,17 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp" "github.com/prometheus/client_golang/prometheus/promhttp"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"code.pitz.tech/mya/pages/internal/excludes"
"code.pitz.tech/mya/pages/internal/geoip"
"code.pitz.tech/mya/pages/internal/pageviews"
"code.pitz.tech/mya/pages/internal/session"
"code.pitz.tech/mya/pages/internal/web"
"github.com/mjpitz/myago/auth" "github.com/mjpitz/myago/auth"
basicauth "github.com/mjpitz/myago/auth/basic" basicauth "github.com/mjpitz/myago/auth/basic"
httpauth "github.com/mjpitz/myago/auth/http" httpauth "github.com/mjpitz/myago/auth/http"
"github.com/mjpitz/myago/headers" "github.com/mjpitz/myago/headers"
"github.com/mjpitz/myago/livetls" "github.com/mjpitz/myago/livetls"
"github.com/mjpitz/pages/internal/excludes"
"github.com/mjpitz/pages/internal/geoip"
"github.com/mjpitz/pages/internal/pageviews"
"github.com/mjpitz/pages/internal/session"
"github.com/mjpitz/pages/internal/web"
) )
// AdminConfig encapsulates configuration for the administrative endpoints. // AdminConfig encapsulates configuration for the administrative endpoints.

@ -24,9 +24,10 @@ import (
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"go.uber.org/zap" "go.uber.org/zap"
"code.pitz.tech/mya/pages/internal/geoip"
"code.pitz.tech/mya/pages/internal/metrics"
"github.com/mjpitz/myago/zaputil" "github.com/mjpitz/myago/zaputil"
"github.com/mjpitz/pages/internal/geoip"
"github.com/mjpitz/pages/internal/metrics"
) )
type Metric struct { type Metric struct {

@ -25,7 +25,7 @@ import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/mjpitz/pages/internal/excludes" "code.pitz.tech/mya/pages/internal/excludes"
) )
func script(path string) string { func script(path string) string {