Compare commits

..

3 commits

Author SHA1 Message Date
Benoit Donneaux f055e986a8 Point to existing Trac and IRC to register vi webchat
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2025-05-07 11:20:45 +02:00
Benoit Donneaux 8a7c308350 Merge remote-tracking branch 'eval/main' into 12.rework-contribute 2025-05-07 11:10:59 +02:00
Benoit Donneaux b334b52a0a Rework the contribute section to match the mock-up
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2025-05-07 10:21:24 +02:00
9 changed files with 96 additions and 55 deletions

View file

@ -8,9 +8,8 @@ on:
env:
_UID: 1000
_GID: 1000
WEB_DOMAIN: tahoe-lafs.org
WEB_HOST: webforge.of.tahoe-lafs.org
WEB_USER: bot-www
WEB_DOMAIN: lafs.eval.latfa.net
WEB_USER: www
WEB_DIR: /var/www
jobs:
jekyll:
@ -19,7 +18,6 @@ jobs:
- name: Check out repository
id: checkout
uses: actions/checkout@v4
github-server-url: 'https://forge.of.tahoe-lafs.org/'
- name: Change file ownership
id: file_ownership
run: |
@ -46,10 +44,10 @@ jobs:
- name: Build Jekyll site
id: build_site
run: |
# Overwrite the baseurl for preview only
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
# Overwrite the baseurl for previewonly
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
grep "^baseurl:" _config.yml
fi
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \
@ -57,18 +55,17 @@ jobs:
- name: Deploy Jekyll site
id: deploy_site
run: |
if [ "${{ forge.ref }}" = 'refs/heads/main' ]; then
WEB_ROOT="${WEB_DIR}/live"
WEB_VHOST="home.of.${WEB_DOMAIN}"
if [ "${{ gitea.ref }}" = 'refs/heads/main' ]; then
WEB_ROOT="${WEB_DIR}/site"
WEB_HOST="www.${WEB_DOMAIN}"
WEB_CONTEXT='/'
else
WEB_ROOT="${WEB_DIR}/preview"
WEB_VHOST="preview.of.${WEB_DOMAIN}"
WEB_CONTEXT='/${{ forge.event.pull_request.number }}/'
WEB_HOST="preview.${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
@ -76,23 +73,23 @@ jobs:
# Synchronize the local and the remote site
rsync -halvi --delete \
-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
id: comment_pull_request
if: ${{ always() && forge.event_name == 'pull_request' }}
uses: https://github.com/exercism/pr-commenter-action@v1.5.1
if: ${{ always() && gitea.event_name == 'pull_request' }}
uses: exercism/pr-commenter-action@v1.5.1
with:
template-variables: |
{
"imageOutcome": "${{ steps.build_image.outcome }}",
"buildOutcome": "${{ steps.build_site.outcome }}",
"deployOutcome": "${{ steps.deploy_site.outcome }}",
"deployWebHost": "${{ env.WEB_VHOST }}",
"deployWebHost": "${{ env.WEB_HOST }}",
"deployWebContext": "${{ env.WEB_CONTEXT }}",
"gitActor": "${{ forge.actor }}",
"gitEventName": "${{ forge.event_name }}",
"gitWorkflow": "${{ forge.workflow }}",
"gitRunNumber": "${{ forge.run_number }}",
"gitRunAttempt": "${{ forge.run_attempt }}"
"gitActor": "${{ gitea.actor }}",
"gitEventName": "${{ gitea.event_name }}",
"gitWorkflow": "${{ gitea.workflow }}",
"gitRunNumber": "${{ gitea.run_number }}",
"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 ]
env:
WEB_HOST: webforge.of.tahoe-lafs.org
WEB_USER: bot-www
WEB_DOMAIN: lafs.eval.latfa.net
WEB_USER: www
WEB_ROOT: /var/www/preview
WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/"
WEB_CONTEXT: "/${{ gitea.event.pull_request.number }}/"
jobs:
jekyll_cleanup:
runs-on: ubuntu-22.04
permissions:
pull-requests: read
pull-requests: write
actions: read
contents: read
steps:
@ -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_HOST}
| lftp sftp://${WEB_USER}:unused@${WEB_DOMAIN}

View file

@ -10,4 +10,4 @@ main:
- title: "About"
url: "#about"
- 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
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"
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
---
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
system. Get it with "pip install tahoe-lafs", or download a
tarball here:
@ -21,22 +23,15 @@ 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:
The previous stable release of Tahoe-LAFS was v1.17.1, released on
January 7, 2022.
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!
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/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
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!"
header:
teaser: /assets/images/posts/old-landing-page-teaser.png
@ -9,12 +9,14 @@ gallery:
- image_path: /assets/images/posts/old-landing-page.png
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].
Goodbye Trac...
{% include gallery %}
[old]: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/WikiStart
[new]: https://home.of.tahoe-lafs.org/
[repo]: https://forge.of.tahoe-lafs.org/tahoe-lafs/web-landing-page/
[new]: https://www.lafs.eval.latfa.net/
[repo]: https://code.lafs.eval.latfa.net/tahoe-lafs/web-landing-page/

View file

@ -96,6 +96,13 @@
margin-bottom: auto;
}
#contribute .feature__item {
@media (min-width: 37.5em) {
width: 45%;
margin-inline-start: 3.3%;
}
}
#blog {
margin-top: 2em;
background-color: #eee;

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60">
<defs>
<style>
.cls-1 {
fill: #0075a2;
}
.cls-1, .cls-2, .cls-3 {
fill-rule: evenodd;
stroke-width: 0px;
}
.cls-2 {
fill: #101820;
}
.cls-3 {
fill: #f7b538;
}
</style>
</defs>
<path class="cls-1" d="M11.131,26.076l-5.524-1.035c-.595-.11-1.173.253-1.293.812L.021,46.11c-.117.559.269,1.103.863,1.215l5.524,1.035c.595.11,1.173-.253,1.293-.812l4.293-20.257c.117-.559-.269-1.103-.864-1.216h0Z"/>
<path class="cls-3" d="M19.972,33.664l2.115,9.11c4.222-1.439,4.192-4.827,4.575-8.452.117-1.046.902-1.722,2.024-1.799,1.88-.129,5.025,1.789,6.225,3.046l13.542,12.916,1.608-1.512-3.724-17.572c-1.354.253-2.74.309-4.112.168-2.629-.279-5.464-1.347-8.541-3.733-1.528-1.185-3.576-1.377-5.127-.159l-7.757,6.089c-.626.491-1.006,1.137-.83,1.898h0Z"/>
<path class="cls-1" d="M13.964,27.966h8.452l-2.943,2.31c-1.204.945-1.869,2.322-1.526,3.8l2.353,10.137c.121.526.673.859,1.232.745.031-.006.062-.014.092-.023,6.255-1.476,6.621-5.382,7.019-9.631.09-.96.016-1.091,1.302-.609.951.357,2.153,1.091,3.493,2.238l14.156,13.501c.519,1.073.013,2.339-1.129,2.826-.861.368-1.875.195-2.544-.434l-9.843-9.252c-.404-.381-1.061-.381-1.465,0s-.405.997,0,1.378l9.843,9.254c.886.833.886,2.184,0,3.017s-2.324.833-3.21,0l-10.401-9.777c-.392-.392-1.047-.412-1.464-.044-.417.368-.438.984-.047,1.377.015.015.031.03.047.044l7.851,7.38c.886.833.886,2.184,0,3.018s-2.324.833-3.21,0l-8.409-7.904c-.411-.375-1.066-.366-1.465.02-.39.378-.39.979,0,1.357l3.908,3.674c.881.838.873,2.189-.019,3.018-.884.822-2.307.822-3.191,0l-12.96-12.183,4.076-19.235h0Z"/>
<path class="cls-2" d="M11.213,13.23l-1.987-1.868c-.63-.592-.63-1.593,0-2.186l4.084-3.839c.577-.543,1.477-.543,2.055,0l2.122,1.995c2.447-1.536,5.191-2.605,8.076-3.146V1.5c0-.828.672-1.5,1.5-1.5h5.873c.828,0,1.5.672,1.5,1.5v2.685c2.885.541,5.629,1.61,8.076,3.147l2.122-1.995c.577-.543,1.477-.543,2.055,0l4.084,3.839c.63.592.63,1.593,0,2.186l-1.987,1.868c1.634,2.3,2.772,4.879,3.347,7.592h2.452c1.105,0,2,.895,2,2v.907c-.73-.55-1.681-.768-2.598-.597l-5.524,1.035c-1.642.311-2.746,1.767-2.523,3.328-.796.145-1.606.214-2.417.206,1.59-7.021-3.175-13.924-10.643-15.419-7.468-1.495-14.812,2.984-16.402,10.005-.201.889-.303,1.796-.303,2.705,0,.345.014.687.042,1.026h-2.344c-.391-.953-1.273-1.651-2.338-1.852l-5.524-1.035c-.917-.171-1.868.047-2.598.597v-.906c0-1.105.895-2,2-2h2.452c.576-2.712,1.713-5.292,3.347-7.592h0Z"/>
<path class="cls-3" d="M48.869,26.076l5.524-1.035c.595-.11,1.173.253,1.293.812l4.293,20.257c.117.559-.269,1.103-.864,1.215l-5.524,1.035c-.595.11-1.173-.253-1.293-.812l-4.294-20.257c-.117-.56.269-1.103.864-1.216h0Z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -40,23 +40,34 @@ documentation_list:
<p><a href="https://tahoe-lafs.org/trac/tahoe-lafs/wiki/FAQ">Frequently Asked Questions</a></p>
</center>
contribute:
- title: "Contribute"
excerpt: ""
- title: "Get Involved"
excerpt: '
Interested in learning more or wanting to contribute to Tahoe-LAFS?<br/>
There are various ways to get involved!
'
contribute_list:
- image_path: /assets/images/discussions.svg
alt: "discussions"
title: "Discussions"
excerpt: '<ul>
<li>Join <a href="https://lists.tahoe-lafs.org/mailman/listinfo/tahoe-dev" target="_blank">the <b>tahoe-dev</b></a> mailing list</li>
<li>Join the <a href="https://libera.chat/" target="_blank"><b>#tahoe-lafs</b></a> channel on Libera</li>
<li>Join the <a href="https://web.libera.chat/#libera" target="_blank"><b>#tahoe-lafs</b></a> channel on Libera</li>
<li>Meet us on <a href="https://meet.jit.si/AccurateFiltersManipulateBefore" target="blank"><b>Tuesday</b></a> at 17:00 UTC on Jitsi </li>
</ul>'
- image_path: /assets/images/collaborations.svg
alt: "collaborations"
title: "Collaborations"
excerpt: >-
<ul>
<li><a href="https://leastauthority.com/" target="_blank">Least Authority</a> uses and contributes to Tahoe-LAFS</li>
<li>Google, Inc. sponsored Tahoe-LAFS through its Summer of Code program in 2010 and 2013</li>
</ul>
- image_path: /assets/images/issues.svg
alt: "issues"
title: "Issues"
excerpt: '<ul>
<li>Visit the <a href="https://tahoe-lafs.org/trac/tahoe-lafs"><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>Ask for an <b>account</b> on <a href="https://web.libera.chat/#tahoe-lafs">IRC</a> to interact</li>
</ul>'
- image_path: /assets/images/code.svg
alt: "code"
@ -90,6 +101,7 @@ about:
{% include feature_row id="contribute_list" %}
</div>
<br/>
<div id="blog">
{% include feature_row id="blog" type="center" %}
<div class="entries-grid">