Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26494

Artifactory does not support /versions endpoint for listing versions for a given gem

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST API, RubyGems
    • Labels:
      None
    • Location:
      External

      Description

      This API is documented at https://guides.rubygems.org/rubygems-org-api/#gem-version-methods

      it should look like this `/api/gems/<repo-name>/api/v1/versions/<gem-name>{.json|.yaml}` 

      This end point is required for tools like Renovate-Bot to suggest updates based on version ranges and days since release timestamp.

      Currently, Renovate is forced to workaround this by falling back to just considering the latest version that Artifactory exposes via `/api/gems/<repo-name>/api/v1/gems/<gem-name>{.json|.yaml}`.  As a result,  it can not make proper suggestions:

      Example 1: my app is okay with "~> 6.0", currently using 6.1.1. 6.1.5 exists, latest is 7.0.0, so Renovate cannot recommend 7.0.0 and has no way to know about 6.1.5
      Example 2: i only want to know about a version 14 days after it has been released.  Artifactory does not expose gem release date via /gems endpoint so it cannot be done.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            antonmos Anton Mostovoy
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-26504 -
                SYNCHRONIZED
                • Last Sync Date: