- update to 0.18.0:
* Python 3.11 support
* Last release to support Python 3.6 (EOL since 2021-12-23)
* **Behavior Change**: In a future release, gitlint will be
switching to use `re.search` instead of `re.match` semantics
for all rules. Your rule regexes might need updating as a
result, gitlint will print a warning if so. More details are
in the docs. (#254)
* gitlint no longer uses the sh library by default in an
attempt to reduce external dependencies. In case of issues,
the use of `sh` can be re-enabled by setting the env var
`GITLINT_USE_SH_LIB=1`. This fallback will be removed
entirely in a future gitlint release. (#351)
* `--commits` now also accepts a comma-separated list of commit
hashes, making it possible to lint a list of non-contiguous
commits without invoking gitlint multiple times (#283)
* Improved handling of branches that have no commits (#188)
* Support for `GITLINT_CONFIG` env variable (#189)
* Added a new `gitlint-ci` pre-commit hook, making it easier to
run gitlint through pre-commit in CI (#191)
* Gitlint now recognizes `fixup=amend` commits (see related
git documentation), available as
`commit.is_fixup_amend_commit=True`
* Gitlint now parses diff **stat** information, available
in `commit.changed_files_stats` (#314)
* Bugfixes:
* - Use correct encoding when using `--msg-filename`
parameter (#310)
* - Various documentation fixes (#244) (#263) (#266) (#294)
(#295) (#347) (#364) - thanks scop, OrBin, jtaylor100,
OBS-URL: https://build.opensuse.org/request/show/1069322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gitlint?expand=0&rev=5
* Python 3.11 support
* Last release to support Python 3.6 (EOL since 2021-12-23)
* **Behavior Change**: In a future release, gitlint will be
switching to use `re.search` instead of `re.match` semantics
for all rules. Your rule regexes might need updating as a
result, gitlint will print a warning if so. More details are
in the docs. (#254)
* gitlint no longer uses the sh library by default in an
attempt to reduce external dependencies. In case of issues,
the use of `sh` can be re-enabled by setting the env var
`GITLINT_USE_SH_LIB=1`. This fallback will be removed
entirely in a future gitlint release. (#351)
* `--commits` now also accepts a comma-separated list of commit
hashes, making it possible to lint a list of non-contiguous
commits without invoking gitlint multiple times (#283)
* Improved handling of branches that have no commits (#188)
* Support for `GITLINT_CONFIG` env variable (#189)
* Added a new `gitlint-ci` pre-commit hook, making it easier to
run gitlint through pre-commit in CI (#191)
* Gitlint now recognizes `fixup=amend` commits (see related
git documentation), available as
`commit.is_fixup_amend_commit=True`
* Gitlint now parses diff **stat** information, available
in `commit.changed_files_stats` (#314)
* Bugfixes:
* - Use correct encoding when using `--msg-filename`
parameter (#310)
* - Various documentation fixes (#244) (#263) (#266) (#294)
(#295) (#347) (#364) - thanks scop, OrBin, jtaylor100,
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/gitlint?expand=0&rev=13
- update to 0.13.1:
* Patch to enable --staged flag for pre-commit.
* Minor doc updates (#109)
Revert Commits are now recognized and ignored by default (#99)
--staged flag: gitlint can now detect meta-data (such as author details, changed files, etc) of staged/pre-commits. Useful when you use gitlint's commit-msg hook or precommit (#105)
* New branch properties on GitCommit and GitContext, useful when writing your own user-defined rules: commit.branches and commit.context.current_branch (#108)
* Python 3.8 support
* Python 3.4 no longer supported. Python 3.4 has reached EOL and an increasing
* Gitlint no longer crashes when acting on empty repositories (this only occurred in specific circumstances).
* Under-the-hood: dependencies updated, unit and integration test improvements, migrated from TravisCI to Github Actions.
OBS-URL: https://build.opensuse.org/request/show/827516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gitlint?expand=0&rev=3
* Patch to enable --staged flag for pre-commit.
* Minor doc updates (#109)
Revert Commits are now recognized and ignored by default (#99)
--staged flag: gitlint can now detect meta-data (such as author details, changed files, etc) of staged/pre-commits. Useful when you use gitlint's commit-msg hook or precommit (#105)
* New branch properties on GitCommit and GitContext, useful when writing your own user-defined rules: commit.branches and commit.context.current_branch (#108)
* Python 3.8 support
* Python 3.4 no longer supported. Python 3.4 has reached EOL and an increasing
* Gitlint no longer crashes when acting on empty repositories (this only occurred in specific circumstances).
* Under-the-hood: dependencies updated, unit and integration test improvements, migrated from TravisCI to Github Actions.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/gitlint?expand=0&rev=8