Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Extend Ruby gem to provide query if a package exists #26

Open
chrisinmtown opened this issue Nov 5, 2019 · 3 comments
Open

Extend Ruby gem to provide query if a package exists #26

chrisinmtown opened this issue Nov 5, 2019 · 3 comments

Comments

@chrisinmtown
Copy link

chrisinmtown commented Nov 5, 2019

Please extend your Ruby gem package_cloud feature set to provide a command that checks if a package at a specific version exists in a given repository. Maybe just check the filename via the API "show" endpoint? Alternately if you provide the full "show" feature via the gem, I guess I could rummage thru the JSON that's returned to answer this question.

I see that the API supports "show" for deb/rpm, "gem_show" for ruby, and so on. Probably should implement all of them. I confess I only need the deb/rpm variant right now :)

I would like to use this in a package-release workflow that will use the promote endpoint, and would like to check first if the command has a chance of succeeding. Thanks in advance for considering it.

Hmm, after more searching I see that there's a PackageCloud Ruby library, and a PackageCloud Ruby gem ("package_cloud"). I hope I've opened this issue in the right Github. If not please redirect me, thanks.

@chrisinmtown chrisinmtown changed the title Extend API to provide query if a package exists Extend Ruby gem to provide query if a package exists Nov 5, 2019
@Aricg
Copy link

Aricg commented Nov 11, 2019

+1

@chrisinmtown
Copy link
Author

I see the last commit in this repo was Aug 2018, that's about 14 months ago. Has this been abandoned?

@ghost
Copy link

ghost commented Nov 11, 2019

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants