summaryrefslogtreecommitdiffstats
path: root/testing/gitstats/output.patch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 11:44:54 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-26 06:52:00 +0000
commit640f4e8fd3a2a1150b7a6777677b126579f63f70 (patch)
tree80051e95c51411536c4f78f26b1fb66916d9d610 /testing/gitstats/output.patch
parentf621a35db638ea7c5624bbccdb99372709c45888 (diff)
downloadaports-640f4e8fd3a2a1150b7a6777677b126579f63f70.tar.bz2
aports-640f4e8fd3a2a1150b7a6777677b126579f63f70.tar.xz
testing/gitstats: new aport
GitStats is a statistics generator for git (a distributed revision control system) repositories. It examines the repository and produces some interesting statistics from the history of it. Currently HTML is the only output format. http://gitstats.sourceforge.net/
Diffstat (limited to 'testing/gitstats/output.patch')
-rw-r--r--testing/gitstats/output.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/gitstats/output.patch b/testing/gitstats/output.patch
new file mode 100644
index 000000000..118a4cbb3
--- /dev/null
+++ b/testing/gitstats/output.patch
@@ -0,0 +1,15 @@
+--- gitstats/gitstats.orig
++++ gitstats/gitstats
+@@ -1376,10 +1376,8 @@
+ exectime_internal = time_end - time_start
+ print 'Execution time %.5f secs, %.5f secs (%.2f %%) in external commands)' % (exectime_internal, exectime_external, (100.0 * exectime_external) / exectime_internal)
+ if sys.stdin.isatty():
+- print 'You may now run:'
+- print
+- print ' sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
+- print
++ print 'The report is available at:'
++ print '\'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
+
+ if __name__=='__main__':
+ g = GitStats()