Commit graph

365 commits

Author SHA1 Message Date
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
Adam Waldenberg
5a18732112 Added missing file close() in blame module. 2015-09-20 01:43:40 +02:00
Adam Waldenberg
b4b48deebd Printed extensions (-l) are now alphabetically sorted. 2015-09-20 01:42:54 +02:00
Adam Waldenberg
aeb9ad69f9 Implemented threading in the changes module (Fixes #15).
This change results in a substantial speed up.
2015-09-19 04:32:02 +02:00
Adam Waldenberg
7a9eb69ab0 README.md links to cdn.rawgit.com changed to githubproxy.ejwa.se.
Developed using JavaEE, this is a (currently) private service with
caching for fetching files from GitHub projects. Unlike cdn.rawgit.com,
we don't cache files indefinitely. Instead, we use ETags to control
caching.
2015-09-11 03:51:53 +02:00
Adam Waldenberg
f37bdb7c58 Bumped the version number to the next development iteration. 2015-09-08 02:03:11 +02:00
Adam Waldenberg
f6fd00f411 Bumped the version number to 0.4.1. 2015-09-08 02:02:21 +02:00
Adam Waldenberg
124ca74650 HTML output was broken when authors with quotes were sent to JavaScript.
Fixed by using json.dumps() to escape the author name before passing it to
the JavaScript output.
2015-09-08 01:35:42 +02:00
Adam Waldenberg
98c375a0ab Fixed bug indirectly introduced with commit 0447da19.
When reversing the git log, we forgot to take the interval into
consideration; breaking the --since and--until flags.
2015-09-07 02:22:58 +02:00
Adam Waldenberg
b48c65efb1 All subprocess.Popen calls now use the list variant.
Most (all?) hard coded quotations have been removed in favor of automation
and the pipes or shlex modules.
2015-09-07 01:53:24 +02:00
Adam Waldenberg
25b5507267 Moved test resouces into a resources directory. 2015-09-05 10:27:29 +02:00
Adam Waldenberg
c5e861d662 Bumped the version number to the next development iteration. 2015-09-05 10:25:08 +02:00
Adam Waldenberg
ade7a5ad9b Bumped the version number to 0.4.0. 2015-09-01 02:58:00 +02:00
Adam Waldenberg
b20d91b3cb Added CHANGES document.
This file contains a summary of changes in each public release of
gitinspector.
2015-09-01 02:58:00 +02:00
Adam Waldenberg
15c1816a73 Flag for generating metrics added to the example outputs (README.md). 2015-09-01 02:58:00 +02:00
Adam Waldenberg
8b4ac7d423 Added project badges to the top of README.md (powered by Shields.io). 2015-08-29 01:21:26 +02:00
Adam Waldenberg
52946d4770 README.md links to htmlpreview.github.io changed to cdn.rawgit.com.
This service works much better and does not seem to interfere with the
JQuery scripting like htmlpreview.* does.
2015-08-28 01:41:27 +02:00
Adam Waldenberg
bf9e5b700c Added a link to the documentation in README.md 2015-08-28 01:15:00 +02:00
Adam Waldenberg
42b2288c85 Fixed remaining issues in README.md
The logo and example thumbnail are now integrated into the page more nicely.
Also, links to the wiki were not properly defined.
2015-08-25 15:16:19 +02:00
Roman Levin
edf1843300 Fix examples table in README.md 2015-08-25 09:40:41 +02:00
Adam Waldenberg
4aa388553c Added an initial README.md to properly introduce the project on GitHub. 2015-08-25 04:29:12 +02:00
Kamila Chyla
96e2b0fdf0 Prevent ZeroDivisionError in get_stability method (Fixes #63).
Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
2015-08-25 02:23:46 +02:00
Adam Waldenberg
30a20e6b52 All doc and source code URL's now also point to the new home on GitHub.
Regenerated all the documentation from the AsciiDoc document.
2015-08-24 17:34:14 +02:00