Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pagination for tags list pagination for quay.io & registry.access.redhat.com registries #107

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Fix pagination for tags list pagination for quay.io & registry.access.redhat.com registries #107

merged 1 commit into from
Aug 1, 2024

Conversation

thomas-riccardi
Copy link
Contributor

@thomas-riccardi thomas-riccardi commented Aug 1, 2024

close #106

Remove special cases for quay.io & registry.access.redhat.com: they were added by #63 and #92, but don't seem necessary anymore:

$ curl -Is https://quay.io/v2/keycloak/keycloak/tags/list | grep -i link
link: </v2/keycloak/keycloak/tags/list?n=100&last=23.0.4-0>; rel="next"
$ curl -Is https://registry.access.redhat.com:443/v2/ubi8/ubi-minimal/tags/list | grep -i link
Link: </v2/ubi8/ubi-minimal/tags/list?n=100&last=8.7-1031-source>; rel="next"

….redhat.com registries

Remove special cases for quay.io & registry.access.redhat.com:
they were added by #63 and #92, but don't seem necessary anymore:

```
$ curl -Is https://quay.io/v2/keycloak/keycloak/tags/list | grep -i link
link: </v2/keycloak/keycloak/tags/list?n=100&last=23.0.4-0>; rel="next"
```

```
$ curl -Is https://registry.access.redhat.com:443/v2/ubi8/ubi-minimal/tags/list | grep -i link
Link: </v2/ubi8/ubi-minimal/tags/list?n=100&last=8.7-1031-source>; rel="next"
```
Copy link
Owner

@deitch deitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, very happy that they fixed it! Thanks @thomas-riccardi

@deitch deitch merged commit 2915d80 into deitch:master Aug 1, 2024
22 checks passed
@thomas-riccardi thomas-riccardi deleted the fix-106-quay-registry-tags-list-pagination branch August 1, 2024 15:28
@thomas-riccardi
Copy link
Contributor Author

Thanks for the quick merge @deitch!

Can we expect a release with this soon?

@deitch
Copy link
Owner

deitch commented Aug 1, 2024

Done. Hopefully it will push it out.

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

Successfully merging this pull request may close these issues.

quay.io tags list pagination broken: link now properly returns last query parameter
2 participants