Git Product home page Git Product logo

Comments (6)

pgundlach avatar pgundlach commented on July 17, 2024 2

I have now started to use tags. Hope that I will keep it up (half automated). Thank you very much for opening this issue and covincing me to just use va.b.c tags.

from publisher.

pgundlach avatar pgundlach commented on July 17, 2024

Do you think of a special way to tag the releases? I'd think of release/v1_2_3 or something similiar. Would that be appropriate?

from publisher.

alerque avatar alerque commented on July 17, 2024

Why? My observation is that many projects start out thinking they want a scheme like that, but rarely do they actually end up serving a purpose. Meanwhile projects that just tag the release number with no fuss rarely have any issues with it. At most (and my personal preference) just using a v prefix for releases and then following everything after that with a semver parsable tag name serves me pretty well. If it doesn't start with v\d+.\d+.\d+ then it isn't a release tag.

from publisher.

alerque avatar alerque commented on July 17, 2024

In particular changing out the . separator for _ in your suggested scheme is particularly a nuisance downstream because it has to be parsed with a hand crafted replacement to get back to the matching version number of vice versa. Parsing the v prefix or not is pretty standard, everything else is the realm of every distro having to hand craft a regex to parse them.

from publisher.

pgundlach avatar pgundlach commented on July 17, 2024

I have never had any use for version tags, so that is the reason of my question.
Would a release/ prefix harm? I assume so: you mention distros having to do custom parsing.

I need to find a way to put this in my build software.

from publisher.

alerque avatar alerque commented on July 17, 2024

No harm that can't be fixed, but why anoy people for no gain? With the vast majority of projects using it you aren't going to run into tooling problems with just using the release version as the tag. You already have a few old v3.x.y tags already, just keep up the trend. Changing scemes is far more likely to inconvenience far mor downstream folks than any scheme you do use consistently.

$ git tag v4.15.19 7d1037fd
$ git push --follow-tags

from publisher.

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.