Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9442

Fix dkregistry-rs to work with registries that don't use next_page

XMLWordPrintable

    • Important
    • 3
    • OTA 234, OTA 241
    • 2
    • Rejected
    • Unspecified
    • If docs needed, set a value

      Description of problem (please be detailed as possible and provide log
      snippests):

      For registries such as Artifactory which don't use "next_page" the rust library for listing images, dkregistry-rs, currently terminates at 20 entries. A PR(https://github.com/camallo/dkregistry-rs/pull/236) was submitted to ensure better alignment with the spec for tag pagination as defined by the docker API v2 Spec here(https://docs.docker.com/registry/spec/api/#pagination-1), while also maintaining compatibility with servers that use the "next_page" url query parameter such as quay.

      Does this issue impact your ability to continue to work with the product
      (please explain in detail what is the user impact)?

      Can this issue reproducible?
      Always

      Steps to Reproduce:
      1. use dkregistry-rs with repositories that do not suppport next_page()

      Actual results:
      Listing images terminates at 20 images

      Expected results:
      dkregistry-rs should list all images in the repository

            pratikam Pratik Mahajan
            pratikam Pratik Mahajan
            Yang Yang Yang Yang
            Kathryn Alexander Kathryn Alexander
            Red Hat Employee
            Votes:
            6 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: