Git Product home page Git Product logo

Comments (4)

AdamSLevy avatar AdamSLevy commented on June 3, 2024

This is normal behavior for go modules when you update to an untagged commit that is after a tagged version.

from sqlite.

distributed avatar distributed commented on June 3, 2024

Is everything about the behavior I see expected to you?

How come that a v0.1.3 seems to exist (I guess it's existence from the version name when updating to master) but I cannot update to it?

from sqlite.

AdamSLevy avatar AdamSLevy commented on June 3, 2024

Is everything about the behavior I see expected to you?

Yes. The latest version tag is v0.1.2. The latest commit on master is past that point. When you run go get crawshaw.io/sqlite@master you are instructing it to fetch the latest commit on master. Go modules gives this commit a name in your go.mod file and part of that name includes what you might call a "pseudo" version, which is a minor version above the most recently published tagged version.

When you run go get crawshaw.io/[email protected] it fails because this tag does not actually exist. The v0.1.3 is just a placeholder for what go modules assumes the next version tag would be.

When you run go get crawshaw.io/sqlite it gets the latest tagged commit, which is v0.1.2.

All of this is normal behavior.

Sometime later today I will release a new minor version that includes bug fixes and a few extra features. This will be v0.2.0 so just look out for that sometime this week.

from sqlite.

distributed avatar distributed commented on June 3, 2024

Thank you for the thorough explanation. Now I understand.

I wasn't aware of the minor+1 pseudo commit. TIL :)

from sqlite.

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.