Giter Site home page Giter Site logo

Comments (4)

adamralph avatar adamralph commented on August 15, 2024 3

@Styxxy thanks for asking.

I evaluated both GitTools.GitVersion and Nerdbank.GitVersion before starting this, but neither of them works in the way that I want for my projects.

The TL;DR is that MinVer is simpler. How it works pretty much captures everything. At least, as currently designed, since it's still a work in progress. There is no NuGet package available yet.

How does this project compare to GitTools.GitVersion ... ?

To some degree, it's a subset of what GitTools.GitVersion does. It's much simpler and doesn't do nearly as much. Some of the differences:

  • No dependency on a specific branching pattern.
  • No inference of version from branch names.
  • No inference of version from YAML config.
  • No inference of version from commit messages.
  • No inference of version from CI build server env vars.
  • No creation of metadata code artifacts.
  • No automatic fetching of tags, etc. from the repo.
  • One package instead of a series of packages.
  • No support for AssemblyInfo.cs

How does this project compare to ... Nerdbank.GitVersion?

It's different approach, and again, simpler (some of the differences are already listed under my previous answer for GitTools.GitVersion).

Essentially, Nerdbank.GitVersion wraps up the injection of the version into the build process from a config file. That means versions are controlled by commits to that config file. MinVer works purely on tags. That means it doesn't need some of the types of things that come with Nerdbank.GitVersion such as the config file bootstrapper, and it means the version is controlled independently of the commits. E.g. you can tag a commit as a release candidate, build it and deploy. After some time, if the release candidate has no bugs, you can tag the same commit as RTM, build it and deploy.

Also, Nerdbank.GitVersion uses the git height for the patch version, and that's not what I want.

from minver.

adamralph avatar adamralph commented on August 15, 2024 1

@Styxxy FYI I raised #227 based on this conversation. Thanks again for raising this question.

from minver.

Styxxy avatar Styxxy commented on August 15, 2024

Thanks for the clarification.

Might be interesting to document this ;-) .

from minver.

adamralph avatar adamralph commented on August 15, 2024

@Styxxy yeah, I was thinking the same. 🙂

I think it's worth getting that into an FAQ when the design is proven, and at least a beta or RC package is available.

Thanks again for raising this.

from minver.

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.