pacaptr icon indicating copy to clipboard operation
pacaptr copied to clipboard

Package Distribution

Open rami3l opened this issue 5 years ago • 12 comments

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?

rami3l avatar Jun 11 '20 14:06 rami3l

Here I want to express my thanks to @lynzrand for his contribution in choco distribution automation in #6 ! 🎉

rami3l avatar Jun 13 '20 14:06 rami3l

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 avatar May 18 '21 14:05 meltinglava

@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

rami3l avatar Jul 28 '21 22:07 rami3l

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 clap release compatible with the current codebase on crates.io.

rami3l avatar Jul 28 '21 22:07 rami3l

pacaptr v0.13.2 is now on crates.io! 🎉

rami3l avatar Aug 23 '21 13:08 rami3l

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.

ptanmay143 avatar Oct 18 '22 19:10 ptanmay143

@ptanmay143 Many thanks!

BTW would you mind bumping the version to v0.17.0? :)

rami3l avatar Oct 19 '22 01:10 rami3l

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.

ptanmay143 avatar Oct 19 '22 17:10 ptanmay143

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.

ptanmay143 avatar Oct 24 '22 21:10 ptanmay143

@meltinglava Many thanks! 💯

rami3l avatar Oct 25 '22 23:10 rami3l

From #621 on, pacaptr uses GoReleaser for its publishing process. This alsos paves the way for packaging pacaptr for more Linux distributions!

rami3l avatar Jul 19 '23 05:07 rami3l

@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.

rami3l avatar Oct 31 '23 01:10 rami3l