Compare commits

..

No commits in common. "main" and "12.rework-about" have entirely different histories.

8 changed files with 71 additions and 78 deletions

View file

@ -8,9 +8,8 @@ on:
env: env:
_UID: 1000 _UID: 1000
_GID: 1000 _GID: 1000
WEB_DOMAIN: tahoe-lafs.org WEB_DOMAIN: lafs.eval.latfa.net
WEB_HOST: webforge.of.tahoe-lafs.org WEB_USER: www
WEB_USER: bot-www
WEB_DIR: /var/www WEB_DIR: /var/www
jobs: jobs:
jekyll: jekyll:
@ -19,7 +18,6 @@ jobs:
- name: Check out repository - name: Check out repository
id: checkout id: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
github-server-url: 'https://forge.of.tahoe-lafs.org/'
- name: Change file ownership - name: Change file ownership
id: file_ownership id: file_ownership
run: | run: |
@ -46,10 +44,10 @@ jobs:
- name: Build Jekyll site - name: Build Jekyll site
id: build_site id: build_site
run: | run: |
# Overwrite the baseurl for preview only # Overwrite the baseurl for previewonly
if [ "${{ forge.event_name }}" = 'pull_request' ]; then if [ "${{ gitea.event_name }}" = 'pull_request' ]; then
echo "Overwriting baseurl for pull_request ${{ forge.event.pull_request.number }}" echo "Overwriting baseurl for pull_request ${{ gitea.event.pull_request.number }}"
sed -i -r -e 's/^baseurl:\s*"([^"]*)"/baseurl: "\1\/${{ forge.event.pull_request.number }}"/' _config.yml sed -i -r -e 's/^baseurl:\s*"([^"]*)"/baseurl: "\1\/${{ gitea.event.pull_request.number }}"/' _config.yml
grep "^baseurl:" _config.yml grep "^baseurl:" _config.yml
fi fi
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \ docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \
@ -57,18 +55,17 @@ jobs:
- name: Deploy Jekyll site - name: Deploy Jekyll site
id: deploy_site id: deploy_site
run: | run: |
if [ "${{ forge.ref }}" = 'refs/heads/main' ]; then if [ "${{ gitea.ref }}" = 'refs/heads/main' ]; then
WEB_ROOT="${WEB_DIR}/live" WEB_ROOT="${WEB_DIR}/site"
WEB_VHOST="home.of.${WEB_DOMAIN}" WEB_HOST="www.${WEB_DOMAIN}"
WEB_CONTEXT='/' WEB_CONTEXT='/'
else else
WEB_ROOT="${WEB_DIR}/preview" WEB_ROOT="${WEB_DIR}/preview"
WEB_VHOST="preview.of.${WEB_DOMAIN}" WEB_HOST="preview.${WEB_DOMAIN}"
WEB_CONTEXT='/${{ forge.event.pull_request.number }}/' WEB_CONTEXT='/${{ gitea.event.pull_request.number }}/'
fi fi
# Save those variabes in the environment for the next steps # Save those variabes in the environment for the next steps
echo "WEB_HOST=${WEB_HOST}" >> $GITHUB_ENV echo "WEB_HOST=${WEB_HOST}" >> $GITHUB_ENV
echo "WEB_VHOST=${WEB_VHOST}" >> $GITHUB_ENV
echo "WEB_CONTEXT=${WEB_CONTEXT}" >> $GITHUB_ENV echo "WEB_CONTEXT=${WEB_CONTEXT}" >> $GITHUB_ENV
# Prepare ssh key # Prepare ssh key
echo "${{ secrets.WWW_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 echo "${{ secrets.WWW_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
@ -76,23 +73,23 @@ jobs:
# Synchronize the local and the remote site # Synchronize the local and the remote site
rsync -halvi --delete \ rsync -halvi --delete \
-e "ssh -a -x -o StrictHostKeyChecking=no" \ -e "ssh -a -x -o StrictHostKeyChecking=no" \
./_site/ "${WEB_USER}@${WEB_HOST}:${WEB_ROOT}${WEB_CONTEXT}" ./_site/ "${WEB_USER}@${WEB_DOMAIN}:${WEB_ROOT}${WEB_CONTEXT}"
- name: Comment pull request - name: Comment pull request
id: comment_pull_request id: comment_pull_request
if: ${{ always() && forge.event_name == 'pull_request' }} if: ${{ always() && gitea.event_name == 'pull_request' }}
uses: https://github.com/exercism/pr-commenter-action@v1.5.1 uses: exercism/pr-commenter-action@v1.5.1
with: with:
template-variables: | template-variables: |
{ {
"imageOutcome": "${{ steps.build_image.outcome }}", "imageOutcome": "${{ steps.build_image.outcome }}",
"buildOutcome": "${{ steps.build_site.outcome }}", "buildOutcome": "${{ steps.build_site.outcome }}",
"deployOutcome": "${{ steps.deploy_site.outcome }}", "deployOutcome": "${{ steps.deploy_site.outcome }}",
"deployWebHost": "${{ env.WEB_VHOST }}", "deployWebHost": "${{ env.WEB_HOST }}",
"deployWebContext": "${{ env.WEB_CONTEXT }}", "deployWebContext": "${{ env.WEB_CONTEXT }}",
"gitActor": "${{ forge.actor }}", "gitActor": "${{ gitea.actor }}",
"gitEventName": "${{ forge.event_name }}", "gitEventName": "${{ gitea.event_name }}",
"gitWorkflow": "${{ forge.workflow }}", "gitWorkflow": "${{ gitea.workflow }}",
"gitRunNumber": "${{ forge.run_number }}", "gitRunNumber": "${{ gitea.run_number }}",
"gitRunAttempt": "${{ forge.run_attempt }}" "gitRunAttempt": "${{ gitea.run_attempt }}"
} }
config-file: ".forgejo/pr-commenter.yml" config-file: ".gitea/pr-commenter.yml"

View file

@ -6,15 +6,15 @@ on:
types: [ closed ] types: [ closed ]
env: env:
WEB_HOST: webforge.of.tahoe-lafs.org WEB_DOMAIN: lafs.eval.latfa.net
WEB_USER: bot-www WEB_USER: www
WEB_ROOT: /var/www/preview WEB_ROOT: /var/www/preview
WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/" WEB_CONTEXT: "/${{ gitea.event.pull_request.number }}/"
jobs: jobs:
jekyll_cleanup: jekyll_cleanup:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
pull-requests: read pull-requests: write
actions: read actions: read
contents: read contents: read
steps: steps:
@ -32,4 +32,4 @@ jobs:
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
# Delete preview context from the remote site # 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" \ 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_HOST} | lftp sftp://${WEB_USER}:unused@${WEB_DOMAIN}

View file

@ -10,4 +10,4 @@ main:
- title: "About" - title: "About"
url: "#about" url: "#about"
- title: "Fork me" - title: "Fork me"
url: "https://forge.of.tahoe-lafs.org/tahoe-lafs/web-landing-page/" url: "https://code.lafs.eval.latfa.net/tahoe-lafs/web-landing-page/"

View file

@ -1,12 +1,14 @@
--- ---
layout: single layout: single
title: "v1.20.0 is released" title: "v1.18.0 is released"
date: 2024-12-19 05:48:54 +0000 date: 2022-10-03 16:17:57 +0000
excerpt: "ANNOUNCING Tahoe, the Least-Authority File Store, v1.20.0" excerpt: "ANNOUNCING Tahoe, the Least-Authority File Store, v1.18.0"
header: header:
teaser: /assets/images/posts/release.jpg teaser: /assets/images/posts/release.jpg
--- ---
The Tahoe-LAFS team is pleased to announce version 1.20.0 of 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 Tahoe-LAFS, an extremely reliable decentralized storage
system. Get it with "pip install tahoe-lafs", or download a system. Get it with "pip install tahoe-lafs", or download a
tarball here: tarball here:
@ -21,22 +23,15 @@ unique security and fault-tolerance properties:
[https://tahoe-lafs.readthedocs.org/en/latest/about.html][about] [https://tahoe-lafs.readthedocs.org/en/latest/about.html][about]
The previous stable release of Tahoe-LAFS was v1.19.0, released on The previous stable release of Tahoe-LAFS was v1.17.1, released on
January 18, 2024. Major new features and changes in this release: January 7, 2022.
Declarative build system based on "hatch". This release drops support for Python 2 and for Python 3.6 and earlier.
The ability to creat mutable directories with a given private-key. 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.
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] [Read the full announcement][more]
[download]: https://tahoe-lafs.org/downloads [download]: https://tahoe-lafs.org/downloads
[about]: https://tahoe-lafs.readthedocs.org/en/latest/about.html [about]: https://tahoe-lafs.readthedocs.org/en/latest/about.html
[more]: https://lists.tahoe-lafs.org/pipermail/tahoe-dev/2024-December/010111.html [more]: https://lists.tahoe-lafs.org/pipermail/tahoe-dev/2022-October/010043.html

View file

@ -1,7 +1,7 @@
--- ---
layout: single layout: single
title: "New landing page" title: "New landing page"
date: 2025-08-13 18:23:00 +0200 date: 2024-05-29 21:47:57 +0200
excerpt: "The old Tahoe-LAFS landing page is gone!" excerpt: "The old Tahoe-LAFS landing page is gone!"
header: header:
teaser: /assets/images/posts/old-landing-page-teaser.png teaser: /assets/images/posts/old-landing-page-teaser.png
@ -9,12 +9,14 @@ gallery:
- image_path: /assets/images/posts/old-landing-page.png - image_path: /assets/images/posts/old-landing-page.png
alt: "original" alt: "original"
--- ---
We're happy to announce that the migration from the [trac][old] landing page (see below) to the [jekyll][new] one has been completed. We're happy to announce that the migration of the [original][old] landing page to this one has been completed.
Help us to contribute to it using this [repository][repo]. Help us to contribute to it using this [repository][repo].
Goodbye Trac...
{% include gallery %} {% include gallery %}
[old]: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/WikiStart [old]: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/WikiStart
[new]: https://home.of.tahoe-lafs.org/ [new]: https://www.lafs.eval.latfa.net/
[repo]: https://forge.of.tahoe-lafs.org/tahoe-lafs/web-landing-page/ [repo]: https://code.lafs.eval.latfa.net/tahoe-lafs/web-landing-page/

View file

@ -1,3 +1,7 @@
body {
font-family: system-ui;
}
.page__hero--overlay { .page__hero--overlay {
padding: 1em; padding: 1em;
} }
@ -85,6 +89,11 @@
border-radius: 20px; border-radius: 20px;
} }
.feature__item .btn {
background-color: #0075a2;
color: #fff;
}
.feature__item .btn:hover { .feature__item .btn:hover {
background-color: #777; background-color: #777;
color: #fff; color: #fff;
@ -142,13 +151,8 @@
background-color: #fff; background-color: #fff;
} }
#about .feature__wrapper .btn { #about .feature__item .archive__item-title {
background-color: #0075a2; padding-top: 0.5em;
color: #fff;
}
#about .archive__item-title {
margin-top: 0.5em;
} }
.feature__item--center { .feature__item--center {

View file

@ -1,5 +1,5 @@
--- ---
title: "Welcome to <i>The</i> Least-Authority File Store" title: "Welcome <i>The</i> Least-Authority File Store"
layout: splash layout: splash
author_profile: false author_profile: false
header: header:
@ -19,26 +19,23 @@ documentation_list:
- image_path: /assets/images/overview.svg - image_path: /assets/images/overview.svg
alt: "overview" alt: "overview"
title: "Overview" title: "Overview"
excerpt: >- excerpt: '
<center> This [one-page summary](https://tahoe-lafs.readthedocs.io/en/latest/about-tahoe.html) explains the unique properties of this system
<a href="https://tahoe-lafs.readthedocs.io/en/latest/about-tahoe.html">One-page summary</a> '
</center>
- image_path: /assets/images/manual.svg - image_path: /assets/images/manual.svg
alt: "manual" alt: "manual"
title: "Manual" title: "Manual"
excerpt: >- excerpt: '<ul>
<center> <li><a href="https://tahoe-lafs.readthedocs.io/en/latest/Installation/install-tahoe.html">Installation Instructions</a></li>
<p><a href="https://tahoe-lafs.readthedocs.io/en/latest/Installation/install-tahoe.html">Installation Instructions</a></p> <li><a href="http://tahoe-lafs.readthedocs.org/">Tahoe-LAFS Manual</a></li>
<p><a href="http://tahoe-lafs.readthedocs.org/">Tahoe-LAFS Manual</a></p> </ul>'
</center>
- image_path: /assets/images/wiki.svg - image_path: /assets/images/wiki.svg
alt: "wiki" alt: "wiki"
title: "Wiki" title: "Wiki"
excerpt: >- excerpt: '<ul>
<center> <li><a href="https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Doc">Index of docs</a></li>
<p><a href="https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Doc">Index of docs</a></p> <li><a href="https://tahoe-lafs.org/trac/tahoe-lafs/wiki/FAQ">Frequently Asked Questions</a></li>
<p><a href="https://tahoe-lafs.org/trac/tahoe-lafs/wiki/FAQ">Frequently Asked Questions</a></p> </ul>'
</center>
contribute: contribute:
- title: "Contribute" - title: "Contribute"
excerpt: "" excerpt: ""
@ -55,8 +52,8 @@ contribute_list:
alt: "issues" alt: "issues"
title: "Issues" title: "Issues"
excerpt: '<ul> excerpt: '<ul>
<li>Visit the <a href="https://tahoe-lafs.org/trac/tahoe-lafs"><b>issue</b></a> tracker</li> <li>Visit the <a href="https://code.lafs.eval.latfa.net/tahoe-lafs/trac/issues"><b>issue</b></a> tracker</li>
<!--<li>Register an <a href="https://forge.of.tahoe-lafs.org/user/sign_up"><b>account</b></a> to interact</li>--> <li>Register an <a href="https://code.lafs.eval.latfa.net/user/sign_up"><b>account</b></a> to interact</li>
</ul>' </ul>'
- image_path: /assets/images/code.svg - image_path: /assets/images/code.svg
alt: "code" alt: "code"
@ -77,8 +74,6 @@ about:
and maintained by a group of hardy volunteers. and maintained by a group of hardy volunteers.
We are grateful for their energy, expertise, and support. We are grateful for their energy, expertise, and support.
Check out some of the main contributors to this project! Check out some of the main contributors to this project!
url: "https://tahoe-lafs.org/trac/tahoe-lafs/wiki/AboutUs"
btn_label: "Our Contributors"
--- ---
<div id="documentation"> <div id="documentation">
{% include feature_row id="documentation" type="center" %} {% include feature_row id="documentation" type="center" %}
@ -108,7 +103,7 @@ about:
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
<br/><br/><br/> <br/><br/>
<div id="about"> <div id="about">
{% include feature_row id="about" type="left" %} {% include feature_row id="about" type="left" %}
</div> </div>