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

[Request] Package Distribution #5

Open
5 of 7 tasks
rami3l opened this issue Jun 11, 2020 · 12 comments
Open
5 of 7 tasks

[Request] Package Distribution #5

rami3l opened this issue Jun 11, 2020 · 12 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@rami3l
Copy link
Owner

rami3l commented Jun 11, 2020

Yes, I know now this is a rather small and immature project, but I really want it to be available on more package managers!

  • cargo
  • homebrew
  • linuxbrew
  • chocolatey
  • scoop
  • apt
  • dnf

... and maybe some more linux repos?

@rami3l rami3l added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Jun 11, 2020
@rami3l rami3l changed the title [Request] Binary Distribution [Request] Binary distribution Jun 11, 2020
@rami3l
Copy link
Owner Author

rami3l commented Jun 13, 2020

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

@meltinglava
Copy link

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.

@rami3l rami3l changed the title [Request] Binary distribution [Request] Package Distribution Jul 28, 2021
@rami3l
Copy link
Owner Author

rami3l commented Jul 28, 2021

@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
Copy link
Owner Author

rami3l commented Jul 28, 2021

Things to be done to launch pacaptr on crates.io:

  • Eliminate inappropriate use of build.rs.
  • Improve documentation.
  • Wait for a bug-less clap release compatible with the current codebase on crates.io.

@rami3l
Copy link
Owner Author

rami3l commented Aug 23, 2021

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

@ptanmay143
Copy link

ptanmay143 commented Oct 18, 2022

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.

@rami3l
Copy link
Owner Author

rami3l commented Oct 19, 2022

@ptanmay143 Many thanks!

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

@ptanmay143
Copy link

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

ptanmay143 commented Oct 24, 2022

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.

@rami3l
Copy link
Owner Author

rami3l commented Oct 25, 2022

@meltinglava Many thanks! 💯

@rami3l
Copy link
Owner Author

rami3l commented Jul 19, 2023

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

@rami3l
Copy link
Owner Author

rami3l commented Oct 31, 2023

@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 ScoopInstaller/Extras#12350.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
Status: To do
Development

No branches or pull requests

3 participants