Commit Graph

475 Commits

Author SHA1 Message Date
JP White 4dfb314628 Save 2021-02-28 19:24:36 -05:00
JP White 0bfacc1d66 gitignore 2021-02-28 17:26:45 -05:00
JP White 6843dee14e Build Badge 2021-02-28 16:56:49 -05:00
JP White 784f0b1a20 Build Badge 2021-02-28 16:50:30 -05:00
JP White e936701efe Coveralls 2021-02-28 16:38:12 -05:00
JP White 5127a2767a Coveralls 2021-02-28 16:35:47 -05:00
JP White 20e7319559 Coveralls 2021-02-28 16:30:18 -05:00
JP White 05293284de Coveralls 2021-02-28 16:27:32 -05:00
JP White 636fd09fb8 Coveralls 2021-02-28 16:25:12 -05:00
JP White 83a9217c54 CI 2021-02-28 16:19:41 -05:00
JP White d35acca21e Testing 2021-02-28 15:11:27 -05:00
JP White 7a5bb05912 Fixing pyproject.toml 2021-02-27 23:13:20 -05:00
JP White 903a5f5d76 CI 2021-02-27 23:08:48 -05:00
JP White e7259120f0 Ci Setup 2021-02-27 22:59:59 -05:00
JP White 306f52eda9 Removing requirements.txt generation 2021-02-27 22:42:11 -05:00
JP White c17c5795ad Massive Linting and clean up 2021-02-27 22:39:08 -05:00
JP White 2dd72c1d96
Create python-package.yml 2021-02-27 21:33:32 -05:00
JP White 6f6e9cf503 Added requirements.txt 2021-02-27 21:32:46 -05:00
JP White 88a25f948a Added requirements building 2021-02-27 21:31:08 -05:00
JP White bb291b3d74 Fixed tests 2021-02-27 10:50:53 -05:00
JP White c67963fcb9 Adding makefile 2021-02-27 10:34:22 -05:00
JP White 61173c4caf Use subprocess.Popen default buffer size 2021-02-22 19:52:32 -05:00
JP White 3c7d252a67 Updated to support Python3 using 2to3 2021-02-16 20:23:10 -05:00
Adam Waldenberg b8375442a7 Add missing changes to CHANGES.txt 2020-10-19 11:24:33 +02:00
Adam Waldenberg 6d77989e34 Fix logic error in the threading code of the changes module (Fixes #118).
This particular problem is also briefly mentioned in issue #115. The
fix resolves the overflow problem resulting in an array with a dangling
"None" type at the end. It also takes care of a race condition where
two threads by accident could update the same data.
2017-05-15 03:06:53 +02:00
Adam Waldenberg c80c822892 Ignore any unicode_escape decode fails when decoding emails (Fixes #122).
This is only needed with emails that have escape characters, as described
in issue #46. If the call fails, it will most likely not affect us and
can be safely ignored.
2017-05-13 16:41:54 +02:00
Adam Waldenberg b3fbb3e3c3 Removed dangling semicolon in changes module. 2017-05-13 16:36:05 +02:00
Bart van Andel 40cfd0ac84 Bump version for npm 2017-05-13 16:14:45 +02:00
Bart van Andel 1e5f5959db Convert line endings of Python files to Unix-style before publishing 2017-05-13 16:14:45 +02:00
Bart van Andel a8e0de7910 Shorten description so it doesn't get truncated online 2017-05-13 16:14:45 +02:00
Bart van Andel 09c5e50381 Add some more keywords 2017-05-13 16:14:45 +02:00
Bart van Andel 55434ff76a Prefer npm global install 2017-05-13 16:14:45 +02:00
Bart van Andel 3d11cdce44 Setup npm package 2017-05-13 16:14:45 +02:00
GuillermoMI 315f4079ac Fix for PHP close comment token. 2017-05-13 16:06:38 +02:00
Adam Waldenberg d0798d8358 Set ref to HEAD when starting changes analysis i (Fixes #132).
This gets rid of any invalid refs being set at a subsequent point during
execution.
2017-05-13 15:43:09 +02:00
Adam Waldenberg a56680c4b4 Handle git-rev-list and git-ls-tree with empty changesets (#132, #115).
If the changeset was empty or filtered with no matching files a bunch of
errors would be thrown from git with no proper results being returned
back to gitinspector.

We now pipe stderr (catching the output) and also check the return code
when running these commands.
2017-05-13 15:41:13 +02:00
Adam Waldenberg 8cff4bd208 Removed logically redundant part of an if statement.
The len(self.commits) > 0 check was already being performed one level up.
2017-05-13 15:41:13 +02:00
Adam Waldenberg 983d3d05bd When generating the report, summed changes need to be non-empty (#132).
Previoulsy, we were just checking against the changes returned from the
last repository analyzed - which of course broke the whole thing if that
repository had no matching commits!
2017-05-13 15:39:38 +02:00
Adam Waldenberg 9f336e63ce Faulty clone code made it possible to run gitinspector in sub-directories.
This resulted in undefined behavior. The base directory was being
incorrectly defined when cloning did not occur.
2017-05-12 15:31:28 +02:00
Adam Waldenberg ba1c3341fe The typo "defaut" should be "default" in documentation (Fixes #113). 2016-07-19 04:04:31 +02:00
Adam Waldenberg e543eeaf58 Only include valid extensions in blame output (#95). 2016-02-03 14:22:19 +01:00
Adam Waldenberg 6e0365e8ba Fix inconsistent behavior with -f "**" (#95).
Improved by taking advantage of the detected file types during the first
pass in the changes module.
2016-02-03 11:47:00 +01:00
Adam Waldenberg 139f5306f4 Better support terminals behaving like urxvt (Fixes #101).
This terminal was allowing backspaces (\b) to bypass column zero on the
current row, completely breaking the current way gitinspector was
clearing text outputted to the currently active row.
2016-01-21 00:22:52 +01:00
Adam Waldenberg 9b5bbc469f Removed superfluous quotation character in the JSON metrics output. 2015-12-18 08:41:46 +01:00
Adam Waldenberg a9d519c93b Recognize Rust programming language (.rs) comments (#83). 2015-12-17 03:15:22 +01:00
Adam Waldenberg 9aa4aba336 Removed size parameter from gravatar URL's in JSON output (#50). 2015-12-17 03:08:33 +01:00
Adam Waldenberg 6ef9936508 Fix some minor typos in the documentation.
Also regenerated the documentation using AsciiDoc.
2015-12-14 05:19:09 +01:00
Adam Waldenberg 150e316918 Add documentation about JSON output to the AsciiDoc file. 2015-12-14 05:17:11 +01:00
Adam Waldenberg ba049a0367 Fix AttributeError thrown when no extensions were detected (Fixes #91).
The bug was introduced with the commit ecc67a3 and was caused by the
initialization of an empty Changes object.

This fix makes sure that the __iadd__() method properly handles empty
change sets and returns a satisfactory object back when completing
execution.
2015-12-12 07:49:58 +01:00
Gregrs 3c48789890 Recognise Lilypond (.ly and .ily) comments 2015-12-10 07:34:18 +00:00