sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.94k stars 571 forks source link

Nexus Sonatype Docker Registry API Pagination header missing #209

Open marwin1991 opened 1 year ago

marwin1991 commented 1 year ago

It looks like Nexus is not implementing correctly Docker Registry API in case of listing tags: https://github.com/renovatebot/renovate/discussions/23573

marwin1991 commented 1 year ago

@nblair any plans to implement this in the future?

marwin1991 commented 9 months ago

@nblair maybe I can implement it by myself, I all need is to get information where to start f.e. class responsible for DockerRegistryAPI ?

ModeSevenIndustrialSolutions commented 8 months ago

Ouch, we've apparently just been stung by this... Too many tags and you can't access the earlier ones.

marwin1991 commented 8 months ago

@ModeSevenIndustrialSolutions We made update to Sonatype Nexus RepositoryOSS 3.64.0-04 and it magically started to working

ModeSevenIndustrialSolutions commented 8 months ago

That's the version we're already on, unfortunately. I notice 3.65.x came out on 6th February. I am wondering how this has started working for you...?

marwin1991 commented 8 months ago

@ModeSevenIndustrialSolutions we had a problem w renovate updating version of docker images for images that had more than 10000 tags. F.e. renoavte itself has so many tags! Than one day (after nexus update) everything started to work 😂

Please ping me tomorrow and I will check what headers our nexus is returning while getting docker image tags

ModeSevenIndustrialSolutions commented 8 months ago

No worries, we've now realised another possible cause and have got things working. If this is indeed fixed in this release, it would be great. Would be nice to have independent confirmation on this ticket.