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

Settings to sort repositories and images in Registries view #4329

Open
michalpokusa opened this issue Jun 24, 2024 · 0 comments
Open

Settings to sort repositories and images in Registries view #4329

michalpokusa opened this issue Jun 24, 2024 · 0 comments
Milestone

Comments

@michalpokusa
Copy link

michalpokusa commented Jun 24, 2024

Would it be possible to add a setting that makes it possible to sort images on remote registry?

Similar settings already exist for Images, Networks, Volumes etc. thus it seems like a logical complement.

image

I suggest adding the following settings:

image

with options:

  • MostRecentPush - e.g. repo "a" has image tag from 1 week ago and repo "b" has image tag from 1 day ago, the the order would be "b", "a" etc.
  • Label (default) - always with respect to the name, so "a", "b" etc.

image

with options:

  • CreatedTime - repo "a" has tags "1.2.3" (3 days ago), "new-feature" (1 day ago), "latest" (2 days ago), then the order would be "new-feature", "latest", "1.2.3"
    (this one will probably be the most usefull one)
  • Label (default) - repo "a" has tags "awesome-feature", "1.2.3", "latest", then the order would be "1.2.3", "awesome-feature", "latest"
  • LatestThenLabel - repo "a" has tags "awesome-feature", "1.2.3", "latest", then the order would be "latest", "1.2.3", "awesome-feature"
    (this might be useful when one uses commit hash as image tag, so the latest wont be sorted somewhere in the middle)
  • Size - repo "a" has tags "1.2.3-some-release" 100MB and "1.2.4-new-feature" 125MB, then the order would be "1.2.4-new-feature", "1.2.3-some-release"

If any two repositories/images have to same property they are sorted by, every option might fallback to alphabetic order.

Thanks for all the work on this extension, I use it extensively and it is extremely helpful in every-day tasks. 😃

@dbreshears dbreshears added this to the Future milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants