Package Distribution
Yes, I know now this is a rather small and immature project, but I really want it to be available on more package managers!
- [x] cargo
- [x] homebrew
- [x] linuxbrew
- [x] chocolatey
- [x] scoop
- [ ] apt
- [ ] dnf
... and maybe some more linux repos?
Here I want to express my thanks to @lynzrand for his contribution in choco distribution automation in #6 ! 🎉
I have made a scoop manifest for personal use
{
"homepage": "https://github.com/rami3l/pacaptr",
"license": "GPL-3.0-only",
"version": "0.11.5",
"architecture": {
"64bit": {
"url": "https://github.com/rami3l/pacaptr/releases/download/v0.11.5/pacaptr-windows-amd64.tar.gz",
"hash": "f50d670d1b38f1cc695829f10dfa45e49e5da035b43d7a5ddc3736c1726d6b1a"
}
},
"bin": "pacaptr.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/rami3l/pacaptr/releases/download/v$version/pacaptr-windows-amd64.tar.gz"
}
},
"hash": {
"64bit": {
"url": "$url.sha256"
}
}
}
}
The only thing that probably should be done is an automatic alias to pacman. Have not figured out how to do this yet.
@meltinglava It shouldn't be too difficult for me to automatically generate such a manifest each time (we already have that for choco and brew). However it'll be quite weird for me to hold that bucket, since I don't personally use scoop...
I'll add this to my todo list nonetheless XD
Things to be done to launch pacaptr on crates.io:
- [x] Eliminate inappropriate use of
build.rs. - [x] Improve documentation.
- [x] Wait for a bug-less
claprelease compatible with the current codebase oncrates.io.
pacaptr v0.13.2 is now on crates.io! 🎉
I've started some progress on distributing pacaptr through scoop. You can track it at ScoopInstaller/Extras#9521. Credits to @meltinglava for providing the template to work on.
I have deliberately used the second latest version to see if it will auto update the manifest with the now latest version. Hope it's alright.
Hey! @rami3l pacaptr is now on scoop! 🎉 Auto-updates happen every 5 or so hours. Will update back later if auto-update works as expected.
UPDATE: Auto-update is working as expected. The manifest is now updated for v0.17.
@meltinglava Many thanks! 💯
From #621 on, pacaptr uses GoReleaser for its publishing process.
This alsos paves the way for packaging pacaptr for more Linux distributions!
@ptanmay143 Oops, in v0.19.2 the structure of the release has been changed due to the use of GoReleaser (especially, checksums are now in checksums.txt). Is that the reason why scoop auto-update is no longer working?
Update: a PR has been made in https://github.com/ScoopInstaller/Extras/pull/12350.