[MERGE] Add credits command and --show-class option

Jelmer Vernooij jelmer at samba.org
Sat Jun 28 21:40:38 BST 2008


Hi John,

Attached is a patch for the stats plugin that makes it do basic
analysis of the sort of commits that people have done. It's not very
accurate yet, but it's a good start. 

It adds a credits command and a --show-class option to the stats
command. E.g. for bzr-stats itself:

ganieda:~/bzr-gtk/credits% bzr stats --show-class ~/bzr-stats/trunk
getting ancestry
getting revisions
  13 John Arbash Meinel <john at arbash-meinel.com>
     Contributions:
        6% Unknown
       94% code
  12 Jelmer Vernooij <jelmer at samba.org>
     Contributions:
      100% code
   1 Wesley J. Landaker <wjlanda at sandia.gov>
     Contributions:
      100% code

ganieda:~/bzr-gtk/credits% bzr credits ~/bzr-stats/trunk
Code:
Jelmer Vernooij <jelmer at samba.org>
John Arbash Meinel <john at arbash-meinel.com>
Wesley J. Landaker <wjlanda at sandia.gov>

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk-20.patch
Type: text/x-diff
Size: 16966 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080628/a29e8d09/attachment-0001.bin 


More information about the bazaar mailing list