-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
help wantedHelp is needed or welcomed on this issueHelp is needed or welcomed on this issuemanager:gomodGo ModulesGo Modulespriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersDefault priority, "should be done" but isn't prioritised ahead of others
Description
What would you like Renovate to be able to do?
Update major versions in projects that have Go vendoring enabled.
Eg. github.com/google/go-github/v48 to github.com/google/go-github/v50
Reproduction repository: https://gitlab.com/hugoboos/renovate-go-update-import
Related discussion: #20996
If you have any ideas on how this should be implemented, please tell us here.
At the moment Renovate updates go.mod. This should be done by the mod tool. This tool is already being used by Renovate. Only the order should be changed.
- Run
modto change the import paths - Run
go mod tidy, this will updatego.mod. Possible that version is different from that Renovate selected. - Change the version in
go.modfor the updated package. - Run
go mod tidy - Run
go mod vendor - Commit
Is this a feature you are interested in implementing yourself?
No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedHelp is needed or welcomed on this issueHelp is needed or welcomed on this issuemanager:gomodGo ModulesGo Modulespriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersDefault priority, "should be done" but isn't prioritised ahead of others
Type
Fields
Give feedbackNo fields configured for Feature.