-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discuss: How to avoid rewriting the full config file #185
Comments
Proposal:
Whether to modify
The latter is most compatible with current behavior, but the middle option seems more intuitive. This takes care of whitespace issues, newline issues, dropped comments, double version definitions in |
Rather than relying on the first file defined, one file's config could have another variable defined, |
Why not keep a single explicit file just for the version? So at the bare minimum, one can expect that at least this file will always appear in VCS logs on version bump commits. It will:
P.S. |
@florisla, what do you think about allowing user to specify a version file like suggested by @clbarnes and @maven-slava? *By allowing user to decide between mutually exclusive config properties |
I solved this issue by switching to bumpver. Nice package which is not listed in RELATED.md alternatives. |
I'm not a fan of rewriting config files.
Feedback we had in various issues shows it's
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:
version
.bumpversion:file:
section.The text was updated successfully, but these errors were encountered: