tbump icon indicating copy to clipboard operation
tbump copied to clipboard

Idea: Pass in commandline config from pyproject.toml

Open Rowlando13 opened this issue 3 years ago • 5 comments

This is a super great project! I think it is a really clean rewrite of bumpversion. It is also really nice to have support for pyproject.toml. These days there are so many configuration files. It would be nice to be able to pass in command line arguments in the pyproject.toml file. I think you could do it nicely if you had a [tool.tbump.options] heading. Then you could pass in something like patch-only = true . It does not look too hard. I could add it if you are interested.

Rowlando13 avatar Aug 01 '22 01:08 Rowlando13

Please do :)

dmerejkowsky avatar Aug 01 '22 18:08 dmerejkowsky

Got it.

Rowlando13 avatar Aug 07 '22 03:08 Rowlando13

I don't use poetry. I installed dev dependencies using pip by looking at your pyproject and manually typing them into pip. Do you know of a better way? I can add it to your README for future contributors.

Rowlando13 avatar Aug 07 '22 05:08 Rowlando13

So... I made a mistake about the ease of adding to the codebase. You project is much more complex than I initially thought. I made some minor documentation updates instead. Thanks again for the project.

Rowlando13 avatar Sep 02 '22 18:09 Rowlando13

You project is much more complex than I initially thought.

It seems we need to either document and/or improve the current architecture - you're not the first person to find the project hard to patch ...

But this is still a valid feature request - re-opening

dmerejkowsky avatar Sep 05 '22 15:09 dmerejkowsky