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

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

@chrisinmtown

Description

@chrisinmtown

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions