From 65840b78c8aad8df52a81cf35b61de6c3abc0183 Mon Sep 17 00:00:00 2001 From: Joris Roovers Date: Fri, 30 Dec 2016 20:16:41 +0100 Subject: [PATCH] 0.8.0 Release The 0.8.0 release is a significant release that has been in the works for a long time. Special thanks to Claymore, gernd and ZhangYaxu for submitting bug reports and pull requests. - Full unicode support: you can now lint messages in any language! This fixes #16 and #18. - User-defined rules: you can now define your own custom rules if you want to extend gitlint's functionality. - Pypy2 support! - Debug output improvements: Gitlint will now print your active configuration when using --debug - The general.target option can now also be set via -c flags or a .gitlint file - Bugfixes: - Various important fixes related to configuration precedence - #17: Body MinLength is not working properly. **Behavior Change**: Gitlint now always applies this rule, even if the body has just a single line of content. Also, gitlint now counts the body-length for the entire body, not just the length of the first line. - Various documentation improvements - Development: - Pylint compliance for all supported python versions - Updated dependencies to latest versions - Various run_tests.sh improvements for developer convenience --- docs/index.md | 3 +-- gitlint/__init__.py | 2 +- qa/requirements.txt | 3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index 597c26cc..7d8bb4f2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -171,8 +171,7 @@ done One downside to this approach is that you invoke gitlint once per commit vs. once per set of commits. This means you'll incur the gitlint startup time once per commit, making this approach rather slow if you want to lint a large set of commits. For reference, at the time of writing, linting gitlint's entire commit log - (~160 commits) this way took about 40 seconds on a 2015 Macbook Pro. Linting the entire commit log of git - itself (~45,500 commits) took 2hr and 50 mins. + (~160 commits) this way took about 12 seconds on a 2015 Macbook Pro. ## Merge commits ## diff --git a/gitlint/__init__.py b/gitlint/__init__.py index aa1ad0a2..777f190d 100644 --- a/gitlint/__init__.py +++ b/gitlint/__init__.py @@ -1 +1 @@ -__version__ = "0.8.0dev" +__version__ = "0.8.0" diff --git a/qa/requirements.txt b/qa/requirements.txt index 1288233b..a7a3baae 100644 --- a/qa/requirements.txt +++ b/qa/requirements.txt @@ -1 +1,4 @@ +unittest2==1.1.0 # support for python 2.6 sh==1.11 +pytest==3.0.4 +gitlint # no version as you want to test the currently installed version \ No newline at end of file