diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 9fd32bb..7fe4aae 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -19,15 +19,15 @@ jobs: apt-get -y install buildah ca-certificates nodejs - name: Check out source code uses: https://code.forgejo.org/actions/checkout@v5 - - if: ${{ forge.repository == 'whitequark/git-pages' && 'true' || 'false' }} + - if: ${{ forge.repository == 'git-pages/git-pages' && 'true' || 'false' }} name: Log into container registry run: | buildah login --authfile=/tmp/authfile.json \ - -u whitequark -p ${{ secrets.PACKAGES_TOKEN }} codeberg.org + -u git-pages-bot -p ${{ secrets.PACKAGES_TOKEN }} codeberg.org - name: Build container uses: https://codeberg.org/actions/buildah-simple@main with: context: . - tag: "codeberg.org/whitequark/git-pages:latest" - push: ${{ forge.repository == 'whitequark/git-pages' && 'true' || 'false' }} + tag: "codeberg.org/git-pages/git-pages:latest" + push: ${{ forge.repository == 'git-pages/git-pages' && 'true' || 'false' }} authfile: /tmp/authfile.json diff --git a/LICENSE-0BSD.txt b/LICENSE-0BSD.txt index 330b79f..545d347 100644 --- a/LICENSE-0BSD.txt +++ b/LICENSE-0BSD.txt @@ -1,3 +1,4 @@ +Copyright (C) git-pages contributors Copyright (C) Catherine 'whitequark' Permission to use, copy, modify, and/or distribute this software for diff --git a/README.md b/README.md index f1d2b60..8db6a5e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ These commands starts an HTTP server on `0.0.0.0:3000` and use the `data` direct To publish a site, run the following commands: ```console -$ curl http://localhost:3000/ -X PUT --data https://codeberg.org/whitequark/git-pages.git +$ curl http://localhost:3000/ -X PUT --data https://codeberg.org/git-pages/git-pages.git b70644b523c4aaf4efd206a588087a1d406cb047 ``` @@ -43,7 +43,7 @@ To run _git-pages_ standalone and use the filesystem to store site data: ```console $ docker run -u $(id -u):$(id -g)--mount type=bind,src=$(pwd)/data,dst=/app/data \ -p 3000:3000 \ - codeberg.org/whitequark/git-pages:latest + codeberg.org/git-pages/git-pages:latest ``` To run _git-pages_ with Caddy and use an S3-compatible endpoint to store site data and TLS key material: @@ -51,7 +51,7 @@ To run _git-pages_ with Caddy and use an S3-compatible endpoint to store site da ```console $ docker run -e S3_ENDPOINT -e S3_REGION -e S3_ACCESS_KEY_ID -e S3_SECRET_ACCESS_KEY -e S3_BUCKET \ -e ACME_EMAIL -p 80:80 -p 443:443 \ - codeberg.org/whitequark/git-pages:latest supervisord + codeberg.org/git-pages/git-pages:latest supervisord ``` See also the included [configuration](fly.toml) for [Fly.io](https://fly.io). @@ -122,7 +122,7 @@ The S3 backend, intended for (relatively) high latency connections, caches both Architecture (v1) ----------------- -*This was the original architecture and it is no longer used. Migration to v2 was last available in commit [7e9cd17b](https://codeberg.org/whitequark/git-pages/commit/7e9cd17b70717bea2fe240eb6a784cb206243690).* +*This was the original architecture and it is no longer used. Migration to v2 was last available in commit [7e9cd17b](https://codeberg.org/git-pages/git-pages/commit/7e9cd17b70717bea2fe240eb6a784cb206243690).* Filesystem is used as the sole mechanism for state storage. diff --git a/go.mod b/go.mod index 25c46fb..b859fcf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module whitequark.org/git-pages +module codeberg.org/git-pages/git-pages go 1.25.0 diff --git a/src/schema.pb.go b/src/schema.pb.go index c93714c..f89ac7a 100644 --- a/src/schema.pb.go +++ b/src/schema.pb.go @@ -401,7 +401,7 @@ const file_schema_proto_rawDesc = "" + "\n" + "InlineFile\x10\x02\x12\x10\n" + "\fExternalFile\x10\x03\x12\v\n" + - "\aSymlink\x10\x04B\x1fZ\x1dwhitequark.org/git-pages/mainb\beditionsp\xe8\a" + "\aSymlink\x10\x04B'Z%codeberg.org/git-pages/git-pages/mainb\beditionsp\xe8\a" var ( file_schema_proto_rawDescOnce sync.Once diff --git a/src/schema.proto b/src/schema.proto index b02a666..61c4667 100644 --- a/src/schema.proto +++ b/src/schema.proto @@ -1,6 +1,6 @@ edition = "2023"; -option go_package = "whitequark.org/git-pages/main"; +option go_package = "codeberg.org/git-pages/git-pages/main"; enum Type { // Invalid entry.