Evedel/bow

repos maxed at 100?

bibby opened this issue · 5 comments

bibby commented

Our registry has 500 or more images, and a couple of features seem to fall apart at that scale.

The left-side repo list appears to top out at 100 images. It'd be neat if there was a namespace level instead of one list of everything.

To illustrate, and hoping that formatting works, it'd go from:

registry     namespace/app1    {tags}
             namespace/app2

to:

registry     namespace    app1    {tags}
                          app2

Likewise with the Graph, it looks to print everything (well, 100) and in no particular order. It'd be great if the left-hand drill-down worked for the graphs view; limiting drawn hierarchies to those include the selected image or tag if one if chosen.

bow is looking good. Keep it up!

@bibby

bow is looking good. Keep it up!

Thank you, and promise you, I will)

Our registry has 500 or more images

Indeed, I haven't even try to test it on such a huge scale, so not even surprised that there are some problems.

Unfortunately, right now, I have some deadline in front of me, so I will be able to have a look at any of those issues only after two weeks or so.

Thank you for the detailed issue report.

bibby commented

It seems like setting _catalog?n= something high might do the trick.

Req := "/v2/_catalog?n=&last="

I am not sure, need to play around with this.
I definitely don't remember any default limits in api specs https://github.com/docker/distribution/blob/master/docs/spec/api.md#pagination. So, maybe, this is my internal error, maybe, the results indeed need to be iterated through &last= parameter

@bibby sooooo, long story short, indeed, the default limit is hardcoded into distribution. Now it looks like solved as well as the staff about namespaces filtering. If you are interested in, you can check out the latest build from docker hub.