[Bug] Go-Dependency | invalid pseudo-versio #4064

Closed
opened 2025-11-02 05:36:20 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @6543 on GitHub (Oct 6, 2019).

go: github.com/go-macaron/cors@v0.0.0-20190309005821-6fd6a9bfe14e9: invalid pseudo-version: revision is longer than canonical (6fd6a9bfe14e)

Originally created by @6543 on GitHub (Oct 6, 2019). go: github.com/go-macaron/cors@v0.0.0-20190309005821-6fd6a9bfe14e9: invalid pseudo-version: revision is longer than canonical (6fd6a9bfe14e)
GiteaMirror added the type/bug label 2025-11-02 05:36:20 -06:00
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

needed for https://github.com/alpinelinux/aports/pull/10887

@6543 commented on GitHub (Oct 6, 2019): needed for https://github.com/alpinelinux/aports/pull/10887
Author
Owner

@techknowlogick commented on GitHub (Oct 6, 2019):

This is resolved in gitea 1.10-dev, We are unable to backport it.

Gitea 1.9.x does not support go1.13

@techknowlogick commented on GitHub (Oct 6, 2019): This is resolved in gitea 1.10-dev, We are unable to backport it. Gitea 1.9.x does not support go1.13
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

@techknowlogick alpinelinux user are still on giea version 1.8.3 !
an i had a PR wich get tehm 1.9.3 but this is blocking it and to wait until 1.10.x has its first stable release will take a wile :(

@6543 commented on GitHub (Oct 6, 2019): @techknowlogick alpinelinux user are still on giea version 1.8.3 ! an i had a PR wich get tehm 1.9.3 but **this** is blocking it and to wait until 1.10.x has its first stable release will take a wile :(
Author
Owner

@techknowlogick commented on GitHub (Oct 6, 2019):

@6543 sadly this error is caused by an upstream library, and we have resolved this, but sadly in a way that can't be backported. 1.10 milestone is almost complete (less than 5 PRs left).

@techknowlogick commented on GitHub (Oct 6, 2019): @6543 sadly this error is caused by an upstream library, and we have resolved this, but sadly in a way that can't be backported. 1.10 milestone is almost complete (less than 5 PRs left).
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

this: https://tip.golang.org/doc/go1.13#version-validation
is telling me that we would only add one line in go.mod

@6543 commented on GitHub (Oct 6, 2019): this: https://tip.golang.org/doc/go1.13#version-validation is telling me that we would only add one line in go.mod
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

the diff would be:

diff --git a/go.mod b/go.mod
index 2c137af81..629d35ea7 100644
--- a/go.mod
+++ b/go.mod
@@ -46,7 +46,7 @@ require (
        github.com/go-macaron/binding v0.0.0-20160711225916-9440f336b443
        github.com/go-macaron/cache v0.0.0-20151013081102-561735312776
        github.com/go-macaron/captcha v0.0.0-20190710000913-8dc5911259df
-       github.com/go-macaron/cors v0.0.0-20190309005821-6fd6a9bfe14e9
+       github.com/go-macaron/cors 6fd6a9bfe14e9
        github.com/go-macaron/csrf v0.0.0-20180426211211-503617c6b372
        github.com/go-macaron/i18n v0.0.0-20160612092837-ef57533c3b0f
        github.com/go-macaron/inject v0.0.0-20160627170012-d8a0b8677191
@6543 commented on GitHub (Oct 6, 2019): the diff would be: ```diff diff --git a/go.mod b/go.mod index 2c137af81..629d35ea7 100644 --- a/go.mod +++ b/go.mod @@ -46,7 +46,7 @@ require ( github.com/go-macaron/binding v0.0.0-20160711225916-9440f336b443 github.com/go-macaron/cache v0.0.0-20151013081102-561735312776 github.com/go-macaron/captcha v0.0.0-20190710000913-8dc5911259df - github.com/go-macaron/cors v0.0.0-20190309005821-6fd6a9bfe14e9 + github.com/go-macaron/cors 6fd6a9bfe14e9 github.com/go-macaron/csrf v0.0.0-20180426211211-503617c6b372 github.com/go-macaron/i18n v0.0.0-20160612092837-ef57533c3b0f github.com/go-macaron/inject v0.0.0-20160627170012-d8a0b8677191 ```
Author
Owner

@techknowlogick commented on GitHub (Oct 6, 2019):

Please send PR for this against release/v1.9 banch :)

@techknowlogick commented on GitHub (Oct 6, 2019): Please send PR for this against release/v1.9 banch :)
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

THANKS

I'll make some tests before

@6543 commented on GitHub (Oct 6, 2019): THANKS I'll make some tests before
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

with the first changes make will get an errror but go build run just fine ...
after it the diff looks similar but now make run too ...

ill send the final patch as PR ...

@6543 commented on GitHub (Oct 6, 2019): with the first changes `make` will get an errror but `go build` run just fine ... after it the diff looks similar but now make run too ... ill send the final patch as PR ...
Author
Owner

@6543 commented on GitHub (Oct 6, 2019):

@techknowlogick https://github.com/go-gitea/gitea/pull/8389

@6543 commented on GitHub (Oct 6, 2019): @techknowlogick https://github.com/go-gitea/gitea/pull/8389
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4064