From 7876d26d6fe59d9efcf514802a3bfd982136a147 Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Fri, 9 May 2025 07:03:01 +0000 Subject: [PATCH 1/9] Explicitly use the pr-commenter-action from GH Signed-off-by: Benoit Donneaux --- .gitea/workflows/jekyll.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index dc24ffa..b70b445 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -77,7 +77,7 @@ jobs: - name: Comment pull request id: comment_pull_request if: ${{ always() && gitea.event_name == 'pull_request' }} - uses: exercism/pr-commenter-action@v1.5.1 + uses: https://github.com/exercism/pr-commenter-action@v1.5.1 with: template-variables: | { -- 2.47.2 From 2457855851f2a11a4bd3d02560ca1ed7da517a89 Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Fri, 9 May 2025 07:10:59 +0000 Subject: [PATCH 2/9] Override the default git server url to use Forgejo Signed-off-by: Benoit Donneaux --- .gitea/workflows/jekyll.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index b70b445..c56788e 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -18,6 +18,7 @@ jobs: - name: Check out repository id: checkout uses: actions/checkout@v4 + github-server-url: 'https://forge.87b59b92.nip.io/' - name: Change file ownership id: file_ownership run: | -- 2.47.2 From dcf1fbd4f60d74fd2f5d95f028f93787319ac19b Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Fri, 9 May 2025 09:23:34 +0000 Subject: [PATCH 3/9] Use the correct username to deploy on prod Signed-off-by: Benoit Donneaux --- .gitea/workflows/jekyll.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index c56788e..fbe9937 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -8,8 +8,8 @@ on: env: _UID: 1000 _GID: 1000 - WEB_DOMAIN: lafs.eval.latfa.net - WEB_USER: www + WEB_DOMAIN: 87b59b92.nip.io + WEB_USER: bot-www WEB_DIR: /var/www jobs: jekyll: -- 2.47.2 From 52382d65e3df04bca96ce23dedb25ce309bb3586 Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Fri, 9 May 2025 09:41:11 +0000 Subject: [PATCH 4/9] Use the correct virtual hosts for prod Signed-off-by: Benoit Donneaux --- .gitea/workflows/jekyll.yaml | 18 ++++++++++-------- .gitea/workflows/jekyll_cleanup.yml | 4 ++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index fbe9937..b7e87f0 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -8,7 +8,8 @@ on: env: _UID: 1000 _GID: 1000 - WEB_DOMAIN: 87b59b92.nip.io + WEB_DOMAIN: tahoe-lafs.org + WEB_HOST: webforge.of.tahoe-lafs.org WEB_USER: bot-www WEB_DIR: /var/www jobs: @@ -18,7 +19,7 @@ jobs: - name: Check out repository id: checkout uses: actions/checkout@v4 - github-server-url: 'https://forge.87b59b92.nip.io/' + github-server-url: 'https://forge.of.tahoe-lafs.org/' - name: Change file ownership id: file_ownership run: | @@ -45,7 +46,7 @@ jobs: - name: Build Jekyll site id: build_site run: | - # Overwrite the baseurl for previewonly + # Overwrite the baseurl for preview only if [ "${{ gitea.event_name }}" = 'pull_request' ]; then echo "Overwriting baseurl for pull_request ${{ gitea.event.pull_request.number }}" sed -i -r -e 's/^baseurl:\s*"([^"]*)"/baseurl: "\1\/${{ gitea.event.pull_request.number }}"/' _config.yml @@ -57,16 +58,17 @@ jobs: id: deploy_site run: | if [ "${{ gitea.ref }}" = 'refs/heads/main' ]; then - WEB_ROOT="${WEB_DIR}/site" - WEB_HOST="www.${WEB_DOMAIN}" + WEB_ROOT="${WEB_DIR}/live" + WEB_VHOST="home.of.${WEB_DOMAIN}" WEB_CONTEXT='/' else WEB_ROOT="${WEB_DIR}/preview" - WEB_HOST="preview.${WEB_DOMAIN}" + WEB_VHOST="preview.of.${WEB_DOMAIN}" WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/' fi # Save those variabes in the environment for the next steps echo "WEB_HOST=${WEB_HOST}" >> $GITHUB_ENV + echo "WEB_VHOST=${WEB_VHOST}" >> $GITHUB_ENV echo "WEB_CONTEXT=${WEB_CONTEXT}" >> $GITHUB_ENV # Prepare ssh key echo "${{ secrets.WWW_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 @@ -74,7 +76,7 @@ jobs: # Synchronize the local and the remote site rsync -halvi --delete \ -e "ssh -a -x -o StrictHostKeyChecking=no" \ - ./_site/ "${WEB_USER}@${WEB_DOMAIN}:${WEB_ROOT}${WEB_CONTEXT}" + ./_site/ "${WEB_USER}@${WEB_HOST}:${WEB_ROOT}${WEB_CONTEXT}" - name: Comment pull request id: comment_pull_request if: ${{ always() && gitea.event_name == 'pull_request' }} @@ -85,7 +87,7 @@ jobs: "imageOutcome": "${{ steps.build_image.outcome }}", "buildOutcome": "${{ steps.build_site.outcome }}", "deployOutcome": "${{ steps.deploy_site.outcome }}", - "deployWebHost": "${{ env.WEB_HOST }}", + "deployWebHost": "${{ env.WEB_VHOST }}", "deployWebContext": "${{ env.WEB_CONTEXT }}", "gitActor": "${{ gitea.actor }}", "gitEventName": "${{ gitea.event_name }}", diff --git a/.gitea/workflows/jekyll_cleanup.yml b/.gitea/workflows/jekyll_cleanup.yml index b69ad1f..ebbded7 100644 --- a/.gitea/workflows/jekyll_cleanup.yml +++ b/.gitea/workflows/jekyll_cleanup.yml @@ -6,7 +6,7 @@ on: types: [ closed ] env: - WEB_DOMAIN: lafs.eval.latfa.net + WEB_HOST: webforge.of.tahoe-lafs.org WEB_USER: www WEB_ROOT: /var/www/preview WEB_CONTEXT: "/${{ gitea.event.pull_request.number }}/" @@ -32,4 +32,4 @@ jobs: chmod 600 ~/.ssh/id_ed25519 # Delete preview context from the remote site echo -e "set sftp:connect-program ssh -a -x -o StrictHostKeyChecking=no; rm -r -f ${WEB_ROOT}${WEB_CONTEXT}\nbye" \ - | lftp sftp://${WEB_USER}:unused@${WEB_DOMAIN} + | lftp sftp://${WEB_USER}:unused@${WEB_HOST} -- 2.47.2 From 45b311c63899cdea510c8751d03c0f2d701ac5cf Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Wed, 13 Aug 2025 18:16:20 +0200 Subject: [PATCH 5/9] Rename Gitea to Forgejo Signed-off-by: Benoit Donneaux --- {.gitea => .forgejo}/pr-commenter.yml | 0 {.gitea => .forgejo}/workflows/jekyll.yaml | 24 +++++++++---------- .../workflows/jekyll_cleanup.yml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) rename {.gitea => .forgejo}/pr-commenter.yml (100%) rename {.gitea => .forgejo}/workflows/jekyll.yaml (80%) rename {.gitea => .forgejo}/workflows/jekyll_cleanup.yml (94%) diff --git a/.gitea/pr-commenter.yml b/.forgejo/pr-commenter.yml similarity index 100% rename from .gitea/pr-commenter.yml rename to .forgejo/pr-commenter.yml diff --git a/.gitea/workflows/jekyll.yaml b/.forgejo/workflows/jekyll.yaml similarity index 80% rename from .gitea/workflows/jekyll.yaml rename to .forgejo/workflows/jekyll.yaml index b7e87f0..9ec32f6 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.forgejo/workflows/jekyll.yaml @@ -47,9 +47,9 @@ jobs: id: build_site run: | # Overwrite the baseurl for preview only - if [ "${{ gitea.event_name }}" = 'pull_request' ]; then - echo "Overwriting baseurl for pull_request ${{ gitea.event.pull_request.number }}" - sed -i -r -e 's/^baseurl:\s*"([^"]*)"/baseurl: "\1\/${{ gitea.event.pull_request.number }}"/' _config.yml + if [ "${{ forge.event_name }}" = 'pull_request' ]; then + echo "Overwriting baseurl for pull_request ${{ forge.event.pull_request.number }}" + sed -i -r -e 's/^baseurl:\s*"([^"]*)"/baseurl: "\1\/${{ forge.event.pull_request.number }}"/' _config.yml grep "^baseurl:" _config.yml fi docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \ @@ -57,14 +57,14 @@ jobs: - name: Deploy Jekyll site id: deploy_site run: | - if [ "${{ gitea.ref }}" = 'refs/heads/main' ]; then + if [ "${{ forge.ref }}" = 'refs/heads/main' ]; then WEB_ROOT="${WEB_DIR}/live" WEB_VHOST="home.of.${WEB_DOMAIN}" WEB_CONTEXT='/' else WEB_ROOT="${WEB_DIR}/preview" WEB_VHOST="preview.of.${WEB_DOMAIN}" - WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/' + WEB_CONTEXT='/${{ forge.event.pull_request.number }}/' fi # Save those variabes in the environment for the next steps echo "WEB_HOST=${WEB_HOST}" >> $GITHUB_ENV @@ -79,7 +79,7 @@ jobs: ./_site/ "${WEB_USER}@${WEB_HOST}:${WEB_ROOT}${WEB_CONTEXT}" - name: Comment pull request id: comment_pull_request - if: ${{ always() && gitea.event_name == 'pull_request' }} + if: ${{ always() && forge.event_name == 'pull_request' }} uses: https://github.com/exercism/pr-commenter-action@v1.5.1 with: template-variables: | @@ -89,10 +89,10 @@ jobs: "deployOutcome": "${{ steps.deploy_site.outcome }}", "deployWebHost": "${{ env.WEB_VHOST }}", "deployWebContext": "${{ env.WEB_CONTEXT }}", - "gitActor": "${{ gitea.actor }}", - "gitEventName": "${{ gitea.event_name }}", - "gitWorkflow": "${{ gitea.workflow }}", - "gitRunNumber": "${{ gitea.run_number }}", - "gitRunAttempt": "${{ gitea.run_attempt }}" + "gitActor": "${{ forge.actor }}", + "gitEventName": "${{ forge.event_name }}", + "gitWorkflow": "${{ forge.workflow }}", + "gitRunNumber": "${{ forge.run_number }}", + "gitRunAttempt": "${{ forge.run_attempt }}" } - config-file: ".gitea/pr-commenter.yml" + config-file: ".forgejo/pr-commenter.yml" diff --git a/.gitea/workflows/jekyll_cleanup.yml b/.forgejo/workflows/jekyll_cleanup.yml similarity index 94% rename from .gitea/workflows/jekyll_cleanup.yml rename to .forgejo/workflows/jekyll_cleanup.yml index ebbded7..5461df6 100644 --- a/.gitea/workflows/jekyll_cleanup.yml +++ b/.forgejo/workflows/jekyll_cleanup.yml @@ -9,7 +9,7 @@ env: WEB_HOST: webforge.of.tahoe-lafs.org WEB_USER: www WEB_ROOT: /var/www/preview - WEB_CONTEXT: "/${{ gitea.event.pull_request.number }}/" + WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/" jobs: jekyll_cleanup: runs-on: ubuntu-22.04 -- 2.47.2 From f4b297156754db5cf959dbb225d6ce334b59cb1a Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Wed, 13 Aug 2025 19:56:26 +0200 Subject: [PATCH 6/9] Adapt the URL in the content to match prod Signed-off-by: Benoit Donneaux --- src/_data/navigation.yml | 2 +- src/_posts/2024-05-29-new-landing-page.md | 8 +++----- src/index.html | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/_data/navigation.yml b/src/_data/navigation.yml index e9d26a2..de78894 100644 --- a/src/_data/navigation.yml +++ b/src/_data/navigation.yml @@ -10,4 +10,4 @@ main: - title: "About" url: "#about" - title: "Fork me" - url: "https://code.lafs.eval.latfa.net/tahoe-lafs/web-landing-page/" + url: "https://forge.of.tahoe-lafs.org/tahoe-lafs/web-landing-page/" diff --git a/src/_posts/2024-05-29-new-landing-page.md b/src/_posts/2024-05-29-new-landing-page.md index b4bc1d8..a38b1e5 100644 --- a/src/_posts/2024-05-29-new-landing-page.md +++ b/src/_posts/2024-05-29-new-landing-page.md @@ -9,14 +9,12 @@ gallery: - image_path: /assets/images/posts/old-landing-page.png alt: "original" --- -We're happy to announce that the migration of the [original][old] landing page to this one has been completed. +We're happy to announce that the migration from the [trac][old] landing page (see below) to the [jekyll][new] one has been completed. Help us to contribute to it using this [repository][repo]. -Goodbye Trac... - {% include gallery %} [old]: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/WikiStart -[new]: https://www.lafs.eval.latfa.net/ -[repo]: https://code.lafs.eval.latfa.net/tahoe-lafs/web-landing-page/ +[new]: https://home.of.tahoe-lafs.org/ +[repo]: https://forge.of.tahoe-lafs.org/tahoe-lafs/web-landing-page/ diff --git a/src/index.html b/src/index.html index 0974f32..ff89c36 100644 --- a/src/index.html +++ b/src/index.html @@ -55,8 +55,8 @@ contribute_list: alt: "issues" title: "Issues" excerpt: '
    -
  • Visit the issue tracker
  • -
  • Register an account to interact
  • +
  • Visit the issue tracker
  • +
' - image_path: /assets/images/code.svg alt: "code" -- 2.47.2 From c56dec68084e477542c622d264a83f8aa9b25bb6 Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Wed, 13 Aug 2025 20:23:52 +0200 Subject: [PATCH 7/9] Add missing post for last tahoe-lafs release Signed-off-by: Benoit Donneaux --- src/_posts/2024-12-19-release-v1.20.0.md | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/_posts/2024-12-19-release-v1.20.0.md diff --git a/src/_posts/2024-12-19-release-v1.20.0.md b/src/_posts/2024-12-19-release-v1.20.0.md new file mode 100644 index 0000000..3989888 --- /dev/null +++ b/src/_posts/2024-12-19-release-v1.20.0.md @@ -0,0 +1,42 @@ +--- +layout: single +title: "v1.20.0 is released" +date: 2024-12-19 05:48:54 +0000 +excerpt: "ANNOUNCING Tahoe, the Least-Authority File Store, v1.20.0" +header: + teaser: /assets/images/posts/release.jpg +--- +The Tahoe-LAFS team is pleased to announce version 1.20.0 of +Tahoe-LAFS, an extremely reliable decentralized storage +system. Get it with "pip install tahoe-lafs", or download a +tarball here: + + [https://tahoe-lafs.org/downloads][download] + +Tahoe-LAFS is the first distributed storage system to offer +"provider-independent security" — meaning that not even the +operators of your storage servers can read or alter your data +without your consent. Here is the one-page explanation of its +unique security and fault-tolerance properties: + + [https://tahoe-lafs.readthedocs.org/en/latest/about.html][about] + +The previous stable release of Tahoe-LAFS was v1.19.0, released on +January 18, 2024. Major new features and changes in this release: + +Declarative build system based on "hatch". +The ability to creat mutable directories with a given private-key. + +Pulled in fixes from CBOR, stopped using the C version of CBOR and +fixed incompatibilities with attrs and cryptography libraries. + +Besides all this there have been dozens of other bug-fixes and +improvements. + +Enjoy! + +[Read the full announcement][more] + +[download]: https://tahoe-lafs.org/downloads +[about]: https://tahoe-lafs.readthedocs.org/en/latest/about.html +[more]: https://lists.tahoe-lafs.org/pipermail/tahoe-dev/2024-December/010111.html -- 2.47.2 From 7956f78db3106ce9d08722f15d3a1961a37480e9 Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Wed, 13 Aug 2025 20:24:28 +0200 Subject: [PATCH 8/9] Bump the migration date for the web-landing-page Signed-off-by: Benoit Donneaux --- ...05-29-new-landing-page.md => 2025-08-13-new-landing-page.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/_posts/{2024-05-29-new-landing-page.md => 2025-08-13-new-landing-page.md} (94%) diff --git a/src/_posts/2024-05-29-new-landing-page.md b/src/_posts/2025-08-13-new-landing-page.md similarity index 94% rename from src/_posts/2024-05-29-new-landing-page.md rename to src/_posts/2025-08-13-new-landing-page.md index a38b1e5..8a923cd 100644 --- a/src/_posts/2024-05-29-new-landing-page.md +++ b/src/_posts/2025-08-13-new-landing-page.md @@ -1,7 +1,7 @@ --- layout: single title: "New landing page" -date: 2024-05-29 21:47:57 +0200 +date: 2025-08-13 18:23:00 +0200 excerpt: "The old Tahoe-LAFS landing page is gone!" header: teaser: /assets/images/posts/old-landing-page-teaser.png -- 2.47.2 From ac99f1b0e4ac2c422d80d7ea1cc85c7df9a39756 Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Wed, 13 Aug 2025 20:29:32 +0200 Subject: [PATCH 9/9] Remove post about older release of tahoe-lafs Signed-off-by: Benoit Donneaux --- src/_posts/2022-10-03-release-v1.18.0.md | 37 ------------------------ 1 file changed, 37 deletions(-) delete mode 100644 src/_posts/2022-10-03-release-v1.18.0.md diff --git a/src/_posts/2022-10-03-release-v1.18.0.md b/src/_posts/2022-10-03-release-v1.18.0.md deleted file mode 100644 index 19a42ec..0000000 --- a/src/_posts/2022-10-03-release-v1.18.0.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -layout: single -title: "v1.18.0 is released" -date: 2022-10-03 16:17:57 +0000 -excerpt: "ANNOUNCING Tahoe, the Least-Authority File Store, v1.18.0" -header: - teaser: /assets/images/posts/release.jpg ---- -ANNOUNCING Tahoe, the Least-Authority File Store, v1.18.0 - -The Tahoe-LAFS team is pleased to announce version 1.18.0 of -Tahoe-LAFS, an extremely reliable decentralized storage -system. Get it with "pip install tahoe-lafs", or download a -tarball here: - - [https://tahoe-lafs.org/downloads][download] - -Tahoe-LAFS is the first distributed storage system to offer -"provider-independent security" — meaning that not even the -operators of your storage servers can read or alter your data -without your consent. Here is the one-page explanation of its -unique security and fault-tolerance properties: - - [https://tahoe-lafs.readthedocs.org/en/latest/about.html][about] - -The previous stable release of Tahoe-LAFS was v1.17.1, released on -January 7, 2022. - -This release drops support for Python 2 and for Python 3.6 and earlier. -twistd.pid is no longer used (in favour of one with pid + process creation time). -A collection of minor bugs and issues were also fixed. - -[Read the full announcement][more] - -[download]: https://tahoe-lafs.org/downloads -[about]: https://tahoe-lafs.readthedocs.org/en/latest/about.html -[more]: https://lists.tahoe-lafs.org/pipermail/tahoe-dev/2022-October/010043.html -- 2.47.2