Heikki Hokkanen
8bffbaa87e
Make "Next top 5" configurable.
...
"-c authors_top=N" changes how many authors are shown on "Author of month" and
"Author of year".
2010-04-02 16:06:24 +03:00
Heikki Hokkanen
1a00daffc7
Style: white background for table cells.
2010-04-02 16:01:25 +03:00
Tyler Nielsen
6f5314e993
Properly handle empty commits with no changes.
...
Clear files, inserted and deleted after storing them for the preceding commit.
git-svn, for example, can have empty commits (when a directory is created),
causing the statistics to get skewed.
[hoxu@users.sf.net: rewrote commit message based on Tyler's mail]
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2010-03-24 07:03:58 +02:00
Tyler Nielsen
1dd89a2322
Open the cache in binary mode.
...
This fixes an issue where the cache fails to load on Windows machines.
EOL characters were getting modified, causing zlib uncompression to fail.
[hoxu@users.sf.net: slightly modified the commit message]
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2010-03-24 06:58:56 +02:00
Tobias Gruetzmacher
cef3478bec
Name weekdays.
...
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2010-02-27 12:55:43 +02:00
Heikki Hokkanen
80ee0af3f1
todo: bug on linux-2.6 repo.
2010-01-31 09:23:09 +02:00
Wulf C. Krueger
d2b5b32071
Don't revert getAuthors' sorting by commits by sorting again.
...
getAuthors sorts by commits, sorting it again negates that and instead
sorts the list alphabetically again which kind of defeats the purpose.
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2010-01-18 19:09:11 +02:00
Wulf C. Krueger
b54e19c8c0
Activate grids on y for all graphs.
...
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
[hoxu@users.sf.net: removed some unrelated changes]
2010-01-18 18:49:28 +02:00
Heikki Hokkanen
572c2b774f
Don't choke on one day old repositories.
2010-01-17 09:26:05 +02:00
Heikki Hokkanen
c5cdf5750e
Limit author table to 20, and list only name for rest.
...
Can be overriden with -c max_authors=N
2010-01-17 08:48:22 +02:00
Heikki Hokkanen
13b04c093a
Override conf values with right type.
...
If the value overridden is int, convert new value to int as well.
2010-01-17 08:20:46 +02:00
Heikki Hokkanen
df24a48ce4
Allow overriding of some config variables.
...
gitstats -c key=value overrides config values.
2010-01-16 16:07:04 +02:00
Heikki Hokkanen
dffb3ca0fa
Cleanup: moved rest of the code to a new class.
2010-01-16 15:21:38 +02:00
Heikki Hokkanen
419243008a
Fixed two variable references.
...
No functional effect at this point.
2010-01-16 15:20:37 +02:00
Heikki Hokkanen
c5d1d33693
Bump copyright year :)
2010-01-16 15:03:39 +02:00
Heikki Hokkanen
cd53ecdcf2
Cache line count in blobs as well.
2010-01-16 14:42:02 +02:00
Heikki Hokkanen
59eb18b413
Wider gnuplot graphs.
...
Use 1.0,0.5 size for now.
2010-01-16 12:36:25 +02:00
Heikki Hokkanen
7cbace764f
Rotate x label for 'Commits by Year'.
2010-01-15 22:41:05 +02:00
Heikki Hokkanen
576f887d59
Oops, actually fix the handling of mails without '@'.
2010-01-15 22:40:14 +02:00
Heikki Hokkanen
48e0acd6fb
Fixed handling of weird author e-mails.
...
Commit e5fc428ecf3b23ed6b1a640bbddff9a59b251969 broke for linux-2.6 repository
for example, so we make a little bit more effort in handling weird e-mail
addresses. The linux-2.6 repository contains quite a few of these, some can be
found with the following command:
git rev-list --pretty=format:"%H %an <%aE>" HEAD | grep -v ^commit |grep -v '@'
2010-01-14 17:53:42 +02:00
Heikki Hokkanen
d4ae9a07a5
Moved 'Commits by Domains' to 'Authors' page.
...
The activity page is about the date/time of commits, and authors about commit
authorship-related information.
2010-01-11 19:35:57 +02:00
Wulf C. Krueger
e5fc428ecf
Add a graph for commits per domain.
...
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2010-01-11 17:43:48 +02:00
Wulf C. Krueger
18cc2ebc5b
Fix ordering of fields for the list of authors.
...
commits_frac was used in date_first's place in f.write and, thus, completely
wrong in the resulting HTML report.
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2010-01-08 17:57:10 +02:00
Heikki Hokkanen
db3ad67b96
todo: analysis.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
2d0158f092
Files by date: set ytics autofreq.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
cc7a07e9fb
Don't write duplicate entries to files_by_date.dat.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
4042ac12e7
Makefile: set VERSION properly on release.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
48919ff425
Makefile: use 'git describe' for version if possible.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
9f6504b11f
todo: removed stale comment about linux-2.6 repo.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
220c4ec90d
General: average commits/active days & all days.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
97ce810bec
General: show age separately (days, active days, %).
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
b4764d471b
General: show total lines added/removed.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
2d596426f7
CSS: Vertical align 'top' for tags table.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
0f2064ca2a
Authors: show lines added/removed.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
b49bc1b9ad
Fixed project 'active days' counting.
...
Commits in projects with lots of activity and authors don't happen
chronologically (patches are accepted later etc), so the counting was messed up
for them (git.git for example).
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
52a20a7b09
Cleanup, use get('foo', 0) + 1 instead of if/else.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
d1a2b53576
Oops, fixed author parsing.
...
This was supposed to be part of the last commit.
2010-01-06 10:38:34 +02:00
Heikki Hokkanen
8542a238e2
Activity: added 'Commits by Timezone'.
2010-01-06 10:38:33 +02:00
Heikki Hokkanen
04568e7fbd
CSS: tweaked style.
2010-01-06 10:38:33 +02:00
Heikki Hokkanen
3585ce766d
Show weekly activity for last 32 weeks.
2010-01-06 10:38:33 +02:00
Heikki Hokkanen
5fd64e6c19
Removed unnecessary datetime parsing.
2010-01-06 10:38:33 +02:00
Heikki Hokkanen
fcbe8cd800
todo: remove some items.
...
Todo items for another project... :)
2010-01-06 10:38:33 +02:00
Heikki Hokkanen
c694bcfdac
Merge branch 'todo' into master
2010-01-06 10:35:48 +02:00
Heikki Hokkanen
552ec96a6f
todo: more items.
2009-12-23 17:54:40 +02:00
Heikki Hokkanen
50997a26be
Show 'active days' for the whole project, too.
2009-12-23 17:53:42 +02:00
Heikki Hokkanen
e4c73e3680
Added 'active days' for authors.
...
Shows how many days the author has done commits on.
2009-12-23 17:48:13 +02:00
Heikki Hokkanen
7e29a4b07f
Makefile: install to /usr/local by default.
2009-12-14 17:12:07 +02:00
Heikki Hokkanen
3a02a74445
Makefile: when installing, change VERSION with sed.
2009-12-13 13:49:48 +02:00
Heikki Hokkanen
93696ae336
Makefile: added 'release' target.
2009-12-13 13:42:52 +02:00
Heikki Hokkanen
3a2b43e5a4
Added a Makefile with simple install target.
2009-12-13 13:30:16 +02:00