Git Product home page Git Product logo

Comments (7)

sirlancelot avatar sirlancelot commented on August 22, 2024

How about using a special character like §X.Y.Z on the first version/subsequent versions that uses semantic notation? I see problems in just requiring vX.Y.Z to be in the history because some people might be doing that already without regard to its meaning in this context.

from semver.org.

nome avatar nome commented on August 22, 2024

Very good. The clarification that the semver tag must point to the same changeset as a vX.Y.Z tag is missing from the website.

from semver.org.

mojombo avatar mojombo commented on August 22, 2024

The biggest problem here is that I don't want to require the use of a versioning system in order to be SemVer compliant.

from semver.org.

trans avatar trans commented on August 22, 2024

Just b/c someone says they are using semver doesn't mean they have done so, and especially to perfection. I think we need to be intellectually honest here and see semver for what it is, a strong set of guidelines. It is not something that can be readily tested or verified about a project. So I doubt any tools can really make much use of the fact.

That being said, the proper approach would be a field in the project metadata (e.g. gemspec) like version_policy set to semver.

from semver.org.

postmodern avatar postmodern commented on August 22, 2024

From the package manager side of things, I only want to see three-part version numbers (with an optional build suffix) all separated by a ..

From an automated-tool/SCM point of view, only recognizing tags which begin with a v is the easiest route. This allows tools to ignore any other non-semver tags (0.2) or date tags (4.20.2010).

from semver.org.

mojombo avatar mojombo commented on August 22, 2024

The bottom line is that if it's too hard to be compliant, then nobody well even bother. The spec is lightweight on purpose, to make sure the philosophy is conveyed. For most projects, absolute compliance is impossible because they will never properly specify a Public API. That is fine. As long as the philosophy of SemVer is being understood, then the spec is accomplishing my goal.

from semver.org.

mojombo avatar mojombo commented on August 22, 2024

SemVerTag will be removed from the spec, so this is no longer an issue. I don't think automatic detection of SemVer compliant packages was ever viable in the first place.

from semver.org.

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.