diff --git a/pr-preview/pr-152/404.html b/pr-preview/pr-152/404.html new file mode 100644 index 00000000..246961e2 --- /dev/null +++ b/pr-preview/pr-152/404.html @@ -0,0 +1,1817 @@ + + + +
+ + + + + + + + + + + + + + +Removes ability to call the CLI without subcommand. e56c944
+BREAKING CHANGE: You must use bump-my-version bump
+Fixed –ignore-missing-version and –ignore-missing-files options. 7635873
+The CLI options were defaulting to False
when missing. This overrode the configuration.
Fixes #140
+[pre-commit.ci] pre-commit autoupdate. c495d3d
+updates: - github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.2.2
+--ignore-missing-files
option to bump. fcfaac7ignore_missing_files
. b473a19Fix encoding when reading text. c03476a
+Fixes #68
+[pre-commit.ci] pre-commit autoupdate. 491b4aa
+updates: - github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0
+Refactored VersionComponentConfig to VersionComponentSpec. b538308
+More consistent with VersionSpec
+[pre-commit.ci] pre-commit autoupdate. a2a3fe6
+updates: - github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.14
+Refactored serialization. 0ac2cd8
+Refactored verioning models. 88e7f71
+depends_on
version component configurationdepends_on
is required for PEP440 versioningRefactored the create subcommand. f529d28
+Added show-bump
subcommand. 0bbd814
bump
commandFixed extra whitespace added when updating pyproject.toml. 839f17f
+get_nested_value
and set_nested_value
as replacements for dotted-notation.[pre-commit.ci] pre-commit autoupdate. ee4d2f3
+updates: - github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.1.11
+Fixed empty string replacement bug. d9965ab
+Only a missing replacement value will trigger one of the fallback options.
+Fixes #117
+[pre-commit.ci] pre-commit autoupdate. 2e9a400
+updates: - github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.9
+Fixed testing automation. 19215f1
+--no-tag
flagFix miscast of current_version. b8ea252
+Fixes #99
+Fixed regression in config update. 2bbbd74
+Fixes #108
+Changed default regex CLI value to None. 93191f3
+Fixes #64
+The default value of False was overriding other values.
+Fixed regression regarding multiple changes in one file. e7a7629
+Changed the method of marking changes from a dict keyed by the file name to a list of FileChanges.
+FileChanges encapsulate a single change to a file. +- Refactored logging to provide indented output. 4e68214
+Refactored FileConfig to FileChange. 249a999
+This better describes what the class does: describe a file change.
+Also moved get_search_pattern
to the class, since it is specific to each instance
+- Refactored config file management. a4c90b2
Moved the INI format stuff into files_legacy.py +- Fixes generate-requirements.sh to upgrade. 121ef69
+Changed the management of file changes. 909396d
+File changes are hashable to weed out duplication. +- Removed some commented lines. 89686b8
+Fixed issue with tag name. e218264
+Fixes #74
+current_version and tag_name now do not need to match exactly +- Fixed logic in auto bump workflow. 909a53f
+Fixes https://github.com/callowayproject/bump-my-version/issues/85. 97049e0
+HG returns the tags in the order they were created so we want the last one in the list +- Fixed autoversioning. a308a35
+Added key_path to FileConfig. e160b40
+filename
, glob
, and key_path
[pre-commit.ci] auto fixes from pre-commit.com hooks. 8188a42
+for more information, see https://pre-commit.ci +- [pre-commit.ci] pre-commit autoupdate. 4c81ad4
+updates: - github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.5
+[pre-commit.ci] pre-commit autoupdate. 7109d70
+updates: - github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.6
+Refactored configuration file updating. e407974
+TOML files are parsed, specific values are updated, and re-written to avoid updating the wrong data.
+It uses a two-way parser, so all formatting and comments are maintained.
+INI-type configuration files use the old way, since that format is deprecated.
+Fix dev versioning. 1eed99b
+Add -h for help option. fda71b0
+Fixes #67
+Drop Python3.7 as compatible version. 890edc8
+Since this is no longer tested, it’s safer to start at 3.8. +- [pre-commit.ci] auto fixes from pre-commit.com hooks. fbcef03
+for more information, see https://pre-commit.ci +- Recommend calling ‘bump-my-version’ instead of ‘bumpversion’. 9fb1a1d
+[pre-commit.ci] pre-commit autoupdate. e2579d6
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.0.292
+[pre-commit.ci] pre-commit autoupdate. e21fdd9
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.1.1
+[pre-commit.ci] pre-commit autoupdate. 7e5d1bc
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.1.3
+Changed the default regex search to non-regex. 0034716
+Fixes #59
+[pre-commit.ci] pre-commit autoupdate. 4a3d046
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.290
+Refactored file resolution, inclusion, and exclusion. 646af54
+resolved_filemap
propertyfiles_to_modify
propertyFixed file configuration overrides. c1ef3b2
+Fixes #55
+The file config was ignoring falsey values when constructing the dict.
+It now ignores None
values.
+- Fixed documentation regarding regex config. cd71a1a
[pre-commit.ci] pre-commit autoupdate. 7c38c40
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.285
+[pre-commit.ci] pre-commit autoupdate. c30bd12
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.282 → v0.0.284
+[pre-commit.ci] pre-commit autoupdate. 95c89fb
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.282
+Fixed modified context when committing. 130bbe0
+[pre-commit.ci] auto fixes from pre-commit.com hooks. 4b457d0
+for more information, see https://pre-commit.ci +- [pre-commit.ci] pre-commit autoupdate. adb7e4c
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.277 → v0.0.281
+Remove pygments_style
from docsrc/conf.py. 32798a9
The theme defaults, subjectively, look better.
+Added configuration and command-line no_regex
option. a295a32
no_regex
--no-regex
flag added for bump
and replace
sub-commands--ignore-missing-version
flag to bump
and replace
. a5bd008Added ignore-missing-version
configuration. 45c85be
False
--list
option will go bye-bye in 1.0bumpversion
without a subcomand will leave in 1.0Fix search and replace options for replace. 781e8d8
+--search
and --replace
options now completely override any other search and replace logic.Fixes #34
+[pre-commit.ci] pre-commit autoupdate. 531738d
+updates: - github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.0.277
+[pre-commit.ci] pre-commit autoupdate. 61e6747
+updates: - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit
+Fixed typing issue. bfe5306
+ClassVar[List[str]]
_TEST_USABLE_COMMAND
, _COMMIT_COMMAND
, and _ALL_TAGS_COMMAND
affectedAdded replace subcommand. 8722a0f
+bump
butbumpversion show new_version --increment <versionpart>
to see what the new version would beshort_branch_name
to version rendering context. 7f7e50cshort_branch_name
is the branch name, lower case, containing only a-z and 0-9, and truncated to 20 characters.Fixes #28
+[pre-commit.ci] auto fixes from pre-commit.com hooks. 5e6f566
+for more information, see https://pre-commit.ci +- [pre-commit.ci] pre-commit autoupdate. f1acd35
+updates: - github.com/charliermarsh/ruff-pre-commit: v0.0.272 → v0.0.275
+Fixed --help
and bump
invocations. 9d965e5
--help
works for individual sub-commands, but not for the commandbump
now works and fixed teststomlkit.parse()
returns a TOMLDocument
.unwrap()
converts it into a dict
branch_name
to SCM information. 173be1aAdds --increment
option to show
subcommand. b01fffc
new_version
to the available output.show
subcommand. 9bce887--list
optionChanges bump-my-version into subcommands. 31ffbcf
+bump-my-version
forwards command to bump-my-version bump
subcommand--help
Fixes reporting the wrong version missing in a file. efb04e9
+current_version
for each file being modified.[pre-commit.ci] auto fixes from pre-commit.com hooks. 5476cdf
+for more information, see https://pre-commit.ci +- [pre-commit.ci] pre-commit autoupdate. 6e500c2
+updates: - github.com/charliermarsh/ruff-pre-commit: v0.0.270 → v0.0.272
+Fixed issue with formatting. da7544f
+There is an underlying edge case where the deriving previous environment variables with multple ways of formatting version numbers will fail.
+Added documentation for replacing strings in different files. 893ec03
+Fixes #6
+Made VERSION_PART
optional. f236b7d
VERSION_PART
is detected from the arguments based on the configurationChanged exception type raised when bad version part is detected. 1e3ebc5
+Fixes #7
+Fixes release.yaml. 01870d5
+Outputs the notes to a file instead of an environment variable.
+[pre-commit.ci] auto fixes from pre-commit.com hooks. 266002f
+for more information, see https://pre-commit.ci +- [pre-commit.ci] pre-commit autoupdate. edc444f
+updates: - github.com/charliermarsh/ruff-pre-commit: v0.0.261 → v0.0.270
+Fixed vague commit and tagging info. 4fb5158
+[pre-commit.ci] pre-commit autoupdate. d626f7d
+updates: - https://github.com/python/black → https://github.com/psf/black
+Changed the version serialization. c529452
+Fixes issue when new version equals current version. 64b0de3
+Fixed issue with windows testing. b8abc44
+Fixed configuration file detection. fbf85c2
+Doesn’t just stop when it finds one, it checks for the existence of the header. +- Fixed logging output and output in general. 0aea9dc
+Added new workflows. a9cac5b
+Added PYTHONUTF8 mode. 91a73e2
+Added files for coverage to ignore. cfbba08
+Updated workflows. 857835d
+Changed BaseVCS to SourceCodeManager. 11c5609
+Just for consistency. +- Modified the group command back to a single command. 6d4179b
+Will eventually change to a group command, but later.
+First off, thanks for taking the time to contribute! ❤️
+All types of contributions are encouraged and valued. See the Table of Contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it much easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
+++If you like the project but don’t have time to contribute, that’s fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: +- Star the project +- Tweet about it +- Refer to this project in your project’s readme +- Mention the project at local meetups and tell your friends/colleagues
+
This project and everyone participating in it are governed by the +Bump My Version Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior +to coreyoordt@gmail.com.
+++If you want to ask a question, we assume that you have read the available Documentation.
+
Before you ask a question, it is best to search for existing Issues that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
+If you then still feel the need to ask a question and need clarification, we recommend the following:
+We will then take care of the issue as soon as possible.
+A good bug report shouldn’t leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information, and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
+++You must never report security-related issues, vulnerabilities, or bugs that include sensitive information to the issue tracker or elsewhere in public. Instead, sensitive bugs must be sent by email to coreyoordt@gmail.com.
+
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
+Once it’s filed:
+This section guides you through submitting an enhancement suggestion for Bump My Version, including completely new features and minor improvements to existing functionality. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
+Enhancement suggestions are tracked as GitHub issues.
+++Legal Notice¶
+When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
+
There are several ways to create an isolated Python development environment. This is the default method.
+Run the following in a terminal:
+# Clone the repository
+git clone https://github.com/callowayproject/bump-my-version.git
+
+# Enter the repository
+cd bump-my-version
+
+# Create, then activate a virtual environment
+python -m venv env
+source env/bin/activate
+
+# Install the development requirements
+python -m pip install -r requirements/dev.txt
+
Once setup, you should be able to run tests:
+pytest
+
Pre-commit hooks are scripts that run every time you make a commit. If any of the scripts fail, it stops the commit. You can see a listing of the checks in the .pre-commit-config.yaml
file.
pre-commit install
+
Please, please help us here.
+All of the basic coding styles are configured into tools for fixing and checking them. Pre-commit is used to automate the process.
+Commit messages are used to generate the change log.
+New changes
+Commit messages are categorized as “new” if the commit message starts with:
+For example: Added this cool new feature
or New document type added
.
Updates
+Commit messages are categorized as “updates” if the commit message starts with:
+For example: Modified the taxonomy schema
or Improves performance by 419%
Fixes
+Commit messages are categorizes as “fixes” if the commit message starts with:
+For example: Fixes bug #123
Other
+All other commit messages are categorized as “other.”
+Ignoring commit messages
+To have the change log generator ignore this commit, add to the summary line:
+@minor
!minor
@cosmetic
!cosmetic
@refactor
!refactor
@wip
!wip
If you would like to be a maintainer, reach out to coreyoordt@gmail.com.
+This guide is based on the contributing-gen. Make your own!
+ + + + + + + + + + + + + + + + + + + + +{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var Va=/["'&<>]/;qn.exports=za;function za(e){var t=""+e,r=Va.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i