Git Product home page Git Product logo

Comments (6)

basnijholt avatar basnijholt commented on September 23, 2024

I fixed it by doing this.

I've opened #7 to implement the same change here.

from miniver.

jbweston avatar jbweston commented on September 23, 2024

Thanks for the report!.

Not sure why this doesn't work; I will look into it.

from miniver.

jbweston avatar jbweston commented on September 23, 2024

I understand now. miniver uses annotated tags to determine the version from git, however instabot uses unannotated tags.

The difference is essentially that annotated tags store metadata like the person who created it, time of creation etc., whereas unannotated tags do not.

AFAIK the recommended way to tag versions is using annotated tags. I often use unannotated tags to mark work in progress stuff, or to easily move around in the git history, and using these shouldn't affect the version....

from miniver.

jbweston avatar jbweston commented on September 23, 2024

the --tags flag will get git describe to use unannotated tags to determine a description.

from miniver.

jbweston avatar jbweston commented on September 23, 2024

Here's a stack overflow question that discusses this.

I'm pretty convinced that using annotated tags is the Right Way, however even large projects like scikit-learn had this problem during their development, and such projects should still be able to profit from miniver.

from miniver.

jbweston avatar jbweston commented on September 23, 2024

I think in the end we shouldn't allow unannotated tags to denote versions.

Miniver is an opinionated tool. If someone's project really wants to use unannotated tags for their versions, then they should modify the source. I can add a section to the README and a patch that can be applied to allow unannotated tags.

from miniver.

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.