serpent-os / moss

The safe, fast and sane package manager for Linux
https://serpentos.com
71 stars 9 forks source link

repo: Release improvements #241

Open ReillyBrogan opened 1 month ago

ReillyBrogan commented 1 month ago

The first commit adds an install script to the justfile that installs all required files for boulder and moss into a given prefix, suitable for use during building packages. Note that the release script assumes that serpent-os/moss#239 has already been merged as it attempts to generate completions. I felt that that particular commit made more sense combined with this one.

The second commit adds a script to generate a vendored tarball containing source code plus vendored dependencies, suitable for use building packages without networking. This tarball is completely reproducible.

To prove reproducibility, you can check out this branch and run the script yourself. It should output the following checksum, assuming your zstd version is v1.5.6:

624463d1acf9eab911eba1d631ee3c6b33aaae300a98a359c2d8528753a7e220