c4urself / bump2version

Version-bump your software with a single command
https://pypi.python.org/pypi/bump2version
MIT License
1.05k stars 134 forks source link

multiple file arguments on the command line, and the file= parameter in [bumpversion] #65

Open rbeyer opened 5 years ago

rbeyer commented 5 years ago

I have file handling on my mind (#64) and I notice that there is a PendingDeprecationWarning on the ability to provide multiple files on the command line (and a similar warning on the undocumented files = parameter in the main [bumpversion] section of the config file--which accomplishes the same thing).

These PendingDeprecationWarnings are present in the upstream https://github.com/peritus/bumpversion. Why would that functionality be deprecated and is that still the plan?

florisla commented 5 years ago

I've read somewhere that the 'multiple files' functionality predates the .bumpversion.cfg config file support.

So the assumption seems to be that a proper configuration file makes things more flexible (especially given that you can set options differently per file) and covers all needs.

And I think it actually does cover all needs, save for the #64 functionality.

c4urself commented 5 years ago

I guess it makes sense to fully deprecate this once we address #64.

florisla commented 4 years ago

111 also covers some of the use cases.