Wulf C. Krueger
e5fc428ecf
Add a graph for commits per domain.
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
16 vuotta sitten
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>
16 vuotta sitten
Heikki Hokkanen
db3ad67b96
todo: analysis.
16 vuotta sitten
Heikki Hokkanen
2d0158f092
Files by date: set ytics autofreq.
16 vuotta sitten
Heikki Hokkanen
cc7a07e9fb
Don't write duplicate entries to files_by_date.dat.
16 vuotta sitten
Heikki Hokkanen
4042ac12e7
Makefile: set VERSION properly on release.
16 vuotta sitten
Heikki Hokkanen
48919ff425
Makefile: use 'git describe' for version if possible.
16 vuotta sitten
Heikki Hokkanen
9f6504b11f
todo: removed stale comment about linux-2.6 repo.
16 vuotta sitten
Heikki Hokkanen
220c4ec90d
General: average commits/active days & all days.
16 vuotta sitten
Heikki Hokkanen
97ce810bec
General: show age separately (days, active days, %).
16 vuotta sitten
Heikki Hokkanen
b4764d471b
General: show total lines added/removed.
16 vuotta sitten
Heikki Hokkanen
2d596426f7
CSS: Vertical align 'top' for tags table.
16 vuotta sitten
Heikki Hokkanen
0f2064ca2a
Authors: show lines added/removed.
16 vuotta sitten
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).
16 vuotta sitten
Heikki Hokkanen
52a20a7b09
Cleanup, use get('foo', 0) + 1 instead of if/else.
16 vuotta sitten
Heikki Hokkanen
d1a2b53576
Oops, fixed author parsing.
This was supposed to be part of the last commit.
16 vuotta sitten
Heikki Hokkanen
8542a238e2
Activity: added 'Commits by Timezone'.
16 vuotta sitten
Heikki Hokkanen
04568e7fbd
CSS: tweaked style.
16 vuotta sitten
Heikki Hokkanen
3585ce766d
Show weekly activity for last 32 weeks.
16 vuotta sitten
Heikki Hokkanen
5fd64e6c19
Removed unnecessary datetime parsing.
16 vuotta sitten
Heikki Hokkanen
fcbe8cd800
todo: remove some items.
Todo items for another project... :)
16 vuotta sitten
Heikki Hokkanen
c694bcfdac
Merge branch 'todo' into master
16 vuotta sitten
Heikki Hokkanen
552ec96a6f
todo: more items.
16 vuotta sitten
Heikki Hokkanen
50997a26be
Show 'active days' for the whole project, too.
16 vuotta sitten
Heikki Hokkanen
e4c73e3680
Added 'active days' for authors.
Shows how many days the author has done commits on.
16 vuotta sitten
Heikki Hokkanen
7e29a4b07f
Makefile: install to /usr/local by default.
16 vuotta sitten
Heikki Hokkanen
3a02a74445
Makefile: when installing, change VERSION with sed.
16 vuotta sitten
Heikki Hokkanen
93696ae336
Makefile: added 'release' target.
16 vuotta sitten
Heikki Hokkanen
3a2b43e5a4
Added a Makefile with simple install target.
16 vuotta sitten
Heikki Hokkanen
e774d43ca4
Also look for resource files in ../share/gitstats.
This allows installing in other locations besides /usr.
16 vuotta sitten
Heikki Hokkanen
71a5f4c4a1
Set 'ytics 1' for files graph.
This prevents tics like 1.75, 2.5 etc on file count / y-axis.
Reported by Anonymous on SourceForge bug #2892604 .
16 vuotta sitten
Heikki Hokkanen
8908774429
Cleaner output when not outputting to a tty.
Allow piping into a log file more cleanly without spewing \r (on Linux which
supports os.isatty()).
16 vuotta sitten
Heikki Hokkanen
d04805bbad
Actually pass floats when formatting '%f'.
Some of these were pointed out by Anonymous on SourceForge bug #2830659 .
16 vuotta sitten
Heikki Hokkanen
66ce243b65
CSS: margin 'none' -> '0'.
After this change the CSS validates on jigsaw.w3.org.
Reported by Anonymous on SourceForge bug #2886542 .
16 vuotta sitten
Heikki Hokkanen
6397a94b30
Search '/usr/share/gitstats/' for static files as well.
The first path to be searched is the directory of the binary, then
/usr/share/gitstats/. This is so that you can have both a "global" gitstats
version and a user-specific checkout installed, and the static files should be
taken from the matching place.
This change is done in preparation for Debian packaging.
Vincent Fourmond <fourmond@debian.org> is planning to package gitstats for
debian (RFP #440392 ).
16 vuotta sitten
Heikki Hokkanen
ba20779ad2
README: mention bare clone is ok as well.
16 vuotta sitten
Heikki Hokkanen
5ef1ff8721
Count lines using git objects instead of filesystem.
This seemed to be roughly three times slower than a direct "wc -l" from working
tree, but this way we are not limited to full & clean working trees, but can
also handle bare repositories.
16 vuotta sitten
Heikki Hokkanen
3e72538e75
Use 'w steps' for file count.
Instead of 'w histeps', we use 'w steps', which doesn't make the last commit
seem like it removed all the files.
16 vuotta sitten
Heikki Hokkanen
94105720ad
Cleanup: removed some commented lines.
16 vuotta sitten
Heikki Hokkanen
bcc832bc49
Handle case with no commits between tags.
16 vuotta sitten
Heikki Hokkanen
0212bf1ce9
Tags: show commits & authors for each tag.
A simple assumption is made about the tags: it's assumed that they come in
chronological order, and share the same history (eg. v0.0.1, v0.0.2). That way,
to get commits made for v0.0.2, we simply look for history from v0.0.1 to
v0.0.2.
16 vuotta sitten
Heikki Hokkanen
c41e414173
todo: ideas on tags.
16 vuotta sitten
Heikki Hokkanen
1c38faf5c1
Fixed the strftime format string.
Month was used where minute was supposed to be... wrong case :)
16 vuotta sitten
Matt Parlane
4d02bc99d9
Display hour numbers as 0-23 instead of 1-24
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
16 vuotta sitten
Heikki Hokkanen
25e421c0d5
Report Period: also show how many days.
17 vuotta sitten
Heikki Hokkanen
2bd55e5493
Include GitStats link & version on general page.
17 vuotta sitten
Heikki Hokkanen
10e1f6dc1c
Include gitstats version in meta/generator.
Currently taken from "git rev-parse --short HEAD".
17 vuotta sitten
Heikki Hokkanen
a1d9c11c30
Cleanup: get rid of ';' brainfarts at end of some lines.
17 vuotta sitten
Heikki Hokkanen
170fd74dc3
Commits by Year: start yrange from 0.
Gives better proportions on amount of commits during each year.
17 vuotta sitten
Heikki Hokkanen
a6c295ec03
Color "Hour of Day" table.
17 vuotta sitten