renovate icon indicating copy to clipboard operation
renovate copied to clipboard

Golang psuedo-version parsed as valid semver

Open sp3nx0r opened this issue 2 years ago • 1 comments

What would you like Renovate to be able to do?

Ref: https://github.com/renovatebot/renovate/discussions/17079

Renovate should be able to parse golang's "psuedo-versions" for dependencies that were added prior to the existence of a tagged version on its repo. Example repo https://github.com/sp3nx0r/renovate-golang-semver . In the example repo, it's pinned to v0.0.0-20220106215444-fb4bf637b56d which is the timestamp and commit sha combo of the latest commit.

If you have any ideas on how this should be implemented, please tell us here.

Add parsing to take the - combo and evaluate git commits to see if that's latest (for patch upgrade) and check for normal tag (v0.1.0 etc.) for minor/major upgrades.

Is this a feature you are interested in implementing yourself?

No

sp3nx0r avatar Aug 09 '22 21:08 sp3nx0r

By the way, it's spelled pseudo. 😉

HonkingGoose avatar Aug 10 '22 07:08 HonkingGoose

Please add a readme to the reproduction repo describing expected behavior vs actual. It's not clear form here and the repo about what is wrong.

rarkins avatar Aug 10 '22 14:08 rarkins

Hi there,

Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible.

Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this.

To get started, please read our guide on creating a minimal reproduction.

We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment.

Good luck,

The Renovate team

github-actions[bot] avatar Aug 10 '22 14:08 github-actions[bot]