passerine
passerine copied to clipboard
Distribute through Package Managers
A quickstart script is fantastic, but I find that having one single source for all packages is even better—you can build out your own CI package or use an existing solution @slightknack
That sounds like a good idea! What existing solutions do you have in mind? As Passerine uses GitHub Actions for builds/tests, do you know of any actions can build and distribute standalone binaries across package managers upon release? Thanks!
@slightknack rust-action looks perfect for this!
Great, I'll look into it!
I'm working on release.yml (#28) again, and I think I have something that should work. I'm worried about merging it into master now because of what happened last time.
We're one step closer - there was an issue with passerine/aspen (see https://github.com/rust-build/rust-build.action/issues/2) - but now that that has been (hopefully) resolved, binaries should be built. We'll test it out with the next release. After that's done, all that's left is POSTing to homebrew and other packaging services.
We'll test out this action on the next release, which should be soon. @siraben has also been working on packaging aspen for nixpkg.
FYI, passerine is in nixpkgs. https://github.com/NixOS/nixpkgs/pull/119054
@siraben Great! Thanks for your work on this! I'll resolve the tag-version conflict in the next release.
Here are the package managers I think are a good subset to start. If you're familiar w/ packaging on these systems or would like to contribute packages for another one, please let me know.
- [X] Cargo - @slightknack
- [X] Nix - @siraben
- [ ] Homebrew
- [ ] Arch & AUR
- [ ] Debian / Ubuntu