Commit graph

21 commits

Author SHA1 Message Date
Adam Waldenberg
bc9503928f Changed the HTML output to a pure single-column output. 2013-03-11 09:43:51 +01:00
Adam Waldenberg
37c4260149 Added an Outputable class and worked a little more on the HTML output.
The Outputable class is now the base class of all the classes that want to
output formatted text. This is more object oriented and cleaner solution
compared to the previous implementation.
2013-03-11 00:23:50 +01:00
Adam Waldenberg
6625651366 HTML header and footer is now properly outputted. 2012-11-03 02:13:53 +01:00
Adam Waldenberg
77111094b6 Added a missing newline output in the changes module. 2012-10-18 17:01:40 +02:00
Adam Waldenberg
d9c94b53d6 Fixed the packing and unpacking of parameters in the format module.
Forgot to specify the '*' operator when passing the parameters to the
callback functions; something which resulted in a dictionary being sent
into the callback functions. Obviously, this is not what we want.
2012-10-18 16:56:46 +02:00
Adam Waldenberg
e11606bcaf Implemented support for XML output in the changes module. 2012-10-18 15:35:23 +02:00
Adam Waldenberg
35dc497e94 Removed keyword arguments from the decode() calls.
This makes the code compatible with Python 2.6 again.
2012-05-29 03:13:49 +02:00
Adam Waldenberg
c59c8c23eb More changes done to improve compatibility with Python 3.
Changed from using the deprecated functions in the os module to using the
new ones in the subprocess module. All string reading now also uses the
string.decode() function, which seems to be recommended practice whenever
the input is a little "iffy".
2012-05-28 16:35:47 +02:00
Adam Waldenberg
2d48510777 Updated the whole project to be compatible with Python 3. 2012-05-25 16:42:29 +02:00
Adam Waldenberg
949b62736c Added a responsibilities parameter that shows which author has done what.
The responsibilities module shows a maximum of 10 files, per author, that each
author is responsible for. This fucntionality can be enabled by supplying -r
or --responsibilities to gitinspector. The parameter is also enabled if
--tda367 is specified.
2012-05-25 14:27:28 +02:00
Adam Waldenberg
ed501fe757 Longer file names are now generated when "git log" runs in the changes module.
The default setting configures printed file names to fit to a 80 character
wide terminal; something that destroys the ability to do proper filtering of
long file names in gitinspector.
2012-05-24 02:03:57 +02:00
Adam Waldenberg
1d30ffa7f4 The changes module now excludes commits without any valid FileDiff entries. 2012-05-24 00:56:19 +02:00
Adam Waldenberg
93cf15f500 Added filtering support.
Filtering can be specified using an arbitrary number of -x (or --exclude)
parameters. The filtering works in a similar fashion to an inverted grep,
meaning that matched file names will be excluded from the generated
statistics.
2012-05-22 17:57:44 +02:00
Adam Waldenberg
494679520f Enabled threading in the blame module and removed the system module.
To accommodate this modification, the changing of working directory (when
a repository is specified) has been moved from the system module to the
main gitinspector module. This enables us to change directory in one go
when gitinspector starts, thus removing the need for the previous system
module.
2012-05-20 22:02:08 +02:00
Adam Waldenberg
43859e7742 gitinspector now tracks rows "really hard" if the -H flag is given. 2012-05-18 03:22:42 +02:00
Adam Waldenberg
82700b38c2 Renamed the sysrun module to system.
This module will from now on include all "system related" commands.
2012-05-14 15:23:15 +02:00
Adam Waldenberg
cf261728be The changes module now uses the -w flag when calling git.
This makes the generated statistics more coherent with the output from the
blame module.
2012-05-09 09:35:27 +02:00
Adam Waldenberg
4b1267ba39 The changes module no longer generates file diffs with 0 insertions/deletions.
Under certain conditions this could previously cause a division by zero in the
timeline.TimelineData.get_multiplier() method.
2012-05-05 23:24:14 +02:00
Adam Waldenberg
e5137a8468 Ran the whole project through "pylint" and fixed violations.
Also created a custom .pylintrc file that disables a few warnings, but for the
most part, gitinspector now follows proper python guidelines.
2012-05-04 15:15:41 +02:00
Adam Waldenberg
97ec237b49 Fixed a bug that caused the first commit not to be included in any statistics. 2012-05-04 12:37:55 +02:00
Adam Waldenberg
5621652946 Initial commit. 2012-05-04 11:40:30 +02:00