-
Notifications
You must be signed in to change notification settings - Fork 323
v28 No matching versions for query "latest" #536
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
Comments
huh, i just tried it earlier today and worked fine :S #535 (comment) what version of go are you using? there seems to be some problems with go 1.11-1.12 and modules per golang/go#27215 do you have any other ways of helping us reproduce the issue? |
I've been having this same issue:
The behavior is only present when in a directory with a I'm too new to dealing with modules to know what to suggest, but I'd be happy to provide any more information that would be useful. This is reproducible in a golang:alpine docker instance
|
BTW, I tried to install this via Is this correct for how the git2go project manages tagging and releases? |
Just created v0.28.4.1, that one should work. |
Thank you! I didn't intend my comment to be snippy, I thought I didn't understand how this tracks libgit2. Very much appreciate this project and your efforts! |
oh now i read my reply and it comes as being a bit curt. it wasn't my intention ^^;; so far this is what i've gathered:
let me ask around and see if there are any good options i'm missing. |
This is compliant with https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher, which says ``` Major branch: Update the go.mod file to include a /v3 at the end of the module path in the module directive (e.g., module github.com/my/module/v3). Update import statements within the module to also use /v3 (e.g., import "github.com/my/module/v3/mypkg"). Tag the release with v3.0.0. ``` This also means that unfortunately we cannot keep using libgit2's exact version number (plus a build number for git2go purposes, since go only recognizes vMAJOR.MINOR.PATCH format). (Tentatively) fixes: libgit2#536
This is compliant with https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher, which says ``` Major branch: Update the go.mod file to include a /v3 at the end of the module path in the module directive (e.g., module github.com/my/module/v3). Update import statements within the module to also use /v3 (e.g., import "github.com/my/module/v3/mypkg"). Tag the release with v3.0.0. ``` This also means that unfortunately we cannot keep using libgit2's exact version number (plus a build number for git2go purposes, since go only recognizes vMAJOR.MINOR.PATCH format). (Tentatively) fixes: #536
after reading a bit more, i have a proposal.
this might make it a bit unwieldy to use with gopkg.in, but given that the tooling has improved in the last months, it might be okay in the end. if there are no major concerns, this will be implemented some time next week now that libgit2 0.99.0 has been released and we would need to create new branches anyways. |
FWIW this sounds good to me. I worked on bindings for ZK for a long time, and I know how difficult it is when you need to have two versions that you're representing with one name. I'm generally of the opinion that releases should be tagged, that way there's an unambiguous pointer with human meaning given to a specific revision of the code. Repeatability is generally the primary concern that I have. That being said, and in my (admittedly inexpert) reading of the go.mod docs regarding the role of Again, thank you for your efforts, and for giving careful thought to this issue. I find this project immeasurably useful (especially since it means I don't have to go learn C++, which some others are strong advocates for). Cheers! :) |
All right, all tags have been created and now gopkg.in is much happier.
|
This is compliant with https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher, which says ``` Major branch: Update the go.mod file to include a /v3 at the end of the module path in the module directive (e.g., module github.com/my/module/v3). Update import statements within the module to also use /v3 (e.g., import "github.com/my/module/v3/mypkg"). Tag the release with v3.0.0. ``` This also means that unfortunately we cannot keep using libgit2's exact version number (plus a build number for git2go purposes, since go only recognizes vMAJOR.MINOR.PATCH format). (Tentatively) fixes: libgit2#536
Hi,
I'm trying to import v28 into a fresh project but getting the following error when compiling:
I have libgit2 v0.28.4-1 installed.
P.S. I had v27 installed and its working fine
The text was updated successfully, but these errors were encountered: