You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: