Heikki Hokkanen
14979d6dab
Merge branch 'work' into windows
2008-06-28 11:55:36 +03:00
Heikki Hokkanen
7c13d11970
Cleanup.
...
Removed unneeded pass statements and done TODO tags.
2008-06-28 11:46:00 +03:00
Heikki Hokkanen
bf413b3a65
Bugfix for files_by_stamp calculation.
2008-06-28 11:38:43 +03:00
Heikki Hokkanen
be2cbda242
Use lists instead of tuples for better readability.
2008-06-28 11:15:34 +03:00
Heikki Hokkanen
3710b9178e
Revert to earlier behaviour when showing commands.
...
The command being run will be shown first, and then prefixed with the
running time after it has been completed.
2008-06-28 10:45:17 +03:00
Heikki Hokkanen
80ca8cb2ef
Env var GNUPLOT overrides gnuplot path.
...
By default 'gnuplot' will be searched from the system path.
2008-06-28 10:38:45 +03:00
Shixin Zeng
a7f0f5ea50
set "shell = True" when call subprocess.Popen
...
On unix, when "shell = False" (default), the args must be a list of
args. While on Windows, filling args with a list causes problems. As a
trade-off, set the this flag and using a string as the command, although
this might sacrifice some performance, but that's not the main concern
in this script.
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2008-06-28 10:14:02 +03:00
Shixin Zeng
a01045f248
runs with msysgit on Win32
...
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2008-06-28 10:13:40 +03:00
Heikki Hokkanen
1517256900
Minor optimization for line counting.
...
- git-rev-list: use %T instead of %H
- git-ls-tree: added --name-only
2007-09-13 19:42:55 +03:00
Heikki Hokkanen
9df3f8e6f2
Added try/except to catch weird lines from git-log --shortstat.
...
This is a workaround for linux-2.6 repository.
2007-09-13 19:40:49 +03:00
Heikki Hokkanen
cea9ebaa9f
Removed unnecessary gnuplot files.
2007-09-13 19:30:13 +03:00
Heikki Hokkanen
f34e1491fc
Cleanup: added DataCollector.refine()
...
Any additional statistics based on the extracted data should be produced in it.
2007-09-07 12:01:21 +03:00
Heikki Hokkanen
f9fa40d813
List of Authors: added "# by commits" column.
2007-09-07 11:37:21 +03:00
Heikki Hokkanen
c31ca0c2f8
todo: activity -> Pace of Changes.
2007-09-07 11:06:30 +03:00
Heikki Hokkanen
74b80b4ce0
todo: state saving -> command line settings.
2007-09-07 10:32:59 +03:00
Heikki Hokkanen
fc614c6d50
authors: added "Next top 5" column to author of month/year.
...
Only names are shown for the next 5.
2007-09-07 10:29:50 +03:00
Heikki Hokkanen
df8f910b19
todo: ideas on state saving/restoring.
2007-09-06 15:32:37 +03:00
Heikki Hokkanen
5024a7ce03
Portability: use "#!/usr/bin/env python" for the shebang line.
...
Thanks to Alexander Botero-Lowry.
2007-09-06 10:50:00 +03:00
Heikki Hokkanen
4274e58ac8
Portability: use python's reverse() instead of |tac.
...
This should make gitstats work on FreeBSD.
Thanks to Alexander Botero-Lowry.
2007-09-06 10:47:20 +03:00
Heikki Hokkanen
3ffee5fce8
doc/author.txt: subject should include "gitstats".
2007-09-06 10:36:38 +03:00
Heikki Hokkanen
29040361ca
Reverted gitstats to revision 76d1dc7a8be6523fde1252850790494442220e0c.
...
This reverts "Attempt to optimize file counting." and related commits.
(commit c257429c561af8b99bb0a0daa65871a80a9fedb2)
2007-09-06 10:31:46 +03:00
Heikki Hokkanen
4da1619fb4
todo: total repository size.
2007-09-06 10:02:56 +03:00
Heikki Hokkanen
b10f1a573d
git-ls-files: look for '^c' instead of '^commit'.
2007-08-29 20:10:45 +03:00
Heikki Hokkanen
c257429c56
Attempt to optimize file counting.
...
Two executions of 'git-rev-list' were merged and python used instead of sh
snippet. From initial testing this seems to _slow_ things down.
2007-08-29 20:04:17 +03:00
Heikki Hokkanen
1eb86dbf2c
gnuplot: added bmargin for plots that had rotated x labels cut off.
2007-08-29 19:17:26 +03:00
Heikki Hokkanen
76d1dc7a8b
Don't list the "wc -l" commands.
2007-08-29 18:11:18 +03:00
Heikki Hokkanen
faf762f4dd
Fixed escaping for "wc -l".
2007-08-29 17:52:29 +03:00
Heikki Hokkanen
b79278897c
Workaround for unexpected content (line statistics).
...
Hopefully fixes a problem with linux-2.6 repository.
2007-08-28 17:00:04 +03:00
Heikki Hokkanen
41da84c96f
todo: more items.
2007-08-28 16:58:46 +03:00
Heikki Hokkanen
87e9aa1668
todo: --debug.
2007-08-24 15:11:08 +03:00
Heikki Hokkanen
8adcbf8182
Optimization: removed unneeded "git-ls-files".
2007-08-24 15:10:28 +03:00
Heikki Hokkanen
2b1cf3e22a
Bugfix for line statistics.
...
Earlier this borked on author names containing "," (or example, wine
repository). Now it will instead check for line containing "files changed,".
2007-08-24 14:15:19 +03:00
Heikki Hokkanen
5e9c722ef5
Output time used in internal/external execution.
2007-08-24 13:47:52 +03:00
Heikki Hokkanen
4382511926
todo: commandline options.
2007-08-24 13:27:21 +03:00
Heikki Hokkanen
d6d6d2534e
Optimized "total commits" counting.
...
Removed an extra "git-rev-list".
2007-08-24 13:25:07 +03:00
Heikki Hokkanen
d87b7a004f
Include project name in the title.
...
For now it's taken from the basename of the repository path.
2007-08-24 13:19:37 +03:00
Heikki Hokkanen
3b5e00ed1c
todo: cleanup of gnuplot input files.
2007-08-22 21:05:08 +03:00
Heikki Hokkanen
ebb337bbaa
todo: x-label bug & show raw data.
2007-08-22 14:53:47 +03:00
Heikki Hokkanen
87c85c79b9
todo cleanup.
2007-08-22 14:35:55 +03:00
Heikki Hokkanen
e1a3374cce
Improved style.
2007-08-22 14:29:19 +03:00
Heikki Hokkanen
453f6e453c
todo: remove stale items.
2007-08-22 14:06:29 +03:00
Heikki Hokkanen
851296a4d7
Added doc/INSTALL.
2007-08-21 19:22:55 +03:00
Heikki Hokkanen
7c43e2be12
Print execution times for all external commands.
2007-08-21 19:08:39 +03:00
Heikki Hokkanen
3f2fc8db00
Copy gitstats.css to output path if it does not exist.
2007-08-21 19:01:16 +03:00
Heikki Hokkanen
6d4bc0796b
Workaround for linux-2.6 repository.
2007-08-21 18:37:59 +03:00
Heikki Hokkanen
d0c9bd5abb
Optimize total lines of code.
...
Get total lines of code from "git-log --shortstat" instead of "cat".
2007-08-21 16:14:29 +03:00
Heikki Hokkanen
c9964f028c
Graph: Lines of Code.
...
Line statistics are gathered correctly (again).
2007-08-21 15:50:26 +03:00
Heikki Hokkanen
b345047de8
Collect line statistics properly.
2007-08-21 15:18:36 +03:00
Heikki Hokkanen
012cf6be52
Collect some data for inserted/deleted lines each commit.
2007-08-16 20:09:37 +03:00
Heikki Hokkanen
dec6a47fb1
CSS: smaller tables.
2007-08-16 16:13:20 +03:00