Commit graph

437 commits

Author SHA1 Message Date
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
Adam Waldenberg
aa727a95c3 Documentation update to include the new features on master. 2015-10-01 04:37:20 +02:00
Adam Waldenberg
3e88fcb71a Added the possibility to include all file extensions in the analysis.
This functionality was briefly discussed in issue #61. To make
gitinspector consider all file extensions, it is now possible to supply
a  double asterisk "**" to the list of file extensions.
2015-10-01 03:59:44 +02:00
Adam Waldenberg
243e52b5de The changes module could crash upon no detected file types (Fixes #68).
The sub list flattening happening after all the "changes threads" have
run should be happening before the len(self.commits) check, not after.
2015-09-30 15:10:46 +02:00
Adam Waldenberg
e4827ee58e The changes module crashed on empty commit/revision lists (Fixes #68).
Once again introduced with aeb9ad6, this could happen whenever a
repository had no commits or if the history was being filtered with
--since and/or --until and no commits were being detected within that
interval.
2015-09-29 22:09:05 +02:00
Adam Waldenberg
6d89cdf8c8 Added the maintainer of the Spanish translation to README.md. 2015-09-27 12:57:53 +02:00
Agustín Cañas
ad36849afb Added Spanish translation (Closes #71). 2015-09-27 12:50:12 +02:00
Adam Waldenberg
e3f741b518 Added support for extensionless files (Fixes #60).
This can be enabled by passing a "*" to the list of defined file
types (-f). Originally, the plan was to also implement support for
regular expressions. However, this was skipped, as it complicated how
expressions for the file types flag were being passed on the command line.
2015-09-26 01:52:04 +02:00
Adam Waldenberg
583b5fa753 Python 3 compatibility was broken with commit aeb9ad6 (Fixes #70). 2015-09-25 23:52:53 +02:00
Adam Waldenberg
582ffe7246 Fixed bug introduced with commit aeb9ad6 (Fixes #68).
The interval check was referencing commits instead of self.commits.
2015-09-24 21:40:57 +02:00
Adam Waldenberg
a6c05cc619 Added support for comments and metrics in C# code (Fixes #59). 2015-09-24 04:11:38 +02:00
Adam Waldenberg
da1553b57e Implemented filtering by commit message (Fixes #57).
When filtering, "git show" is called in order to pull the commit message
from the git log. While slow, it makes certain that the message itself is
pulled correctly, including any escape characters that might be present.
2015-09-24 03:38:35 +02:00
Adam Waldenberg
f368c0019a Fixed mistake in the filtering module related to hash filtering.
FILTERING_EMAIL_INFO_TEXT was erroneously being defined twice.
2015-09-22 02:41:16 +02:00