Otherwise things crash if the configuration does not provide a file type
map, even if nobody is asking for file type reports.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
The filetypes can be extended using a configuration files, where
is possible to associate file type and its corresponden regular
expression.
The code includes a script to test the regex without running
gitdm.
Signed-off-by: Germán Póo-Caamaño <gpoo@gnome.org>
A certain obnoxious developer wants his contributions to be split between
two employers. So add the "VirtualEmployer" mechanism to make that
possible. A virtual employer is defined with:
VirtualEmployer ve-name
nn% real-name
...
end
(This construct must appear in the main configuration file). Developers
can be associated with the virtual employer in the usual way; at report
time, any changes credited to that employer will be split among the real
employers according to the percentages provided.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Addresses of the form "user at host.wherever" can be trivially repaired, so
let's do so.
A couple of other minor tweaks are included here as well; nothing which
changes behavior.
Add tracking of tested-by, reported-by, and reviewed-by. For the first
two, we also track who is *giving* those credits.
While I was in the neighborhood I also:
- Started turning the "patch" class into something more than a bare
container; this work has just begin.
- Moved the report-writing code into its own file (reports.py)