Giter Site home page Giter Site logo

Comments (8)

bording avatar bording commented on September 17, 2024

Can you explain the scenario a bit more? I'm not sure I follow what the problem would be here.

from minver.

adamralph avatar adamralph commented on September 17, 2024

@bording if MinVerMajorMinor is set to 1.0, and a 1.1 tag is added, then MinVerMajorMinor is redundant, since the tag supersedes it.

from minver.

bording avatar bording commented on September 17, 2024

Why does that need to be a warning? We're expecting it to be superseded in that case. It was originally called something like "minimumMajorMinor".

I've been thinking of that value as the same as the GitVersion's next-version property, which sets the floor for the version but doesn't set the ceiling.

from minver.

adamralph avatar adamralph commented on September 17, 2024

I guess it doesn't have to be a warning, it could just be a message at the info/normal level.

I keep thinking about changing the name back to MinVerMinimumMajorMinor but then finding excuses not to. I just found that name so unwieldy, but I guess it would completely remove the need for any message saying it's redundant, because the redundancy in the presence of a later tag is implicit in the name.

It also would get rid of the lingering concern I have that people may think they need to increase the value to the next major-minor before they start labelling with that major-minor. Perhaps I should just bite the bullet and rename it back again...

from minver.

bording avatar bording commented on September 17, 2024

I do think MinVerMinimumMajorMinor expresses the intent better. If you have full verbose logging on, I would expect to see something that indicates that it was used to set the minimum version, but then something else (a tag) caused the version to be higher.

from minver.

adamralph avatar adamralph commented on September 17, 2024

If you have full verbose logging on, I would expect to see something that indicates that it was used to set the minimum version, but then something else (a tag) caused the version to be higher.

Makes sense. I'll convert this issue to that.

from minver.

adamralph avatar adamralph commented on September 17, 2024

Also raised #153

from minver.

adamralph avatar adamralph commented on September 17, 2024

Released in beta 2.

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.