passerine icon indicating copy to clipboard operation
passerine copied to clipboard

Distribute through Package Managers

Open rishiosaur opened this issue 4 years ago • 9 comments

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

rishiosaur avatar Dec 09 '20 05:12 rishiosaur

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 avatar Dec 09 '20 06:12 slightknack

@slightknack rust-action looks perfect for this!

rishiosaur avatar Dec 12 '20 05:12 rishiosaur

Great, I'll look into it!

slightknack avatar Dec 12 '20 06:12 slightknack

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.

slightknack avatar Mar 29 '21 08:03 slightknack

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.

slightknack avatar Apr 08 '21 09:04 slightknack

We'll test out this action on the next release, which should be soon. @siraben has also been working on packaging aspen for nixpkg.

slightknack avatar Apr 20 '21 08:04 slightknack

FYI, passerine is in nixpkgs. https://github.com/NixOS/nixpkgs/pull/119054

siraben avatar Jun 08 '21 17:06 siraben

@siraben Great! Thanks for your work on this! I'll resolve the tag-version conflict in the next release.

slightknack avatar Jun 08 '21 20:06 slightknack

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

slightknack avatar Jul 16 '21 18:07 slightknack