Skip to content
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

feat: add a replace command that can be used to handle module relocation and rename #26

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

xNok
Copy link

@xNok xNok commented Feb 12, 2024

I discovered your utility via Renovate, which uses it to handle the major upgrade workflow. The module is conveniently called mod, so it could be extended to auto-resolve all the mod-related issues.

Renovate recently introduced the "replacement" feature that can be used to update the dependencies for which the package name has changed. Unfortunately, the gomod manager is not supported, so I am planning to do the work and get it implemented.

There are a few cases where this happens in go

  • Repository changes owners or is given to a different organisation
  • Migration to a different repository hosting solution Github <-> Gitlab <-> Bitbucket <-> etc
  • Introducing registry or vanity URLs.

My renovate branch for this feature: https://github.com/xNok/renovate/tree/replacement-for-gomod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant