axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.32k stars 56 forks source link

Feature Idea: Generate `homebrew` source packages? #1093

Open jamesmunns opened 1 month ago

jamesmunns commented 1 month ago

I had a user kindly package river for me, which is using cargo-dist for releases. I had intended to set up a tap to use the pre-built binaries, but before I did that someone submitted a source package.

In case this is another installer form y'all would be interested in generating, here is some context:

https://github.com/memorysafety/river/issues/31#issuecomment-2129596902

And here is the actual manifest they produced, which appears to use the signed github source release export:

https://github.com/Homebrew/homebrew-core/blob/2b59118b7ba6dbbe700400d12ead8ed8040a5ffd/Formula/r/river.rb

I don't need this particularly, it seems what the contributor submitted should auto-update based on GH releases? But I thought it was cool info to share, and a way to get cargo-dist packages with source into the main upstream homebrew cask.