Commit Graph

33 Commits

Author SHA1 Message Date
Adam Waldenberg c6771c0b9f Hovering (in HTML output) is now done with CSS instead of javascript. 2013-05-16 03:06:06 +02:00
Adam Waldenberg 2ae221f511 Changes are now collected with commiter dates instead of author dates.
This is probably what we want, because it reflects when an actual change
was officially committed/pushed up.
2013-05-14 02:20:13 +02:00
Adam Waldenberg 35214550f3 Fixed some UnicodeEncodeError exceptions that could occur with Python 2. 2013-05-13 02:58:14 +02:00
Adam Waldenberg b1dfade98d Fixed compatibility with Python 3. 2013-05-08 18:52:08 +02:00
Adam Waldenberg 10179d12ed Added filtering of minor authors to the tables in the HTML output.
In practice, this means that the tables are initially collapsed and hide
all authors with a workload below one percent. The user can expand a
table in order to show all authors found during statistical analysis.
2013-05-08 16:53:20 +02:00
Adam Waldenberg b50f85ba17 Improved the pie charts of the HTML output.
All authors with a workload less than one percent are now combined into
the same slice of the pie chart.
2013-05-08 05:32:45 +02:00
Adam Waldenberg 88c01e62ed Fixed a IndexError which happened whenever no commits were found.
This happened when an interval was set and no commits were made within
the specified interval.
2013-05-06 00:29:55 +02:00
Adam Waldenberg f4c3285cb8 Added the ability to limit results by date range (Fixes issue 1).
This can now be done by supplying one (or both) of the "--since" and
"--until" parameters to the gitinspector executable. These parameters
work in the same manner as they do in git and accept the same values.
Statistics will only be generated from data between the given interval.
2013-05-01 23:09:10 +02:00
Adam Waldenberg cd3de23da2 Modified the call to git log in the changes module to conform with Windows.
The call to git log included "'" characters to "stringify" input to the
git command. On unix systems, this functions the same way as the
citation (") character. On Windows however, it does not.
2013-04-18 17:05:35 +02:00
Adam Waldenberg 0fc69ff19c Fixed a long standing bug related to international characters.
This bug occurred because whenever the "git blame" command detects
international character it outputs a string escaped character string in
the form "\ddd\ddd". Gitinspector didn't properly handle this. Python
offers a way to decode this using the decode function together with the
"string_escape" encoding.
2013-04-16 14:58:33 +02:00
Adam Waldenberg 32c3b5af9f Updated all copyright notices of the project to include the year 2013. 2013-04-05 14:15:56 +02:00
Adam Waldenberg 65d273c0ef Added HTML output to the changes module. 2013-03-25 03:08:05 +01:00
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