Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
32c3b5af9f Updated all copyright notices of the project to include the year 2013. 2013-04-05 14:15:56 +02: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
e5762eda3f Implemented support for XML output in the missing module. 2012-11-03 01:26:49 +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
a72a29212a Implemented support for XML output in the timeline module. 2012-10-21 01:22:21 +02:00
Adam Waldenberg
4170c00c03 Added missing gitinspector tag to the XML output of the version flag.
This got accidentally removed when the implementation of the footer and
header functions in the format module were added.
2012-10-21 00:42:31 +02:00
Adam Waldenberg
00baf350a8 Implemented support for XML output in the extensions module. 2012-10-19 02:01:10 +02:00
Adam Waldenberg
a557ff9944 Implemented output_header/footer() in the format module.
This enables us to fetch XML output from multiple sources in-between the
footer and header. These functions are called at the beginning and end
when gitinspector runs.
2012-10-18 16:59:52 +02:00
Adam Waldenberg
e11606bcaf Implemented support for XML output in the changes module. 2012-10-18 15:35:23 +02:00
Adam Waldenberg
ed92376d35 Implemented support for XML output in the version module. 2012-10-18 15:34:16 +02:00
Adam Waldenberg
ac5c5ddb31 Added format module with initial support for different formats.
Currently this does nothing but will later enable us to output xml and
html alongside the current support for text output.
2012-10-12 12:52:35 +02:00
Adam Waldenberg
28d7981bdf The flag --tda367 has been changed to --grading; making it more general. 2012-10-09 23:00:27 +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
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
ffbf4c3e90 Analyzed extensions are now marked when the -l switch is used.
This is extremely useful and shows exactly what files are actually used when
gitinspector generates the statistics.
2012-05-16 05:04:55 +02:00
Adam Waldenberg
134d8d43a1 Added a metrics module together with a new -m option.
The metrics module currently only includes a very simple ELOC (estimated lines
of code) metric, but will be expanded eventually with some other metrics.
2012-05-14 15:24:45 +02:00
Adam Waldenberg
f8b3a20652 Added a new --checkout-missing option. Missing files are now pretty-printed.
If any missing files are detected during analysis, gitinspector reports them
in a list. If, on the other hand, the --checkout-missing option is supplied,
gitinspector will try to checkout any missing files instead.
2012-05-07 09:38:11 +02:00
Adam Waldenberg
2d3e8e673c Completely removed the -x option controlling printing of escape characters.
Instead, gitinspector now probes stdout and checks if it points to a proper
terminal. If it doesn't, escape characters are skipped.
2012-05-05 10:26:02 +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
5621652946 Initial commit. 2012-05-04 11:40:30 +02:00