Code Monkey home page Code Monkey logo

bumpversion's People

Contributors

stinovlas avatar tpazderka avatar ziima avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bumpversion's Issues

Make --allow-dirty a list of glob patterns

--allow-dirty and bumpversion.allow_dirty configuration option should be interpreted as a list of glob patterns. These glob patterns will be ignored when deciding whether to block bumpversion due to dirty git state.

Legacy support

Decide on how much do we want to provide legacy support for people migrationg from bump2version. Our bumpversion is never going to be fully backwards compatible (ini config alone is a blocker for that one), but we can try to get closer if we decide it's worth it.

Ideas:

  • Other CLI arguments
  • Enumerated parts (e.g. alpha, beta, gamma)

Print replacer diffs

Replacer may print file diffs when verbosity=DEBUG. It would also be a useful feature for --dry-run.

Obscure error message on nonexistent file

When bumpversion config contains a configuration for a nonexistent file, the program die with a traceback an a somewhat obscure error message:

<Traceback retracted>
pydantic.error_wrappers.ValidationError: 1 validation error for Settings
file -> 0 -> path
  file or directory at path "bumpversion.toml" does not exist (type=value_error.path.not_exists; path=bumpversion.toml)

From the message, it's not clear the problem is in the config file. Most likely applies to all configuration errors.

Add migration guide from bump2version

Add migration guide for bump2version users. It should mainly cover the migration of configuration from .bumpversion.cfg (INI format) to .bumpversion.toml (TOML format).

Improve README

Right now, README is not providing any useful information. We should describe why and how this project emerged and add basic install and usage information together with links to more detailed documentation (see #9).

Add bumpversion init

Add bumpversion init <version> [<schema>] [--config-file <config-file>] that initializes bumpversion configuration in given config file (or .bumpversion.toml by default). It may be interactive (asking user questions about schema or files).

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.