Commit graph

392 commits

Author SHA1 Message Date
Adam Waldenberg
6a54e5bfc6 Added some additional settings to .pylintrc.
These changes are needed for pylint to play nice with any gettext (GNU)
localization.
2013-06-25 14:20:15 +02:00
Adam Waldenberg
b5ba665ae4 Reformatted DESCRIPTION.txt to an 80 character width. 2013-06-25 14:18:20 +02:00
Adam Waldenberg
2bfb3cfa67 Added hovering support to the pie charts in the HTML output.
The name of the author is now highlighted in the table whenever a pie
piece in the pie chart is hovered over. Currently, it does not work the
other way around (because of a limitation in the flot library).
2013-06-18 03:09:59 +02:00
Adam Waldenberg
6b2f26ed04 Updated the flot archive to version 0.8.1.
This archive also includes a new version of JQuery (1.8.3).
2013-06-17 08:51:27 +02:00
Adam Waldenberg
293edef4bb Added debian directory to .gitignore. 2013-06-17 07:50:19 +02:00
Adam Waldenberg
fe71a2923a Removed dangling semicolon from the blame module. 2013-06-17 07:49:53 +02:00
Adam Waldenberg
8a386225fd Added "ignore" parameter to unicode_escape decodings (Fixes issue 4). 2013-06-17 07:47:47 +02:00
Adam Waldenberg
a99758bcbb Text files are now included in source and binary distributions. 2013-06-14 05:14:29 +02:00
Adam Waldenberg
319070c15a Added a DESCRIPTION.txt used for the long description in setup.py. 2013-06-14 05:08:22 +02:00
Adam Waldenberg
018647d7d8 Literals in the blame module are now always in unicode.
Without this fix, there is a potential for some UnicodeEncodeErrors when
using non-unicode literals with string.format().
2013-06-14 04:20:09 +02:00
Adam Waldenberg
764538f537 Added "setuptools/Distribute"-specific files to .gitignore. 2013-06-14 03:36:42 +02:00
Adam Waldenberg
9c514c3436 Package data was not being included in binary distributions. 2013-06-14 03:35:54 +02:00
Adam Waldenberg
73c4363f9d Added a setup.py for use with setuptools or Distribute.
This particular setup script has been tested with Distribute 0.6.24.
For some strange reason, the generated entry-point script does not work
with Python 3.3 - resulting in import errors. I can only assume this is
a bug in this version of the Distribute package when it's running together
with Python 3.3.
2013-06-14 03:16:57 +02:00
Adam Waldenberg
f36b82170f File structure rearranged to be more compatible with setuptools/Distribute.
The fact is, gitinspector is now stable enough to inlude support for python
distribution and setup. This is the first step towards that transition.
2013-06-14 03:16:30 +02:00
Adam Waldenberg
466941047b Slightly improved the documentation of the --until/since flags. 2013-06-12 18:15:14 +02:00
Adam Waldenberg
761bc10046 Week strings in the timeline module are now zero-padded (Fixes issue 3). 2013-06-12 14:57:25 +02:00
Adam Waldenberg
a31ab18ba0 Fixed some violations reported by pylint. 2013-06-06 03:05:30 +02:00
Adam Waldenberg
0e3ce9b339 Added support for comments and metrics in PHP code.
Even though it is supported, PHP is not part of the default file extensions
used during analysis. To include PHP files in the statistical analysis,
the extension needs to be supplied to gitinspector using the -f flag.
2013-06-06 03:01:07 +02:00
Adam Waldenberg
69af5a797b The metrics module was not taking the --until flag into consideration. 2013-06-06 02:12:56 +02:00
Adam Waldenberg
d5fc9057fb gitinspector now checks it is running under the required Python version.
The required Python version is 2.6. The check is done after all the
command-line arguments have been parsed. In this way, it is still possible
to get help and version information from the script even if the script is
not able to execute properly.
2013-06-05 01:50:29 +02:00
Adam Waldenberg
f95e81bb69 International characters were being stripped when running under Python 2. 2013-06-05 01:15:54 +02:00
Adam Waldenberg
8d597238c1 Fixed a UnicodeWarning that could occur under Python 2. 2013-06-03 02:15:55 +02:00
Adam Waldenberg
db77273659 Fixed a potential error with comment detection.
This particular faulty detection could only occur when multi-line comments
were used as single-line comments.
2013-06-02 19:14:25 +02:00
Adam Waldenberg
879a7c5446 Removed the storage of commit message in the Commit class.
As we don't really need it, storing this was just eating up unnecessary
memory. On very big repositories (with many commits) removing it makes a
big difference.
2013-05-20 19:07:35 +02:00
Adam Waldenberg
f74eb394b8 Bumped the version number to 0.2.2. 2013-05-20 16:24:16 +02:00
Adam Waldenberg
0c0f39f2c9 HTML hover effect is now only shown on tables with hidden rows. 2013-05-20 16:22:08 +02:00
Adam Waldenberg
1992d3dc94 Added support for table sorting to the HTML output.
Instead of manually adding this functionality with our own code; we use
the JQuery tablesorter plugin which adds support for sorting with a few
simple rows of code.
2013-05-20 16:07:02 +02:00
Adam Waldenberg
128b8b3b56 The responsibilities module no longer prints empty authors. 2013-05-20 02:20:29 +02:00
Adam Waldenberg
fe3f067d6a String encoding was broken during redirection of stdout.
The encoding now defaults to UTF-8 whenever stdout does not point to a
proper terminal.
2013-05-20 01:48:17 +02:00
Adam Waldenberg
cf40f16119 Fixed the decoding of strings (Fixes issue 2).
It should now (hopefully) behave the same in all Python versions 2.6+.
2013-05-16 03:06:28 +02:00
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
72975d548c Fixed the display of the pie charts in the HTML output.
Pie charts could previously overlap the sections where they resided.
2013-05-14 03:11:58 +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
028469080f The "--since" flag is now also passed to the blame module. 2013-05-14 01:59:27 +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
99dc2c4735 Bumped the version number to 0.2.1. 2013-05-10 02:10:29 +02:00
Adam Waldenberg
65481c013e Added filtering to the HTML timeline.
Rows with minor work are filtered; these are rows that contain very little
work (only dots). The filtering can be toggled by pressing a button.
2013-05-09 02:45:12 +02:00
Adam Waldenberg
e2d54afade Added utf-8 encoding to the HTML header. 2013-05-08 19:28:32 +02:00
Adam Waldenberg
b1dfade98d Fixed compatibility with Python 3. 2013-05-08 18:52:08 +02:00
Adam Waldenberg
00c0218896 Fixed the printout of extensions in the HTML output.
The printed data was using   instead of spaces when printing out all
extensions found. This resulted in the browser not being able to properly
separate rows.
2013-05-08 18:26:25 +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
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