Skip to content

Conversation

@ffrank
Copy link

@ffrank ffrank commented Sep 8, 2024

Add a comment to go.mod that is placed according to the go.mod specification to give some background to the retraction of older releases. Also make the text more clear to explain what happened.

The 2.0.0 version is removed from the list, as it was leading to an error e.g. from go mod tidy:

go.mod:24:2: retract github.com/tredoe/osutil: version "v2.0.0" invalid: should be v0 or v1, not v2

I made this after looking for an issue with a downstream project that pulls this one as a dependency broke after this. People got a bit worried that something nefarious may have happened here (I did check for clues of malicious code hidden here now, in fact). The new wording will hopefully ease the mind of people hitting this problem in the future. (This can still hit downstreams that don't update and build their modules frequently.)

Add a comment to go.mod that is placed according to the go.mod
specification to give some background to the retraction of older
releases. Also make the text more clear to explain what happened.

The 2.0.0 version is removed from the list, as it was leading to an
error e.g. from go mod tidy:

    go.mod:24:2: retract github.com/tredoe/osutil: version "v2.0.0" invalid: should be v0 or v1, not v2
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