-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix version #26
Comments
Thanks for your feedback! Having such a way to exclude a binary from being updated seems like a worthwhile feature. I was immediately thinking whether this should be something permanent (you call I'm leaning towards having a list of ignored binaries in some config file, since I reckon that would be a more common use-case. I would probably name it EDIT: alternatively, this option could be called What are your thoughts? |
Hello @Gelio, Thank you for answer. In my option, this sub command will be great: go-global-update lock [email protected] And it will be great to have ability to lock major, minor or patch versions. For this purposes you can use parameters: go-global-update lock [email protected] # for patch version
go-global-update lock --minor [email protected] # for minor version
go-global-update lock --major foo@v1 # for major version |
Right, and that, unfortunately, would be a breaking change, since right now, there are no subcommands for Perhaps it's fine to make such a breaking change by introducing subcommands to |
We can add subcommands and use
It can be implemented by https://github.com/spf13/cobra. If you want, I can help with subcommands. |
Right, that's a possible approach. I am still not sure about making this breaking change vs adding a new command to manage the lockfile. Especially since the lockfile is optional. Perhaps someone else will come here and have an opinion.
|
It is not a breaking changes. It will still work as before, because new command |
Excellent tool.
But it will be better, if I can fix particular version for particular binary.
For example:
I have [email protected], [email protected], [email protected].
I want update all bins except foo. I want to call something like this
go-global-update --exclude foo
orgo-global-update --fix [email protected]
.The text was updated successfully, but these errors were encountered: