renovate
renovate copied to clipboard
Golang parse 'incompatible' component of semver
What would you like Renovate to be able to do?
Ref: https://github.com/renovatebot/renovate/discussions/17079
Golang dependencies that aren't v2 module compatible (i.e. don't have a go.mod
in their source) but have a valid semver get tagged as <semver>+incompatible
in go.mod
. Renovate cannot currently parse this but should as the dependency is still eliglbe for upgrade, it's just a signifier that the dependency doesn't comply with go modules v2.
Example repo: https://github.com/sp3nx0r/renovate-golang-incompatible
If you have any ideas on how this should be implemented, please tell us here.
Just strip the +incompatible
component of the semver and treat it as standard semver, without the need for users to create a custom version regex rule. This doesn't affect the underlying capability of the dependency
Is this a feature you are interested in implementing yourself?
No
can you show us the custom version regex you made to resolve this? for other people who are facing the same issue
:tada: This issue has been resolved in version 32.208.3 :tada:
The release is available on:
- GitHub release
-
32.208.3
Your semantic-release bot :package::rocket: