Git commit message linter checking

Edit Package gitlint
https://github.com/jorisroovers/gitlint

Great for use as a commit-msg git hook or as part of your gating script in
a CI/CD pipeline (e.g. jenkins). Many of the gitlint validations are based
on well-known community standards, others are based on checks that we've
found useful throughout the years. Gitlint has sane defaults, but you can
also easily customize it to your own liking.

Refresh
Refresh
Source Files
Filename Size Changed
gitlint-core-0.18.0.tar.gz 0000038139 37.2 KB
gitlint.changes 0000009121 8.91 KB
gitlint.spec 0000002026 1.98 KB
Revision 5 (latest revision is 6)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1069322 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 5)
- 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,
Comments 0
openSUSE Build Service is sponsored by