3 ms·
I feel I'm missing something; for a version control system, you'd think managing different versions would be kinda central but in pijul that seems more like an
by zokier 3y ago
I feel I'm missing something; for a version control system, you'd think managing different versions would be kinda central but in pijul that seems more like an afterthought. If I'm reading correctly you could use 'channels' same way as you use git tags, but that doesn't seem to be happening in practice.
For example I look at 'sanakirja' project. The current version is 1.4.1 and the previous version was 1.4.0, and the version before that was 1.3.3:
https://crates.io/crates/sanakirja/versions https://crates.io/crates/sanakirja/versions
but if I look at the repository, there is no way to see any of that?
https://nest.pijul.com/pijul/sanakirja https://nest.pijul.com/pijul/sanakirja
There is "Tags" tab which is empty, and channel selection drop-down that has only "main" channel. So if I want to browse code at version 1.3.3, or see the difference between 1.3.3 and 1.4.0, or even just see what versions there are, how would I do that? To me those seem like very elementary questions, and yet reading through the manual I can find no hints toward this direction.
There is a FAQ entry that seems relevant:
> Is it possible to refer to a specific version?
> Excellent question. Since Pijul operates on patches rather than snapshots, versions are essentially unordered sets of patches. How do we communicate a specific version number to one another? We solve this by abusing elliptic curve cryptography primitives.
But its not clear at all how those "version identifiers" can be used or indeed if they are even implemented at all yet? At least based on the manual, no commands seem to take "version identifier" as argument, nor can I see them anywhere in Nest web UI.
- zokier 3y agoOh, apparently there is `pijul tag` command that might do something relevant here? https://nest.pijul.com/pijul/pijul:main/QL6K2ZM35B3NI.JIAAA https://nest.pijul.com/pijul/pijul:main/QL6K2ZM35B3NI.JIAAA but the docs do not say anything about that, so it remains a mystery. also its still weird that their own projects do not use those tags, or is it just that the web UI isn't showing them properly?
- pmeunier 3y agoOops, don't look at what we do! These repos have been used for dogfooding and bootstrapping extensively, they have the worst structures and aren't good examples of nice, clean workflows. The tool isn't really "experimental" anymore, its repos are still used for heavy experiments. > But its not clear at all how those "version identifiers" can be used or indeed if they are even implemented at all yet? At least based on the manual, no commands seem to take "version identifier" as argument, nor can I see them anywhere in Nest web UI. `pijul log --state` does that, and various commands (tags, fork) do it as well. Tags are due for a redesign, since they can be made much more efficient with a really cool new design, and make Pijul a perfect hybrid between patches and snapshots.
- zokier 3y ago> Oops, don't look at what we do! Is there some repo that is then a good showcase?