Craft your forge // Build your project // Grow your community freely
1---
2target: main
3status: review
4reviewers: []
5---
6 7# Want to merge v0.5
8 9Please add description of your work here.
10 11When your changes are ready to be reviewed, change the status from 'status: draft' to 'status: review'.
12 13---
14 15## Push 2 commits
16 17### :memo: article for v0.5
18 19(a76c73a0e2fb4ce4863d92554faa8021a40d14eb)
20 21- ++ [blog/version-0.5.0-cover.png](../blog/version-0.5.0-cover.png)
22- ++ [blog/version-0.5.0.md](../blog/version-0.5.0.md)
23 24### Add user for branch v0.5 (4dab73e0d8ac7789439bf685cac12f1e90195c2a)
25 26- +- [.gitroot/users.yml](../.gitroot/users.yml)
27 28---
29 30## Report **info** from apex
31 32- Render [blog/version-0.5.0-cover.png](https://gitroot.dev/branches/v0.5/blog/version-0.5.0-cover.png)
33- Render [blog/version-0.5.0.md](https://gitroot.dev/branches/v0.5/blog/version-0.5.0.html)
34- Render [.gitroot/users.yml](https://gitroot.dev/branches/v0.5/.gitroot/users.yml)
35 36---
37 38## Report **info** from apex
39 40- Render [grafts/v0.5.md](https://gitroot.dev/branches/v0.5/grafts/v0.5.html)
41 42---
43 44## Report **error** from stigma
45 46Commits are bad signed!
47 48---
49 50Please review changes with:
51 52```shell
53git fetch origin v0.5
54git checkout v0.5
55git diff origin/HEAD..HEAD
56``` 57 58Make your changes about the code inside the code directly (remarks, questions can be made in the form of comments). General remarks on the why can be made here. When done commit and push directly on this branch. Graft plugin will make the diff and display it here.
59 60When then changes are ready to be merged, change the status from 'status: review' to 'status: merge'.
61 62---
63 64## Push 1 commit
65 66### :ok_hand: thx for review
67 (8d45e2210ef92a034a5e3764816a458aa747e97b)
68 69- +- [blog/version-0.5.0.md](../blog/version-0.5.0.md)
70```diff
71--- a/blog/version-0.5.0.md
72+++ b/blog/version-0.5.0.md
73@@ -11,7 +11,7 @@
74 75 # Move slowly, and take care of things
76 77-These days, everything moves too fast. We push AI generated code, and try to industrialize every single line before we even understand it. But with GitRoot, I want to do the exact opposite. I want to take my time, savor every architectural choice, and thoroughly enjoy writing every line of code by hand. It's a project that is deeply close to my heart: a space for freedom far away from the rat race of metrics. So yes, we move at our own pace: `slowly, and take care of things`.
78+These days, everything moves too fast. They push thousands of lines of AI generated code every hour, deploying it without even understanding how it works. But with GitRoot, I want to do the exact opposite. I want to take my time, savor every architectural choice, and thoroughly enjoy writing every line of code by hand. It's a project that is deeply close to my heart: a space for freedom far away from the rat race of metrics. So yes, we move at our own pace: `slowly, and take care of things`.
79 80 > [!NOTE]
81 > Thanks to [lonugem](https://pouet.chapril.org/@lonugem) for the title idea
82@@ -22,7 +22,9 @@
83 84 I'm sorry to say that the first feature I want to talk about is a big breaking one. I know, I know, on the homepage of GitRoot I say "no headaches to upgrade my forge".... but this time you will... If you are not happy, you can contact the support and get a refund for the previous year and a 100% discount for the next one :D
85 86-Joking aside, you need to replace your plugin URL with a purl one. This corresponds to the following change:
87+Joking aside, you need to replace your plugin URL with a PURL one. [ECMA PURL](https://ecma-international.org/publications-and-standards/standards/ecma-427/) is a specification to produce "a standardized URL-based syntax that uniquely identifies software packages".
88+
89+This corresponds to the following change:
90 91 ````diff
92 - url: https://gitroot.dev/releases/0.4.0/ladybug-0.0.4.wasm
93@@ -33,14 +35,14 @@
94 active: true
95 ````
96 97-GitRoot will download `$registry/$scope-$name-$version.wasm`, so it will be `https://gitroot.dev/releases/0.5.0/gitroot-ladybug-0.0.5.wasm` for the example.
98+GitRoot will download `$registry/$scope-$name-$version.wasm`, so it will be `https://gitroot.dev/releases/0.5.0/gitroot-ladybug-0.0.5.wasm` for the example. And then compare the downloaded WASM binary with the checksum provided in the PURL.
99100 > [!WARNING]
101 > Look in the [plugins registry](../plugins/index.md) to find the exact purl for each plugin.
102103 To know why, how and more [read purl details](#purl-breaking-details).
104105-### A lot of people have discoverd GitRoot
106+### A lot of people have discovered GitRoot
107108 First show, first lobste.rs/HN links, first video... Yes, more and more people are talking about GitRoot. [Discover where](#gitroot-communication).
109110@@ -78,27 +80,25 @@
111112 Another example is if someone forks `ladybug` and wants to release it in the [registry](../plugins/index.md). Previously there was no option to do that, so adding a scope seemed to be the best choice.
113114-During my research on a way to model this scope, I found the [PURL](https://github.com/package-url/purl-spec) specification. PURL stands for Package URL (I call them Plugin URL), a way to express many packages as a URL. What a perfect fit for the GitRoot plugin system!
115+During my research on a way to model this scope, I found the [ECMA-427 Package-URL (PURL)](https://ecma-international.org/publications-and-standards/standards/ecma-427/) specification. PURL stands for Package URL (I call them Plugin URL), a way to express many packages as a URL. What a perfect fit for the GitRoot plugin system!
116117 This is how a PURL is represented: `scheme:type/namespace/name@version?qualifiers#subpath`. In GitRoot, I use only `pkg:gitroot/$scope/$name@$version?checksum=$checksum®istry=$urlToDownload` (maybe a default registry like `https:%2F%2F%2Fgitroot.dev` will be added in a next version, I'm not sure about that for now). There is no specification about what a registry should do to implement the GitRoot specification. For now, GitRoot will download `$urlToDownload/$scope-$name-$version.wasm`, and that's all.
118119-Thankfully to PURL I can delete lot of other properties in th e`.gitroot/plugins.yml` file like version, checksum and name. Also I use it a lot in the code, to refer to a plugin. Previously I only used name, now I use a full purl. So for example, if a plugin want to call another plugin (thanks to the `CallFunc` api), it can define it has `pkg:gitroot/$scope/$name` (to means all possible versions), or exact version with `pkg:gitroot/$scope/$name@$version`. Adding checksum and even registry is possible.
120-
121 Thanks to PURL, I can delete a lot of other properties in the `.gitroot/plugins.yml` file, like version, checksum, and name. I also use it a lot in the code to refer to a plugin. Previously I only used the name, but now I use a full PURL. So, for example, if a plugin wants to call another plugin (thanks to the `CallFunc` API), it can define it as `pkg:gitroot/$scope/$name` (to mean all possible versions), or an exact version with `pkg:gitroot/$scope/$name@$version`. Adding a checksum and even a registry is also possible.
122123 That was a big refactor to do, but I'm pretty happy with the result.
124125 ### GitRoot communication
126127-A lot has occured during this summer, on the commucation side too.
128+A lot has occured during this summer, on the communication side too.
129130-I want to thank [Adullact](https://adullact.org/) and particularly Mathieu for letting me present the first show at the [Adullact congress](https://adullact.org/congres). The video is only in French without subtitles: [Souveraineté : Savez-vous vraiment qui contrôle vos logiciels ?](https://video.adullact.org/w/kYxpgoVZfoPcLsDe19jvQw). It was a great two-day congress, I talked to a lot of passionate people. And for once, they weren't developers.
131+I want to thank [Adullact](https://adullact.org/) and particularly Matthieu for letting me present the first show at the [Adullact congress](https://adullact.org/congres). The video is only in French without subtitles: [Souveraineté : Savez-vous vraiment qui contrôle vos logiciels ?](https://video.adullact.org/w/kYxpgoVZfoPcLsDe19jvQw). It was a great two-day congress, I talked to a lot of passionate people. And for once, they weren't developers.
132133 Then the first appearance on [lobste.rs](https://lobste.rs/s/z01edy) and [Hacker News](https://news.ycombinator.com) occurred. Thanks [hasnep](https://fosstodon.org/@hasnep) for sharing, you can follow the initial exchange on my [GoToSocial](https://gts.gitroot.dev/@forge/statuses/01KXTPKHP5KVWHETKSMC24B32E). As the banner shows, there was a spike in the number of visitors, emails, and questions asked on the platforms and in private. That was a great moment to experience.
134135 After the mentions on these platforms, some other cool articles popped up (I won't link them as they are principally AI-generated slop). But there was also a video showing how to run GitRoot in a [nanoVM](https://nanos.org/): [https://www.youtube.com/watch?v=g5nW9g5T4wU](https://www.youtube.com/watch?v=g5nW9g5T4wU).
136137-Another particular point of pride was the first mention by [Andrew Nesbitt](https://nesbitt.io/) in the blog article [Issues in the Repo](https://nesbitt.io/2026/08/20/issues-in-the-repo.html). Thanks to Mathieu (not the same one from Adullact ^^) for talking about GitRoot to Andrew. Since you deleted the toot, I guess you don't want to be cited here. If that's not the case, contact me.
138+Another particular point of pride was the first mention by [Andrew Nesbitt](https://nesbitt.io/) in the blog article [Issues in the Repo](https://nesbitt.io/2026/08/20/issues-in-the-repo.html). Thanks to Damien for talking about GitRoot to Andrew. Since you deleted the toot, I guess you don't want to be cited here. If that's not the case, contact me.
139140 And GitRoot has been added to [AlternativeTo](https://alternativeto.net/software/gitroot/about/). I don't know if this will lead to anything, but hey, I'm right alongside GitHub and GitLab :P
141142@@ -126,6 +126,8 @@
143144 A project can set a lower number, `NbMaxBranchesBeforeRejectingAnonymous=5`, but if the number is bigger, it will have no effect (e.g., if set to `NbMaxBranchesBeforeRejectingAnonymous=15`, GitRoot will use 10 as set by the forge administrator).
145146+A neat trick: setting `NbMaxBranchesBeforeRejectingAnonymous=0` blocks all anonymous pushes. Alternatively, you can use the [Not accepting anonymous contribution](../doc/how-tos/no_anonymous_user.md) guide. The main difference is the error message: the first gives `anonymous branches not allowed`, while the latter shows `you can't write in $branchName`.
147+
148 ### Zig plugin-sdk
149150 With every release, I try to add a new plugin-sdk language. This time I picked [zig](https://ziglang.org/) because it is a language that natively manages Wasm and WASI, so I was pretty sure I would finish this implementation.
151@@ -140,7 +142,7 @@
152153 Regarding the plugin-sdk, here are a lot of new capabilities for plugins to use:
154155-`schedule`: you can allow a plugin to be called at a scheduled time. Example:
156+`schedule`: you can allow a plugin to be called at a scheduled time. The format is a cron expression with 5 segments as `<minute> <hour> <day> <month> <weekday>`. Example:
157158 ````yaml
159 - purl: pkg:gitroot/gitroot/firefly@0.0.1?checksum=none®istry=file:%2F%2F%2Fhome%2Frmaneschi%2Fprojects%2Fgitroot%2Fapp%2Ftestsuite%2F..%2Fplugins%2Ffirefly
160@@ -153,9 +155,9 @@
161 schedule: "* * * * *"
162 ````
163164-That means the firefly plugin will be executed on the main branch every minute.
165+That means the firefly plugin will be executed on the main branch every minute. Refer to the [gronx library documentation](https://github.com/adhocore/gronx#cron-expression) for cron expression details.
166167-`httpClient`: plugins can make HTTP requests. In the next version, I will add all the permissions a plugin should ask for before doing so.
168+`httpClient`: plugins can make HTTP requests. I have added standard verbs (`GET`, `PUT`, `POST` and `DELETE`), if you need more, please tell me know. You can also add headers as a `map[string][]string`. In the next version, I will add permission a plugin must request beforehand.
169170 `callFunc` configuration: you can add a configuration for the called plugin within the caller plugin's `callFunc`. This makes it possible to tell the called plugin what its configuration is in this context. Previously, an empty config was set, so the plugin's defaults (if any) were used. Example:
171172@@ -204,7 +206,7 @@
173 - Create your own plugins with ease.
174 - Transform GitRoot into a registry for (at least) Go, Rust, NPM and Zig.
175 - Federation with GitRoot but also other forges.
176-- Implement something for users (how to reprensent them).
177+- Implement something for users (how to represent them).
178 - Manage more Git functions in plugins (branch, pull, push, rebase).
179 - Use pull-iterators to stabilise the plugin-sdk.
180 - Easier configuration of plugins.
181@@ -214,3 +216,5 @@
182 - Make every repository a gemini capsule.
183184 If you compare this with the [last v0.4 what next](./version-0.4.0.md#what-next) section, there are a lot more things. Every time I finish a feature (or don't, see the [plugin-sdk generator](#sdkgenerator-full-story)), I can add ten more new features to do. That's why I love GitRoot, and that's why `I Move slowly, and take care of things`.
185+
186+_Special thanks to `Ryuno-Ki`, `Matthieu` and `ks` from the [#gitroot:matrix.org](https://matrix.to/#/#gitroot:matrix.org) Matrix room for reviewing and correcting this article. Want to help with future posts? Join us in the room!_
187```188189190---
191192## Report **info** from apex
193194- Render [blog/version-0.5.0.md](https://gitroot.dev/branches/v0.5/blog/version-0.5.0.html)
195- Render [grafts/v0.5.md](https://gitroot.dev/branches/v0.5/grafts/v0.5.html)
196197---
198199## Report **info** from apex
200201- Render [grafts/v0.5.md](https://gitroot.dev/branches/v0.5/grafts/v0.5.html)
202203---
204205## Report **error** from stigma
206207Commits are bad signed!
208209---
210211## Report **info** from apex
212213- Render [grafts/v0.5.md](https://gitroot.dev/branches/v0.5/grafts/v0.5.html)
214215---
216217## Report **error** from stigma
218219Commits are bad signed!
220221---
222223## Push 2 commits
224225### :sparkles: add toc metadata to render it
226 (7ec417bea79f5223a9f0e91fcb5fe32767eae64d)
227228- +- [blog/version-0.5.0.md](../blog/version-0.5.0.md)
229```diff
230--- a/blog/version-0.5.0.md
231+++ b/blog/version-0.5.0.md
232@@ -7,6 +7,7 @@
233 og:image:alt: Chart with number of unique visitor, a uge pick (from 500 to 13k) is visible around end of jul start of aout.
234 date: 2026/10/05
235 emoji: 🔖
236+toc: true
237 ---
238239 # Move slowly, and take care of things
240```241242243### :memo: last read
244 (6148ba7212a4e0216f7d4d318f33b5fb04207d26)
245246- +- [blog/version-0.5.0.md](../blog/version-0.5.0.md)
247```diff
248--- a/blog/version-0.5.0.md
249+++ b/blog/version-0.5.0.md
250@@ -95,7 +95,9 @@
251252 I want to thank [Adullact](https://adullact.org/) and particularly Matthieu for letting me present the first show at the [Adullact congress](https://adullact.org/congres). The video is only in French without subtitles: [Souveraineté : Savez-vous vraiment qui contrôle vos logiciels ?](https://video.adullact.org/w/kYxpgoVZfoPcLsDe19jvQw). It was a great two-day congress, I talked to a lot of passionate people. And for once, they weren't developers.
253254-Then the first appearance on [lobste.rs](https://lobste.rs/s/z01edy) and [Hacker News](https://news.ycombinator.com) occurred. Thanks [hasnep](https://fosstodon.org/@hasnep) for sharing, you can follow the initial exchange on my [GoToSocial](https://gts.gitroot.dev/@forge/statuses/01KXTPKHP5KVWHETKSMC24B32E). As the banner shows, there was a spike in the number of visitors, emails, and questions asked on the platforms and in private. That was a great moment to experience.
255+
256+
257+Then the first appearance on [lobste.rs](https://lobste.rs/s/z01edy) and [Hacker News](https://news.ycombinator.com) occurred. Thanks [hasnep](https://fosstodon.org/@hasnep) for sharing, you can follow the initial exchange on my [GoToSocial](https://gts.gitroot.dev/@forge/statuses/01KXTPKHP5KVWHETKSMC24B32E). As the image shows, there was a spike in the number of visitors, emails, and questions asked on the platforms and in private. That was a great moment to experience.
258259 After the mentions on these platforms, some other cool articles popped up (I won't link them as they are principally AI-generated slop). But there was also a video showing how to run GitRoot in a [nanoVM](https://nanos.org/): [https://www.youtube.com/watch?v=g5nW9g5T4wU](https://www.youtube.com/watch?v=g5nW9g5T4wU).
260261@@ -117,8 +119,6 @@
262263 When a lot of people started to talk about GitRoot, one thing haunted my nights: what if someone builds a simple script that clones GitRoot, creates 1,000 branches, and pushes them? I would need to `git push origin :branch` for every single one of them. You don't need to register to contribute to GitRoot, and that's one of its strengths, but also one of its weaknesses.
264265-
266-
267 How to make that impossible without blocking all the beauty of GitRoot? One day, a simple solution came to me (yes, I love imagining scenarios running against me). Why not limit the number of branches from anonymous users? It's simple after all: I need to count the number of branches made by anonymous users, and if it exceeds a limit, I stop accepting them. However, people I have added to my repo because of a previous contribution can still push new branches. That is what I added, but... there is always a but... counting the number of branches is lightweight, but counting the number of branches from an anonymous user is really expensive. Life is full of choices, and I made one.
268269 When the branch limit is reached, we stop accepting anonymous contributions. That means if you set 10 as the maximum and you make 20 branches, nobody else can contribute. Yes, it's not perfect, but it's way better than having nightmares every night.
270@@ -158,7 +158,7 @@
271272 That means the firefly plugin will be executed on the main branch every minute. Refer to the [gronx library documentation](https://github.com/adhocore/gronx#cron-expression) for cron expression details.
273274-`httpClient`: plugins can make HTTP requests. I have added standard verbs (`GET`, `PUT`, `POST` and `DELETE`), if you need more, please tell me know. You can also add headers as a `map[string][]string`. In the next version, I will add permission a plugin must request beforehand.
275+`httpClient`: plugins can make HTTP requests. I have added standard verbs (`GET`, `PUT`, `POST` and `DELETE`), if you need more, please let me know. You can also add headers as a `map[string][]string`. In the next version, I will add permission a plugin must request beforehand.
276277 `callFunc` configuration: you can add a configuration for the called plugin within the caller plugin's `callFunc`. This makes it possible to tell the called plugin what its configuration is in this context. Previously, an empty config was set, so the plugin's defaults (if any) were used. Example:
278279```280281282---
283284## Report **info** from apex
285286- Render [blog/version-0.5.0.md](https://gitroot.dev/branches/v0.5/blog/version-0.5.0.html)
287- Render [blog/version-0.5.0.md](https://gitroot.dev/branches/v0.5/blog/version-0.5.0.html)
288289---
290291## Report **info** from apex
292293- Render [grafts/v0.5.md](https://gitroot.dev/branches/v0.5/grafts/v0.5.html)
294295---
296297## Report **error** from stigma
298299Commits are bad signed!