Giter Club home page Giter Club logo

Comments (2)

peritus avatar peritus commented on August 20, 2024

First: Thank you for writing this down, especially usability problems like this are hard to come by because I can't look every user over the shoulder and hear them thinking!

About: bumpversion: error: too few arguments: That's auto-generated by argparse, because no command line argument was given (and part is among many others an argument). You're right, this can only be caused by not giving a "part" at the moment. I should probably catch this explicitly and show a nicer error message, before handing things off to argparse.

In the standard configuration, a part is "one of major, minor, patch", however that list is configurable so it might be anything else.

You're right "part" may be an unfortunate name, and it's very well up for discussion. "level" might be better, but I don't think that's to the point. Why is it so hard finding a name for this ?

About your suggestion making "part" optional: That was the default behavior in bumpversion < 0.3, and I made it so because bumping versions is something explicit that you do conciously and I want users to make an explicit choice which part of the version should be bumped.

from bumpversion.

peritus avatar peritus commented on August 20, 2024

Closing this until someone (maybe me?) comes up with a better name. I'm very open to suggestions!

from bumpversion.

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.