Giter VIP home page Giter VIP logo

Comments (10)

geoah avatar geoah commented on May 26, 2024 1

Awh found it.
Basically you can't pull from a branch that looks like a version.

golang/go@21f5484

Note that branches with names that overlap with other module query syntax cannot be selected explicitly. For example, the suffix @v2 means the latest version starting with v2, not the branch named v2.

from clover.

joyhope avatar joyhope commented on May 26, 2024 1

thank you very much. I just found a model replace could solve the problem, but it is a ugly solution. ( I had to manual copy your repository.

After you update, it seems perfect to use the normal method. It works. Thanks !!!

from clover.

ostafen avatar ostafen commented on May 26, 2024

I could try to delete the tag and create it again

from clover.

geoah avatar geoah commented on May 26, 2024

Hey, not sure that will solve anything.
Were you able to replicate this by any chance? Might just be something on my setup.

from clover.

ostafen avatar ostafen commented on May 26, 2024

go get github.com/ostafen/clover/v2 correctly fetches the last tagged version (which is v2.0.0-alpha.2) on my machine.
That version has not the document package, so what you are getting is correct.

from clover.

geoah avatar geoah commented on May 26, 2024

That is correct, but usually you should be able to get the latest version by doing go get github.com/ostafen/clover/v2@main to pull from a specific branch. That works fine for branches like v2-store-merge but doesn't work for the v2 branch for some reason, I assume it might have something to do with the way go mod makes assumptions about versions.

from clover.

joyhope avatar joyhope commented on May 26, 2024

The version problem is really annoying. Git using v2.0.0-alpha.2, but it is not the latest repository.

The document said the default engine is bblot, but the fact is not, The default engine is /badger/v3. In the v2, I could not found how to switch to the bbolt engine.

The project is good, but the version and doc seems stop the new user.

from clover.

joyhope avatar joyhope commented on May 26, 2024

I could not find the way to use the latest repository code. Is there any suggestion?

from clover.

ostafen avatar ostafen commented on May 26, 2024

@joyhope: just pushed a new tag, which should fix your issue. Let me know if that works

from clover.

Shane-XB-Qian avatar Shane-XB-Qian commented on May 26, 2024

@ostafen so here v2 just meant a 'dev' version (or actually a branch and/but it is 'default' branch)?
the new coming commits all would merged to v2 only, right?
// would you switch to use 'main' as default branch later?

from clover.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.