Commit graph

399 commits

Author SHA1 Message Date
Adam Waldenberg
46b21db196 The changes module now supports multiple repositories (See issue #24).
Just as before, all other parts of gitinspector currently do not
support fetching statistics from multiple repositories and just
simply fetch data from the last repository specified.
2015-10-31 03:44:00 +01:00
Adam Waldenberg
3bae1be0cb Fixed faulty import in metricsoutput module. 2015-10-31 02:22:25 +01:00
Adam Waldenberg
9287b187f7 Fixed some pylint violations. This also takes care of some bugs. 2015-10-31 00:03:51 +01:00
Adam Waldenberg
dd2feedbe4 Fixed invalid indentation at begining of file in gitinspector.py. 2015-10-30 23:54:04 +01:00
Adam Waldenberg
e0941fdcf1 The gitinspector.py entry module now considers all repositories.
While they are considered, they are not yet being merged. Statistics
are only calculated for the last repository passed.

This is being done in preparation of completing issue #24.
2015-10-30 23:46:13 +01:00
Adam Waldenberg
109a94e1e7 The basedir module is no longer persistent (doesn't remember state).
This is required in order for it to be callable multiple times for
multiple repositories (Needed for #24).
2015-10-30 23:29:03 +01:00
Adam Waldenberg
258eefa1e7 The clone module can now handle multiple repositories.
This is needed to allow gitinspector to be able to clone multiple
repositories during the same execution (Needed for #24).
2015-10-30 23:16:33 +01:00
Adam Waldenberg
d88ff2c5b9 Slight cleanup in gitinspector.py.
Renamed all "local" declarations in main().
2015-10-30 03:41:09 +01:00
Adam Waldenberg
c01a59430c Rewrote the config module into a class (GitConfig).
This class takes the initialization variable "global_only" which
will be set in the future whenever multiple repositories are
specified (See issue #24).

This will make sure that the git configuration is only read from the
global settings instead of per-repository.
2015-10-30 01:24:33 +01:00
Adam Waldenberg
5af89f798a Added a note about the supplied Debian packages to README.md. 2015-10-29 03:58:09 +01:00
Adam Waldenberg
d30715cc84 The changes module now also outputs the progress when in text mode.
Furthermore, the output also shows the pass currently running. This is
important, as the progress goes from 0 to 100%, twice.
2015-10-29 03:37:08 +01:00
Adam Waldenberg
ce91c4176a Moved blame.Blame.output_progress to terminal.output_progress.
This enables us to output progress from multiple modules.
2015-10-29 03:36:53 +01:00
Adam Waldenberg
6606d8b13c Progress from the blame module is now printed regardless of --hard. 2015-10-29 03:36:49 +01:00
Adam Waldenberg
1ed9b5e3cf Re-factored the changes module and made it more independent.
This will make it easier to add support for the merging of statistics from
multiple repositories (as discussed in issue #24).
2015-10-29 03:09:46 +01:00
Adam Waldenberg
fa04eb57f3 Bumped the version number to the next development iteration. 2015-10-29 02:25:20 +01:00
Adam Waldenberg
d941487280 Imported CHANGES.txt from most recent extra-release branch. 2015-10-29 01:32:15 +01:00
Adam Waldenberg
d8dfecb19a Updated typo in RESPONSIBILITIES_INFO_TEXT in all translations.
Also regenerated all .mo files, so these should now all be up-to-date.
2015-10-29 00:11:26 +01:00
Adam Waldenberg
4bd723eea0 Chinese help text would not fit on a 80 character terminal. 2015-10-28 23:59:57 +01:00
Adam Waldenberg
859224f36f Wrong translator specified in Chinese translation. 2015-10-28 23:56:48 +01:00
Bill Wang
5ee5127b15 Fixed typos in RESPONSIBILITIES_INFO_TEXT.
This also requires changes to the templates of the translations.
2015-10-28 23:23:33 +01:00
Bill Wang
75b528a84a Updated Chinese translation (Fixes #11). 2015-10-28 23:23:23 +01:00
Adam Waldenberg
8a0ba3dca1 Updated the header and .mo file of the Italian translation. 2015-10-28 01:01:39 +01:00
Luca Motta
58a983ed27 Updated the Italian translation (Fixes #20). 2015-10-28 00:49:39 +01:00
Adam Waldenberg
eec6741cfb Updated header information of french translation and generated .mo file. 2015-10-26 02:19:42 +01:00
Yannick Moy
21c6346868 Updated French translation: help messages. 2015-10-25 21:56:13 +01:00
Adam Waldenberg
78831c1b9b Fixed slight mistake and updated header information in Polish translation.
Also took the opportunity to regenerate the .mo file.
2015-10-24 23:24:28 +02:00
Kamila Chyla
79e390afe8 Updated Polish translation: help messages. 2015-10-24 19:00:54 +02:00
Adam Waldenberg
81e18ff075 Small tweaks to the header of the german translation.
It now correctly references the current pot and version. Consequently, it
should be usable without generating a warning from the current
development iteration of gitinspector.
2015-10-24 17:34:21 +02:00
xxyy
b0e7bb5ae9 Update German translation; Fixes #25
This commit updates the German translation. Changes in translation
include updating for changed messages in upstream and some rewording.
Also, this commit includes a different translation for "cyclomatic
complexity" because the previously used one (by inventor's name)
might be less clear than the current, literal translation, which seems
more intuitive, especially in a world where English is dominant in
software dev, so people are more likely to know only the English word.

Some translations have been changed to be more clear and to the point.
Some comments have been added to messages that have been causing issues.
2015-10-24 12:20:49 +02:00
Adam Waldenberg
b4eb5484ac README.md now includes a note about JSON being supported. 2015-10-24 03:08:35 +02:00
Adam Waldenberg
bbe07f061d Added support for JSON output format (Fixes #50). 2015-10-24 02:44:45 +02:00
Adam Waldenberg
cff8dd109b Fixed minor mistake in the filtering XML output.
Nothing that really affects functionality. However, a string was doing
some unnecessary string.format calls.
2015-10-22 00:36:11 +02:00
Adam Waldenberg
124636cb85 Restructured imports slightly. 2015-10-21 05:26:20 +02:00
Adam Waldenberg
e9eab37c83 Added a new gitinspector.py entry script. 2015-10-21 05:07:47 +02:00
Marc Harper
59d9e5c7ae Try block unneeded in localization.py import 2015-10-20 09:51:42 -07:00
Marc Harper
4f3e0d3073 Restore relative imports of changes and filtering 2015-10-20 09:48:32 -07:00
Marc Harper
9abb9b3d56 Relative imports to fix packaging issues 2015-10-20 09:40:08 -07:00
Adam Waldenberg
f2a4cb92d3 Always append the root gitinspector package to sys.path (Fixes #73).
With this change, gitinspector once again functions in conjunction with
egg installations. Also removed all forceful absolute imports, as these
really aren't needed.
2015-10-15 17:01:57 +02:00
Adam Waldenberg
d333f7bdd2 Updated copyright notices of recently updated files. 2015-10-12 03:18:57 +02:00
Adam Waldenberg
1f2f120389 Fixed pylint violations reported by a newer version of pylint. 2015-10-12 03:15:30 +02:00
Adam Waldenberg
34337dec17 Refactored all outputable modules.
This prepares the source code for the changes discussed in issue #24.

Note that this is just a quick restructuring in order to see the resulting
classes and separation. More work will be done to make it more elegant
and with less dependencies between modules.
2015-10-12 03:03:07 +02:00
Adam Waldenberg
6aa41ade9f Bumped the version number to the next development iteration. 2015-10-12 00:48:30 +02:00
Adam Waldenberg
fa483b4327 Bumped the version number to 0.4.2. 2015-10-12 00:47:46 +02:00
Adam Waldenberg
5259b76b94 The localization module now warns when finding an out of date translation.
While allowing us to include translations that are not quite up to date
with the current development branch in releases, it also serves to inform
the user that they are using a translation that is broken or incomplete.
2015-10-09 03:02:06 +02:00
Adam Waldenberg
4b92e7a3cc Updated the version string of current up to date translations.
These version strings now reference the current development iteration and
will be updated each time we bump revision.
2015-10-09 02:57:48 +02:00
Agustín Cañas
9368898d6d Updated Spanish translation. Ready for next release 2015-10-08 23:49:31 +02:00
Adam Waldenberg
38df413ebf Global cleanup fixing some pylint violations. 2015-10-05 06:17:10 +02:00
Adam Waldenberg
c0cb2d2801 Running setup.py under Python 3 gave an import exception. 2015-10-04 16:05:06 +02:00
Adam Waldenberg
07f17f3d2e Updated Swedish translation. 2015-10-02 04:13:58 +02:00
Adam Waldenberg
47b11addd9 Added an updated messages.pot.
The only thing that has changed since the last .pot file is the help text
(--help). New text has been added to the documentation for the "-x" flag
and the "-f" flag.
2015-10-02 03:51:13 +02:00