-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
Description
I'm not a fan of rewriting config files.
Feedback we had in various issues shows it's
- ugly (it moves sections around, can affect newlines and whitespace)
- inconvenient (it introduces source control changes in places where it should not)
- dangerous (it drops comments!)
- probably unnecessary
See for example #62, #83, #87, #90, #94, #161, #163, #169, #201, #207, #217, #228.
How are we going to solve this?
Various things we can do:
- Update the version in the config file, but don't rewrite the whole file.
- Rely on setup.cfg
version. - Rely on the version found in the first
bumpversion:file:section. - Don't update the config file unless the user configures bump2version to do it.
JonZeolla, srazzell, xbreak, whonore, starhel and 4 more