R. Tyler Ballance
4c02784597
Add the basic churn graph
...
The left column is the "average net lines changed per commit" whereas the line on the right is the "average files changed per commit"
Bar might not be the right choice
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-08 01:21:14 -08:00
R. Tyler Ballance
8528d27df6
Support the statistics gathering for the churn graph
...
I'm still somewhat uncertain about how I want to create the graphs, I may need to add historgram support to CairoPlot to do precisely what I want:
|
| |+++|
| |+++|
| |///| ___
| |///| |+++| <-- avg added per commit
| |///| |+++|
|__|///|_______|///|_<-- avg removed per commit
[tyler] [other]
Uncertainly, BAH.
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-08 00:42:42 -08:00
R. Tyler Ballance
07f86214a9
Properly parse the --numstat output coming off of git-log(1) for the following charts:
...
> Commits/Churn ratio per-developer (not developed yet)
> Active modules, i.e. sub-directories (not developed yet)
> New files per-developer (not developed yet)
Basically, each dictionary entry per-commit will also have files changed info, i.e.:
'numstat': [{'removed': '1', 'added': '3', 'newfile': False, 'filename': 'internal/__init__.py'},
{'removed': '1', 'added': '1', 'newfile': False, 'filename': 'internal/log.py'}]
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-07 23:54:22 -08:00
R. Tyler Ballance
de43332231
Support passing --option arguments into execute(); pass --numstat for churn stats to git-log(1)
...
Signed-off-by: R. Tyler Ballance <tyler@starfruit.(none)>
2009-01-07 19:53:10 -08:00
R. Tyler Ballance
1436f03e98
Dummy commit to test twitter integration with GitHub
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-01-06 23:16:48 -08:00
R. Tyler Ballance
60cbb94f8c
Add some examples; graphs for Linux and Perl5 Git repositories
2009-01-05 08:11:25 -08:00
R. Tyler Ballance
abe95d2854
Add some basic docs
2009-01-02 14:13:35 -08:00
R. Tyler Ballance
9d451b5245
Merge branch 'master' of git@github.com:rtyler/gitplot
2009-01-02 13:05:27 -08:00
R. Tyler Ballance
a3666ad4d3
Merge branch 'master' of git@github.com:rtyler/gitplot
2009-01-02 13:04:26 -08:00
R. Tyler Ballance
d8b31aaf71
Merge branch 'master' of git@github.com:rtyler/gitplot
...
Conflicts:
gitplot
2009-01-02 12:59:35 -08:00
R. Tyler Ballance
1e64c76c67
Allow for prefixing generated images
2009-01-02 12:55:13 -08:00
R. Tyler Ballance
ab0e449cad
Support passing an author parameter
2009-01-02 01:58:53 -08:00
R. Tyler Ballance
91cee35d57
No more pngs either
2009-01-02 01:48:45 -08:00
R. Tyler Ballance
02dc1fbf47
Turn off three dimension graphs
2009-01-02 01:41:36 -08:00
R. Tyler Ballance
a6b439e360
Support specifying height and width of image
2009-01-02 01:26:31 -08:00
R. Tyler Ballance
1bf729f0fc
Add support for running multiple charts at once
2009-01-02 01:13:03 -08:00
R. Tyler Ballance
9c88cf4a1c
Switch to localtime(), timeofday is subcommand is mostly complete methinks
2009-01-02 00:51:15 -08:00
R. Tyler Ballance
35f98dd6c5
Add the timeofday subcommand, plotting the hours of the day commits tend to occur
2009-01-02 00:42:17 -08:00
R. Tyler Ballance
cb21c97627
Properly deal with the --before and --after arguments passing into `git log`
2009-01-01 22:54:23 -08:00
R. Tyler Ballance
de504b33de
Rename to make it look more git-ish
2009-01-01 22:26:27 -08:00
R. Tyler Ballance
828a8b9506
meh
2009-01-01 18:53:50 -08:00
R. Tyler Ballance
bde34457e7
shadow kwarg deprecated in CairoPlot in trunk
2009-01-01 18:35:34 -08:00
R. Tyler Ballance
5df83a6250
Grab CairoPlot from trunk at 2009.01.01 18:22
2009-01-01 18:32:35 -08:00
R. Tyler Ballance
96af0b7491
Support different types of charts for top_committers()
...
Add support for generating graphs based on handle, i.e.: "tyler@monkeypox.org" -> "tyler" instead of full name
2009-01-01 18:21:58 -08:00
R. Tyler Ballance
28a4bf237c
Handle crud characters like those found in the Git repo's: d404bf0288ac1a2c4276d009c0e1c88519e5a7c9
...
And we're plotting committers!
2009-01-01 17:45:12 -08:00
R. Tyler Ballance
72c52d362e
Actually generate the graph
2009-01-01 17:25:44 -08:00
R. Tyler Ballance
b84d4c6fa3
Aggregate the top X committers
2009-01-01 17:22:13 -08:00
R. Tyler Ballance
f4c1f56fb7
Moving more towards setting up JSON data structures for the `git log` output
...
Still hitting the double-quote level issue that fails cjson.decode:
{"committer_name" : "Linus Torvalds", "committer_email" : "torvalds@ppc970.osdl.org", "hash" : "e83c5163316f89bfbde7d9ab23ca2e25604af290", "abbrev_hash" : "e83c516", "committer_date" : "1112911993", "encoding" : "", "subject" : "Initial revision of "git", the information manager from hell", "body" : "", "tree_hash" : "2b5bfdf7798569e0b59b16eb9602d5fa572d6038", "author_name" : "Linus Torvalds", "author_email" : "torvalds@ppc970.osdl.org", "author_date" : "1112911993"}
Traceback (most recent call last):
File "./gitplot", line 24, in <module>
main()
File "./gitplot", line 19, in main
glog.load()
File "/home/tyler/source/github/gitplot/internal/log.py", line 44, in load
self.results.sort(key=lambda d: d['committer_date'])
File "/home/tyler/source/github/gitplot/internal/log.py", line 44, in <lambda>
self.results.sort(key=lambda d: d['committer_date'])
TypeError: 'NoneType' object is unsubscriptable
2009-01-01 17:15:43 -08:00
R. Tyler Ballance
0434f1b8b0
Object-orientation!
...
(add gitognore)
2009-01-01 16:51:56 -08:00
R. Tyler Ballance
8ce8701caf
Add log.py, probably going to take the graphing stuff right back out
2009-01-01 16:09:31 -08:00
R. Tyler Ballance
e9d9d4d94d
Pulling committer details out, working on committers graph first
2009-01-01 16:00:05 -08:00
R. Tyler Ballance
d867ad7859
Putting some basic history into place
2009-01-01 15:48:02 -08:00
R. Tyler Ballance
5777888660
Start off with just CairoPlot 1.1 I suppose
2009-01-01 15:42:38 -08:00