📊 The statistical analysis tool for git repositories
Go to file
Adam Waldenberg 0d2bf9b0a8 Implemented optional boolean arguments to some command-line options.
Just like in many GNU tools, it is now possible to pass an optional
boolean to some of the flags of gitinspector in the form;

--flag[=BOOL]

This gives us the ability to override options set via git-config.
For example; say we did the following:

git-config --global inspector.timeline true

We could then override this setting when running gitinspector by supplying:

./gitinspector.py --timeline=false

Implementing this was not a trivial task, as no command-line parser in
Python supports this by default (getopt, optparse, argparse). In order to
properly handle optional boolean arguments; some clever patching had to
be done to the command-line in combination with a callback function that
can handle boolean strings. To maintain compatibility with Python 2.6,
this was implemented using optparse (instead of argparse).
2013-07-09 12:40:59 +02:00
gitinspector Implemented optional boolean arguments to some command-line options. 2013-07-09 12:40:59 +02:00
tests Added two unit tests for testing the comment module. 2013-07-04 10:10:11 +02:00
.gitignore Added deb_dist directory to .gitignore. 2013-06-25 14:20:48 +02:00
.pylintrc Added some additional settings to .pylintrc. 2013-06-25 14:20:15 +02:00
DESCRIPTION.txt Reformatted DESCRIPTION.txt to an 80 character width. 2013-06-25 14:18:20 +02:00
LICENSE.txt File structure rearranged to be more compatible with setuptools/Distribute. 2013-06-14 03:16:30 +02:00
MANIFEST.in Translation files are now included during packaging via setup.py. 2013-07-02 07:35:40 +02:00
README.txt File structure rearranged to be more compatible with setuptools/Distribute. 2013-06-14 03:16:30 +02:00
setup.py Translation files are now included during packaging via setup.py. 2013-07-02 07:35:40 +02:00
stdeb.cfg Added a configuration file used by stdeb when creating debian packages. 2013-07-01 03:19:45 +02:00

README.txt

Copyright © 2012-2013 Ejwa Software. All rights reserved.

This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under
certain conditions; see the accompanying LICENSE.txt file for further details.

For questions regarding gitinspector you can contact the current maintainer
in charge at gitinspector@ejwa.se.