-
Notifications
You must be signed in to change notification settings - Fork 194
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
"Available updates" shows updates if 'latest' is used #208
Comments
I think the expectation is that this command returns a complete new |
the difference here is that latest isn't being considered as a (pseudo) version and it's giving a new version when really latest should just be ignored in the version update check. |
@Larusso Please correct me if I misunderstand you: But do you really expect that funtionality from an " Maybe it could make sense to add another option, maybe named " This would also nicely match the 7h ago mentioned new idea/approach of @timja in #173 (#173 (comment)) with respect to fixing " |
If you specify an output format it already does that (yaml or txt). The console one is for humans although not really sure why you would want to use it |
@timja First of all thanks for the fix! Secondly, I am not sure that I understand your comment #208 (comment) correctly: Does that mean if I specify "only" the option " |
So available updates will return you a complete plugins file including any updates if you specify and output format of yaml or txt. If you don’t specify an output format it uses a console reporter which only outputs plugins with an update |
jenkins-plugin-cli --available-updates -f plugins.txt
... shows IMHO all plugins, including those that are definitely already on latest version (i.e. up-to-date):
E.g. "Branch API v2.6.0" is (already) installed (in this version and is the latest available version) => Should not be shown for option "--available-updates" (I had hoped/expected)!?
The text was updated successfully, but these errors were encountered: