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

switch to warning when replacing to lower version than require block #23

Closed
wants to merge 1 commit into from

Conversation

hectorj2f
Copy link
Member

@hectorj2f hectorj2f commented Feb 1, 2024

You can do this in go.mod files when the version of require is higher than the one in replace, e.g github.com/dockerdocker https://github.com/upbound/up/blob/v0.22.1/go.mod#L271C30-L271C77

@hectorj2f hectorj2f self-assigned this Feb 1, 2024
@hectorj2f hectorj2f requested a review from luhring February 1, 2024 15:57
@luhring
Copy link
Member

luhring commented Feb 1, 2024

I actually don't know if we should do this. I'd like to better understand why this is necessary first — I think the "raising an error" aspect of the automation is actually a foundational part of its value

@hectorj2f
Copy link
Member Author

@hectorj2f
Copy link
Member Author

Closing this PR! @luhring and I discussed about this and we prefer to error for the moment.

@hectorj2f hectorj2f closed this Feb 3, 2024
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.

2 participants