Commit graph

451 commits

Author SHA1 Message Date
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
0c6358324d Empty rows are now skipped in the timeline output.
In practice, this means that whenever an author is not part of a
collection of periods he will not be printed out.

This cleans up the output and also speeds up analysis.
2013-05-06 13:30:58 +02:00
Adam Waldenberg
2dd4c2c4ff Fixed the XML output of the timeline.
The output was simply wrong and was outputting extra "<authors>" tags all
over the place. Also, whenever there was very little work, this was not
included in the timeline.
2013-05-06 13:12:27 +02:00
Adam Waldenberg
0baa250db2 Added support for HTML comments. 2013-05-06 11:44:27 +02:00
Adam Waldenberg
8dc1fdeee0 Added support for Perl single-line comments.
Multi-line POD comments in Perl are not supported for now; they are a
little hairy and probably require a little extra work in order to be
parsed correctly.
2013-05-06 11:36:04 +02:00
Adam Waldenberg
34f490af57 The terminal fallback mode no longer considers terminal height. 2013-05-06 11:17:09 +02:00
Adam Waldenberg
cf8922efe6 Implemented a fallback mode for terminals that report zero width/size. 2013-05-06 00:47:51 +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
dbcf709232 Fixed a small mistake in the help text. 2013-04-17 17:36:59 +02:00
Adam Waldenberg
fd4ea02fa8 Bumped the version number to 0.2.0. 2013-04-16 18:37:07 +02:00
Adam Waldenberg
1a429309df Added HTML output to the responsibilities module. 2013-04-16 15:22:45 +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
66915b7737 Moved the script tag outputted by the blame module. 2013-04-09 23:00:11 +02:00
Adam Waldenberg
a5789197e0 The grading flag now also sets the hard (-H) flag.
The -H flag was basically always used when grading anyway as it gives
out more precise statistics.
2013-04-09 22:59:32 +02:00
Adam Waldenberg
0b758fc087 Made some cosmetic changes to the HTML output.
Everything is now properly centered onto the body of the HTML page. Also,
the content of the page has a fixed width.
2013-04-09 22:36:00 +02:00
Adam Waldenberg
4f66b46c67 Added HTML output to the metrics module. 2013-04-09 21:44:44 +02:00
Adam Waldenberg
f106ad85ca Added HTML output to the timeline module. 2013-04-09 21:17:21 +02:00
Adam Waldenberg
287d7211ee Output the number of modified rows each period in the timeline module.
This will output the sum of changed rows from all the authors of that
period.
2013-04-09 10:43:04 +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
a8f437808b Fixed an indentation error in the missing module. 2013-04-05 14:09:28 +02:00
Adam Waldenberg
69e66c85e2 Removed dangling </p> from the generated code of the filtering module. 2013-04-05 14:08:47 +02:00
Adam Waldenberg
36e5d85e8e Added a version tag to the XML output.
This indicates with what version of gitinspector the output was generated.
2013-03-25 03:30:27 +01:00
Adam Waldenberg
5d6e5c2305 Fixed a pair of small mistakes in the extensions module.
A message tag/pair was missing in the XML output. It's not strictly needed
(as it's easy enough to deduce the meaning of the output) but doesn't hurt.
2013-03-25 03:21:40 +01:00
Adam Waldenberg
65d273c0ef Added HTML output to the changes module. 2013-03-25 03:08:05 +01:00
Adam Waldenberg
13b11f4961 Added HTML output to the missing module. 2013-03-14 00:47:40 +01:00
Adam Waldenberg
e4cf02afa2 Added HTML output to the filtering module. 2013-03-11 10:22:54 +01:00
Adam Waldenberg
94cd12da8d Added HTML output to the extensions module. 2013-03-11 09:59:13 +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
53b0cfba37 The default output functions now properly print the name of the class. 2013-03-11 09:06:05 +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
267a00dae4 Removed XML output from version module.
Instead of directly supporting the version module, XML and HTML output will
instead always output a version string somewhere to indicate with what
version of gitinspector the output was generated.
2013-03-11 00:12:35 +01:00
Adam Waldenberg
3e8d6434e8 Perfected the look of the HTML output from the blame module.
This output is a good start and should work fine as a first template that
can be used when implementing HTML output in all other modules.

Once this is done we can work on adding some interactivity. However; it
might be a good idea to just release a version with some simple HTML
output before adding more complex stuff.
2012-11-17 02:58:56 +01:00
Adam Waldenberg
f4c8aa05b5 Created an initial version of the HTML in the blame module.
Currently, the output is very rough and needs a lot of work. However, the
integration with flot and all data output seems to be correct.
2012-11-17 00:35:56 +01:00
Adam Waldenberg
369290fc25 Extended the HTML header with some initial CSS.
The pie-chart plugin script was also added to the head of the document.
2012-11-17 00:33:47 +01:00
Adam Waldenberg
e833ac1c9b Fixed some violations reported by pylint. 2012-11-13 12:18:30 +01:00
Adam Waldenberg
1b89bf150b Scaled down the gitinspector piclet to a 48x48 pixel size. 2012-11-13 11:28:39 +01:00
Adam Waldenberg
527d47ecae gitinspector can now be executed from another directory again.
This was broken when the loading of external resources for the HTML output
was added.

This fix should also improve compatibility with py2exe.
2012-11-13 11:27:56 +01:00
Adam Waldenberg
6ee7ad71ab The scripts from the flot archive are now included in the HTML output.
The gitinspector piclet was also added to the generated HTML.
2012-11-13 00:49:26 +01:00
Adam Waldenberg
ffdad930cf Added a gitinspector "piclet" to the html directory. 2012-11-13 00:46:28 +01:00
Adam Waldenberg
6625651366 HTML header and footer is now properly outputted. 2012-11-03 02:13:53 +01:00
Adam Waldenberg
4e2c690962 Created an html directory and added the Flot distribution archive to it.
Flot is a javascript plotting library for charts. It uses JQuery, is very
common and has a good compatibility between different browsers.

We will use this library for data representation in the HTML output mode.
2012-11-03 01:45:24 +01:00
Adam Waldenberg
e5762eda3f Implemented support for XML output in the missing module. 2012-11-03 01:26:49 +01:00
Adam Waldenberg
28871199df Added missing shell parameter to subprocess.call() during file checkout.
This is a long-standing bug that has gone undetected until now.
2012-11-03 01:25:53 +01:00
Adam Waldenberg
695a2b98df Implemented support for XML output in the filtering module. 2012-11-03 01:08:08 +01:00
Adam Waldenberg
5b8ce8c1e8 Implemented support for XML output in the responsibilities module. 2012-11-03 00:47:16 +01:00
Adam Waldenberg
0669adc560 Implemented support for XML output in the metrics module. 2012-10-23 11:25:52 +02:00
Adam Waldenberg
c4b108b7ff Fixed broken --version text output. 2012-10-21 01:27:50 +02:00
Adam Waldenberg
a72a29212a Implemented support for XML output in the timeline module. 2012-10-21 01:22:21 +02:00