Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute through Package Managers #10

Open
rishiosaur opened this issue Dec 9, 2020 · 9 comments
Open

Distribute through Package Managers #10

rishiosaur opened this issue Dec 9, 2020 · 9 comments
Assignees
Labels
feature Features that add something new to the language help-wanted This is an great first issue for first time contributers question Question asking for help or clarification

Comments

@rishiosaur
Copy link

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

@slightknack
Copy link
Member

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!

@rishiosaur
Copy link
Author

@slightknack rust-action looks perfect for this!

@slightknack
Copy link
Member

Great, I'll look into it!

slightknack added a commit that referenced this issue Dec 12, 2020
This is a base GitHub Action that builds a number of binaries and adds them to a draft release. I'm not sure if it's correct, which is why I'm putting it in as a PR for review.
slightknack added a commit that referenced this issue Dec 12, 2020
* Create release.yml, addresses #10

This is a base GitHub Action that builds a number of binaries and adds them to a draft release. I'm not sure if it's correct, which is why I'm putting it in as a PR for review.

* fixed syntax and naming errors

* removed stray whitespace, pushing again

* potentially fix 'uses or run' error

* doing a rather silly manual binary search for the error

* failed, so commenting out more

* failed, so commenting out even *more*

* failed, swapped order of remaining keys

* failed again, commenting out all but one key. this should work

* that worked. added name to previous step

* Uncommented everything but the name keys. this might work

* failed, commented out everything but checkout

* that worked. uncommenting toolchain

* uncommented matrix

* think that worked, uncommented mostly everything

* failed, moved location of buld matrix

* worked, uncommenting cross compile

* worked, uncommenting move

* worked, uncommented create release

* failed, reversed order of id and uses

* failed, but I think I fixed everything
@slightknack slightknack added feature Features that add something new to the language question Question asking for help or clarification labels Jan 23, 2021
@slightknack
Copy link
Member

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
Copy link
Member

We're one step closer - there was an issue with passerine/aspen (see rust-build/rust-build.action#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 slightknack changed the title Distribute on homebrew Distribute through Package Managers Apr 20, 2021
@slightknack
Copy link
Member

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

@siraben
Copy link

siraben commented Jun 8, 2021

FYI, passerine is in nixpkgs. NixOS/nixpkgs#119054

@slightknack
Copy link
Member

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

@slightknack slightknack added the help-wanted This is an great first issue for first time contributers label Jul 16, 2021
@slightknack
Copy link
Member

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.

@slightknack slightknack pinned this issue Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features that add something new to the language help-wanted This is an great first issue for first time contributers question Question asking for help or clarification
Projects
None yet
Development

No branches or pull requests

3 participants