Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Plugins listed in random order #3099

Open
marckhouzam opened this issue Aug 8, 2022 · 1 comment
Open

Plugins listed in random order #3099

marckhouzam opened this issue Aug 8, 2022 · 1 comment
Labels
area/cli area/ux UX related good first issue Good for newcomers kind/bug PR/Issue related to a bug

Comments

@marckhouzam
Copy link
Contributor

Bug description

When doing tanzu plugin list the output is un-ordered; in fact it seems indeterministic, which means the order changes each time the plugins are listed.

This is not very user-friendly, as it makes it hard for a user to find a plugin when many are listed.

Affected product area (please put an X in all that apply)

  • (x) CLI

Expected behavior

I think it would be better for users if the list of plugin was ordered. An alphabetical order seems useful to quickly look for the presence of a plugin, but maybe there are other usecases that would make a different ordering better?

Steps to reproduce the bug

Run tanzu plugin list and notice that the list of plugins doesn't seem ordered.
Run tanzu plugin list again and notice that the list is in a different "order" than the time before.

Version (include the SHA if the version is not obvious)

Latest main branch: 7a290ed

Environment where the bug was observed (cloud, OS, etc)

Locally

@marckhouzam marckhouzam added kind/bug PR/Issue related to a bug needs-triage Indicates an issue or PR needs to be triaged labels Aug 8, 2022
@marckhouzam
Copy link
Contributor Author

I'm only seeing this in my development version of the CLI (built quickly with go build). The problem does not happen with the tanzu CLI built from the makefile (even though it is based on the same commit).

@codegold79 codegold79 added good first issue Good for newcomers area/cli area/ux UX related area/core-cli and removed needs-triage Indicates an issue or PR needs to be triaged area/core-cli labels Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli area/ux UX related good first issue Good for newcomers kind/bug PR/Issue related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants