aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Finally sign the petition to support NLnet.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I took the occasion of adding our views on NLnet funding as this is probably something that not a lot of people see from the outside. In order to increase the impact of signing the petition, I also wanted to add some background about the strategic importance of the work NLnet is doing and put that in a broader historic context, whose impact go beyond the free software movement. However it took some time as I had some difficulties writing the end of the text in a way that didn't require too much political knowledge, that was not tied to a specific set of countries (even in the European Union, some of the member countries have very different histories) and that also worked accross a wide set of political affiliations. In addition due to various issues from all the people involved (me included), the back and forth between reviews and new versions of the text also took some time. Thanks a lot to to Joonas Kylmälä for the review of the markdown file. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: GUIX_SHELL: remove duplicated -C argument.Denis 'GNUtoo' Carikli2025-06-151-3/+3
| | | | | | | | | | | | Many calls to GUIX_SHELL like 'HAUNT ?= $(GUIX_SHELL) -C' already use the -C argument. This removes duplicated -C by removing it from GUIX_SHELL instead of removing the -C in all the calls as it makes overriding GUIX_SHELL easier, and always having the -C ensure that the host environment doesn't leak in the build process, improving reproducibility. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* markdown: Add blog post about the first online Replicant meeting.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: use guile-next to drop backported patch.Denis 'GNUtoo' Carikli2025-06-151-4/+4
| | | | | | | | | | | | The patch we used was merged in the Guile commit bc2c612b89d3c4e7ef017a417af25b50f92fccee ("SRFI-19: Add support for ISO 8601 zones with a colon."). And Guix, since the commit b1365a032613e7756aca892a7422fda0b26b0627 ("gnu: guile-next: Update to commit 3b76a30."), updated guile-next to use a revision that has the patch we need. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: document 'make serve'.Denis 'GNUtoo' Carikli2025-06-151-1/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: rename deploy target to publish.Denis 'GNUtoo' Carikli2025-06-151-3/+3
| | | | | | Haunt uses 'haunt publish' to deploy a website. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: fix haunt serve.Denis 'GNUtoo' Carikli2025-06-151-3/+3
| | | | | | | | | | | | | | | | | | | We need to tell guix shell to allow network connections otherwise haunt serve doesn't work. In addition running haunt serve directly without haunt build results in a page with the 'Resource not found: /' text on it. And after several refresh we still have the same page. Then at some point after a git commit we can see the following in the terminal: watch: observed write '[...]/haunt-blog/.git/COMMIT_EDITMSG' rebuilding... and it rebuilds the website. So it's better to have the 'serve' target depend on the 'build' target to have the wesite work right away. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Use a less common port.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | When working on multiple websites the same time, having every website using the port 8080 by default isn't very convenient. In addition here we need a number that is somewhat easy to remember and possibly meaningful for each website, so in general that not easy to choose. But since ports over 1024 can usually be used by non-root users, we can also use years. And the book "Do Androids Dream of Electric Sheep?" by Phillip K. Dick was published in 1968. As I remember the name 'Replicant' was found by Bradley Kuhn and comes from both Blade Runner and the fact that we 'Replicate' the Android operating system with fully free software. And since so having a number that is at the same time the year of publication of that book, and also where events probably happened in every place around the world or in people's lives could help remember it. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: add forgetten HAUNT_PORT.Denis 'GNUtoo' Carikli2025-06-151-0/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: tests: run them in parallel.Denis 'GNUtoo' Carikli2025-06-151-1/+12
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Rename convert.py to wordpresshtml2commonmark.py.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | The new name reflects more the goal of this script. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: move scheme code in build/Denis 'GNUtoo' Carikli2025-06-151-39/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: add target to automatically update the articles list.Denis 'GNUtoo' Carikli2025-06-151-2/+25
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: html/markdown: use real make targets.Denis 'GNUtoo' Carikli2025-06-151-41/+130
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: printf: fix number of arguments.Denis 'GNUtoo' Carikli2025-06-151-2/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Update guile patch by backporting merged patch.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | The guile patch was finally merged upstream in the commit bc2c612b89d3c4e7ef017a417af25b50f92fccee ("SRFI-19: Add support for ISO 8601 zones with a colon."). Since the patch changed a bit since the initial version, I backported the upstream commit. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: Document build and deploy targets.Denis 'GNUtoo' Carikli2025-06-151-0/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile, links.txt: sort links to make it more reproducible.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | Without that fix, the order of the links.txt differs, and running 'make links.txt' often changes the order of the lines, making it harder to review any changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: fix outdated markdown target documentation.Denis 'GNUtoo' Carikli2025-06-151-5/+5
| | | | | | | | Since the commit 24ba2134fae77c76af8ab5880e1b21b519ed5941 ("Add generated markdown files."), we now have markdown files in git, so we need to force their recreation with make -B. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add very primitive tests.Denis 'GNUtoo' Carikli2025-06-151-0/+3
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: add output-file argument.Denis 'GNUtoo' Carikli2025-06-151-1/+0
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add Replicant banner.Denis 'GNUtoo' Carikli2025-06-151-1/+26
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: Add deploy target.Denis 'GNUtoo' Carikli2025-06-151-1/+4
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Automatize haunthtml2wordpress.py.Denis 'GNUtoo' Carikli2025-06-151-3/+9
| | | | | | | | Without that, on another computer with Parabola, we end up with a </div> line being printed at the end. So we need a more reliable process and this is done by using guix shell with a fixed revision. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Fix make links.txt.Denis 'GNUtoo' Carikli2025-06-151-10/+10
| | | | | | | This was broken by the commit eb2d282a86f9a1895e091176f0c1fcf4df893fb0 ("Move articles in wordpress/articles."). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: clarify GUIX_CONVERT_PACKAGES variable.Denis 'GNUtoo' Carikli2025-06-151-2/+2
| | | | | | | As the HAUNT variable uses its own package list, renaming GUIX_PACKAGES to GUIX_CONVERT_PACKAGES makes the code more clear. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: cleanup haunt calls.Denis 'GNUtoo' Carikli2025-06-151-10/+6
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove fix-dates.sh manual process.Denis 'GNUtoo' Carikli2025-06-151-0/+8
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: fix help.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | | Since the markdown target depends on the html target and that it is mentioned in the README, it's a good idea to mention it in the Makefile help as well. This was broken since the commit dac22e627f3c716201556537849743387464c73d ("Initial import") which is also the very first commit. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: remove non-determinism.Denis 'GNUtoo' Carikli2025-06-151-5/+4
| | | | | | | | | | | Introducing non-deterministic code paths in the conversion is a bad idea because we want the new blog to be as close as possible. And so if humans verify that the old and new website are similar, to be effective, the verification need to be done on top of a deterministic process. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: CONVERT: Add python-sh.Denis 'GNUtoo' Carikli2025-06-151-1/+5
| | | | | | | | | | | | | | If we run the command mentionned in CONVERT we end up with the following error: $ guix shell -C \ python python-beautifulsoup4 python-html2text \ -- python3 convert.py Traceback (most recent call last): File "[...]/haunt-blog/convert.py", line 34, in <module> import sh ModuleNotFoundError: No module named 'sh' Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Move articles in wordpress/articles.Denis 'GNUtoo' Carikli2024-02-281-7/+12
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Move downloaded html file in their own directory.Denis 'GNUtoo' Carikli2024-02-281-10/+13
| | | | | | | This makes it more clear that these files were downloaded from the Replicant wordpress instance. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add forgetten page.Denis 'GNUtoo' Carikli2024-02-281-0/+1
| | | | | | | | There are actually 8 pages as https://blog.replicant.us/page/8/ has an "Introducing Replicant" article. It also has a link for "Newer posts" but no link for "Older posts". Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Initial importDenis 'GNUtoo' Carikli2023-12-311-0/+108
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>