Show what's updated in "update" command (or its invocations indirectly) #443
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
priority/P3
P3 issues or PRs
This is something Homebrew has, and I've been looking to have it in Krew, too.
When you run
krew update
(or indirectly, throughkrew install
orkrew upgrade
), you'll see a message:Updated the local copy of plugin index.
This message is nice, but it doesn't provide the big picture.I think for
update
command specifically, it would be good if we can show something like:Some things to consider:
requires significant change to underlying update mechanism, as we need to parse all index, store in-memory, then compare (worth it?)
the above example could be too much output for the
install
command, maybe we figure out a one-liner version like:this should probably be tested only as unit tests as it would be unnecessarily complex to make integration tests for the update scenarios
I'm supportive of this change only if it can be done with small effort.
/priority P3
/priority backlog
/good-first-issue
The text was updated successfully, but these errors were encountered: