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

Stick to the chosen namespace + pick one if no image #17

Closed
Crocmagnon opened this issue Aug 8, 2018 · 4 comments
Closed

Stick to the chosen namespace + pick one if no image #17

Crocmagnon opened this issue Aug 8, 2018 · 4 comments

Comments

@Crocmagnon
Copy link

Crocmagnon commented Aug 8, 2018

I have a registry with token auth enabled but I'm unable to list images/tags. The UI shows "No data available in table", however the logs show that a token is correctly fetched and then when endpoints are targeted they respond with coherent data.

I tried to mount /opt/data as a folder and even make it writable by user nobody by adding the following lines to a custom Dockerfile :

USER root
RUN chown nobody:nogroup /opt/data
USER nobody

But I'm still unable to have a list of tags and I don't see any database file created. Do you have any idea what's going on ? Do you keep tags in a database ?

Thanks for the help ☺️

@Crocmagnon
Copy link
Author

Crocmagnon commented Aug 8, 2018

Nevermind, I didn't see the "Namespaces" dropdown. Suggestion : if there's only one namespace, select it by default, or present a list of namespaces before an empty list of repos 😊

EDIT : My first issue is solved but I reopened this to give more visibility to this suggestion.

@Crocmagnon Crocmagnon reopened this Aug 8, 2018
@roman-vynar
Copy link
Contributor

The default namespace is library, i.e. the root one. Probably, making a chosen namespace sticky will be better.

@Crocmagnon Crocmagnon changed the title Not listing images Stick to the chosen namespace + pick one if no image Aug 8, 2018
@Crocmagnon
Copy link
Author

Sticking to the chosen namespace is a good idea, and I'd like to add both:

  • picking a namespace containing images if there is no image in library
  • make it clear in UI that the images list is for a given namespace

@roman-vynar
Copy link
Contributor

In 0.7.3 I have made the following changes:

* Improve no data message on empty tables on UI.
* Show the root namespace "library" in the dropdown even when there are no repos in it.

Not making it sticky as it's complicated as it depends from an URL address, when going to / it should be the "library" root namespace and confuses things. You can always navigate to the namespace chosen from tags or tag info pages using the breadcrumb links instead of clicking Home.

If you have more suggestions, PR is welcome.

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

No branches or pull requests

2 participants