Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/vgo: Feature request rules file for -u and -p updates #24690
You're asking for a configuration file to change the meaning of vgo get -u and vgo get -p on a per-module basis. I don't see this happening. The go command eschews this kind of customization complexity. If you want to make it easier to update certain dependencies a certain way, I would suggest instead a shell script. In your example:
(If you name it update.bat and mark it executable it will work equally well on Unix and Windows. :-) )
Note that the get commands don't work the right way today to accept those arguments, but the plan is to make them work. Perhaps the lack of being able to write those commands today is what motivated the suggestion of a separate config file.