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>
vor 17 Jahren
Shixin Zeng
a01045f248
runs with msysgit on Win32
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
vor 17 Jahren
Heikki Hokkanen
f34e1491fc
Cleanup: added DataCollector.refine()
Any additional statistics based on the extracted data should be produced in it.
vor 18 Jahren
Heikki Hokkanen
f9fa40d813
List of Authors: added "# by commits" column.
vor 18 Jahren
Heikki Hokkanen
c31ca0c2f8
todo: activity -> Pace of Changes.
vor 18 Jahren
Heikki Hokkanen
74b80b4ce0
todo: state saving -> command line settings.
vor 18 Jahren
Heikki Hokkanen
fc614c6d50
authors: added "Next top 5" column to author of month/year.
Only names are shown for the next 5.
vor 18 Jahren
Heikki Hokkanen
df8f910b19
todo: ideas on state saving/restoring.
vor 18 Jahren
Heikki Hokkanen
5024a7ce03
Portability: use "#!/usr/bin/env python" for the shebang line.
Thanks to Alexander Botero-Lowry.
vor 18 Jahren
Heikki Hokkanen
4274e58ac8
Portability: use python's reverse() instead of |tac.
This should make gitstats work on FreeBSD.
Thanks to Alexander Botero-Lowry.
vor 18 Jahren
Heikki Hokkanen
3ffee5fce8
doc/author.txt: subject should include "gitstats".
vor 18 Jahren
Heikki Hokkanen
29040361ca
Reverted gitstats to revision 76d1dc7a8be6523fde1252850790494442220e0c.
This reverts "Attempt to optimize file counting." and related commits.
(commit c257429c561af8b99bb0a0daa65871a80a9fedb2)
vor 18 Jahren
Heikki Hokkanen
4da1619fb4
todo: total repository size.
vor 18 Jahren
Heikki Hokkanen
b10f1a573d
git-ls-files: look for '^c' instead of '^commit'.
vor 18 Jahren
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.
vor 18 Jahren
Heikki Hokkanen
1eb86dbf2c
gnuplot: added bmargin for plots that had rotated x labels cut off.
vor 18 Jahren
Heikki Hokkanen
76d1dc7a8b
Don't list the "wc -l" commands.
vor 18 Jahren
Heikki Hokkanen
faf762f4dd
Fixed escaping for "wc -l".
vor 18 Jahren
Heikki Hokkanen
b79278897c
Workaround for unexpected content (line statistics).
Hopefully fixes a problem with linux-2.6 repository.
vor 18 Jahren
Heikki Hokkanen
41da84c96f
todo: more items.
vor 18 Jahren
Heikki Hokkanen
87e9aa1668
todo: --debug.
vor 18 Jahren
Heikki Hokkanen
8adcbf8182
Optimization: removed unneeded "git-ls-files".
vor 18 Jahren
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,".
vor 18 Jahren
Heikki Hokkanen
5e9c722ef5
Output time used in internal/external execution.
vor 18 Jahren
Heikki Hokkanen
4382511926
todo: commandline options.
vor 18 Jahren
Heikki Hokkanen
d6d6d2534e
Optimized "total commits" counting.
Removed an extra "git-rev-list".
vor 18 Jahren
Heikki Hokkanen
d87b7a004f
Include project name in the title.
For now it's taken from the basename of the repository path.
vor 18 Jahren
Heikki Hokkanen
3b5e00ed1c
todo: cleanup of gnuplot input files.
vor 18 Jahren
Heikki Hokkanen
ebb337bbaa
todo: x-label bug & show raw data.
vor 18 Jahren
Heikki Hokkanen
87c85c79b9
todo cleanup.
vor 18 Jahren
Heikki Hokkanen
e1a3374cce
Improved style.
vor 18 Jahren
Heikki Hokkanen
453f6e453c
todo: remove stale items.
vor 18 Jahren
Heikki Hokkanen
851296a4d7
Added doc/INSTALL.
vor 18 Jahren
Heikki Hokkanen
7c43e2be12
Print execution times for all external commands.
vor 18 Jahren
Heikki Hokkanen
3f2fc8db00
Copy gitstats.css to output path if it does not exist.
vor 18 Jahren
Heikki Hokkanen
6d4bc0796b
Workaround for linux-2.6 repository.
vor 18 Jahren
Heikki Hokkanen
d0c9bd5abb
Optimize total lines of code.
Get total lines of code from "git-log --shortstat" instead of "cat".
vor 18 Jahren
Heikki Hokkanen
c9964f028c
Graph: Lines of Code.
Line statistics are gathered correctly (again).
vor 18 Jahren
Heikki Hokkanen
b345047de8
Collect line statistics properly.
vor 18 Jahren
Heikki Hokkanen
012cf6be52
Collect some data for inserted/deleted lines each commit.
vor 18 Jahren
Heikki Hokkanen
dec6a47fb1
CSS: smaller tables.
vor 18 Jahren
Heikki Hokkanen
b45960d1cd
todo: removed section describing what statsvn has.
vor 18 Jahren
Heikki Hokkanen
bde7d30882
More todo items.
vor 18 Jahren
Heikki Hokkanen
9da6a926b7
Output fragment (#) links for all headers.
Headers are now created using html_header() function.
vor 18 Jahren
Heikki Hokkanen
0e19a5ee12
doc/README: what it does currently.
vor 18 Jahren
Heikki Hokkanen
2a6d586349
Workaround for git repository.
vor 18 Jahren
Heikki Hokkanen
2a61a8f316
Cleaner style.
vor 18 Jahren
Heikki Hokkanen
d6aee981ed
Added gnuplot and version numbers to requirements.
vor 18 Jahren
Heikki Hokkanen
5fd98ece22
Renamed name to GitStats from statgit in the rest of the files.
This name change was done just in case the statcvs/statsvn folks plan on making
a git version at some point in the future (the projects seem to share
developers).
vor 18 Jahren
Heikki Hokkanen
f75d9d372f
Renamed statgit -> gitstats in filenames.
vor 18 Jahren