Manuel Barkhau
3879281dbd
fix mypy
2022-10-14 17:19:44 +00:00
Manuel Barkhau
61a5556a4a
make fmt
2022-10-14 17:19:44 +00:00
Manuel Barkhau
7d56d7b582
fix #190 - Enable multiple patterns on one line
2022-10-14 17:19:44 +00:00
Bruce Schultz
1e743aa56d
Revert "bump 2022.1119 -> 2022.1120"
...
This reverts commit cacf64c9c8aa6314f866743a2a0de0db399bbe3a.
2022-10-14 07:47:05 +00:00
Bruce Schultz
ff91ed754c
bump 2022.1119 -> 2022.1120
2022-10-14 07:47:05 +00:00
Bruce Schultz
56e8eb9bc0
fix: add quotes to path in "add_path" subcommand
2022-10-14 07:47:05 +00:00
Manuel Barkhau
f33f933739
bump 2022.1117 -> 2022.1118
2022-07-01 22:44:54 +00:00
Manuel Barkhau
fa6d48fd9f
remove regex chars: ^ and $ during replacement
2022-07-01 22:34:59 +00:00
Manuel Barkhau
023f9bffcd
bump 2022.1116 -> 2022.1117
2022-06-08 20:07:04 +00:00
Manuel Barkhau
0d8b6a5538
make fmt
2022-06-08 20:02:27 +00:00
Daylin Morgan
5a2f90bce3
add support for -h
2022-06-08 20:02:27 +00:00
Manuel Barkhau
ad837c09dd
make fmt
2022-06-08 19:48:18 +00:00
Michał Pasternak
da44922261
Optional GITHASH directive for version_pattern
...
Optionally add GIT hash to your version number.
2022-06-08 19:48:18 +00:00
Manuel Barkhau
e96904438b
bugfix
2022-06-08 19:48:18 +00:00
Manuel Barkhau
9be1186601
fix #171 : parse remote (remove hardcoded 'origin')
2022-03-12 00:22:23 +00:00
Manuel Barkhau
25b6d39c03
bump 2022.1115 -> 2022.1116
2022-03-11 12:43:28 +00:00
Manuel Barkhau
3e6fa33eeb
fix gh #172 : allow recursive globs
2022-03-11 09:49:42 +00:00
Timo Ludwig
1fb7e84e91
Fix incorrect version comparison when updating from vcs tag
2022-03-08 01:20:51 +00:00
Manuel Barkhau
328ef5c10a
bump 2021.1114 -> 2022.1115
2022-02-11 22:44:31 +00:00
Manuel Barkhau
53617b2624
fix: gh#172 use default date values
...
When parsing the current version, if it doesn't
specify anyt date part, (such as is the case for
e.g. SemVer), then use the current date to
populate default parts.
This enables updating YYYY patterns in copyright
headers even for projects that don't use a CalVer
pattern.
2022-02-11 22:33:17 +00:00
Manuel Barkhau
028d77751b
bump 2021.1113 -> 2021.1114
2021-11-07 12:45:44 +00:00
Manuel Barkhau
29f0925bd3
cleanup
...
- flat is better than nested
- more consistent variable names
- positive messages
2021-11-07 12:41:06 +00:00
Manuel Barkhau
0a109aad21
update vcs option cascade
...
- use cfg.commit explicitly (this condition was previously only
implicit, because the function isn't called in the first place
if cfg.commit is False
- allow push even with tag=False
2021-11-07 12:41:06 +00:00
Timo Ludwig
b4cf3a5f32
Add command line parameters for VCS configuration
...
- Add the following flags to the 'bumpver update' command:
* --commit / --no-commit
* --tag-commit / --no-tag-commit
* --push / --no-push
- Add test cases for these flags including checks for incorrect usage
- Document new flags in README
2021-11-07 12:41:06 +00:00
Timo Ludwig
b3e7228189
Convert regular format strings to f-strings
...
This fixes the 'consider-using-f-string' pylint warnings
2021-11-07 12:41:06 +00:00
Manuel Barkhau
9137e84bed
pacify the pedants
2021-07-19 16:09:25 +00:00
Manuel Barkhau
9379984b93
bump 2021.1112 -> 2021.1113
2021-05-13 19:33:12 +00:00
Manuel Barkhau
03f8015e71
fix lint issue
2021-05-13 19:23:44 +00:00
Manuel Barkhau
3fb74f9789
documentation for --commit-message
2021-05-13 19:23:44 +00:00
Manuel Barkhau
0e26efd0e7
update README.md for 'bumver update --help'
2021-05-13 19:23:44 +00:00
Manuel Barkhau
bf030d4fa0
implement -c/--commit-message
2021-05-13 19:23:44 +00:00
Manuel Barkhau
9b9748a816
lint fix (if it's not one, it's the other)
2021-05-13 18:57:04 +00:00
Manuel Barkhau
b1d6d5ede6
compat fixes for click>=8.0
2021-05-13 18:43:29 +00:00
Manuel Barkhau
2243e025b7
fix false positive lint issue
2021-05-13 18:17:50 +00:00
Manuel Barkhau
96a301f34b
bump 2021.1111 -> 2021.1112
2021-04-02 20:30:58 +00:00
Manuel Barkhau
0f82c7eff7
bump 2021.1110 -> 2021.1111
2021-04-02 20:29:23 +00:00
Julien Palard
ad9d7f0b52
FIX: hg backend won't work with PYTHONDEBUG=y
...
This is due to hg currently having a warning:
$ hg pull
/usr/lib/python3.9/importlib/util.py:245: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
self.__spec__.loader.exec_module(self)
and the has_remote function checking:
if output.strip() == "":
2021-03-19 19:21:01 +00:00
Manuel Barkhau
0b48690dd3
bump 2021.1109 -> 2021.1110
2021-03-18 20:03:45 +00:00
Manuel Barkhau
14ffed1c36
fix lint error
2021-03-18 19:51:45 +00:00
Manuel Barkhau
689dd4b73b
cleanup regex101 url gen
2021-03-18 19:42:23 +00:00
Manuel Barkhau
b7af1bbe55
fix #157 @gh: better error messages
2021-03-18 19:41:56 +00:00
Manuel Barkhau
92213162c2
lazy import pkg_resources for faster cli
2021-03-18 18:42:35 +00:00
Manuel Barkhau
873ff229de
bump 2020.1108 -> 2021.1109
2021-01-17 21:39:29 +00:00
Manuel Barkhau
732f74439b
update license headers pycalver -> bumpver
2021-01-17 21:34:29 +00:00
Dave Wapstra
140ac2e79b
Add environment output option ( #152 )
...
Add --env option for environment output
2021-01-17 21:20:14 +00:00
Dave Wapstra
a2a302bce2
check for tag if tag-num specified
2021-01-17 19:06:45 +01:00
Manuel Barkhau
ebd7534281
minor cleanups
2020-12-06 22:58:51 +00:00
Manuel Barkhau
dd575bede7
fix matching of empty patterns
2020-12-06 22:58:50 +00:00
Manuel Barkhau
bce44fd240
bump 2020.1106 -> 2020.1107
2020-11-24 20:54:23 +00:00
Manuel Barkhau
883c960b3e
bump 2020.1105-beta -> 2020.1106
2020-11-24 20:14:15 +00:00