'activity' extension

Arne Babenhauserheide arne_bab at web.de
Fri Oct 31 14:19:32 CDT 2008


Am Freitag 31 Oktober 2008 19:18:02 schrieb Thomas Capricelli:
> On Friday 31 October 2008 17:45:17 Arne Babenhauserheide wrote:
> > Do you think about extending it to allow for other ways of tracking
> > activity, too?
>
> Currently I only display the number of commits.
>
> 1) I expect to have an option to use the number of changed lines instead.

That would be cool! 

> 2) Also, i want to have this used on several repositories (with several
> curves on the same graph) to be able to compare activity on them.
> 3) I would like to limit the curve on a given user, and compare the
> activity of different user for one repository, on the same graph.

Would be great, too! 

If you can output the data in raw form, it could also be postprocessed with 
programs like pyxplot/gnuplot: 
- http://www.srcf.ucam.org/pyxplot/

These can produce very nice graphs and are used by many scientists for almost 
all graphing. 

The data files just look similar to the following

------- ------- ------- test.dat ------- ------- ------- 
# user1	user2	user3
15		10		2
1		22		7
17		2		3
23		1		9
------- ------- ------- ------- ------- ------- 

You can also give an x value as first line. 

This would for example be plottet via
$ pyxplot
pyxplot> plot "test.dat" using 0 with lines, "test.dat" using 1 with lines, 
"test.dat" using 2 with lines 

> I guess, point 2 means using a script which is not an extension.

The forest extension also works on multiple repositories, so I don't see why 
your extension should have a command line option for passing it additional 
repositories. 

But maybe I miss something. 

> > Things like interactive code_swarms come to mind for me :)
>
> I dont know this, what is it ? Is this the animated cloud with names moving
> up and down, once widely shown in articles about python ?

That's not how I remember it, but maybe this is just a case of the language 
barrier striking :)  

Here's an example of a code_swarm aggregated from several projects: 
- http://www.vimeo.com/2097773

(created with http://rakjar.de/shared_codeswarm/ )

Here's the one about Python: 
- http://www.vimeo.com/1093745

Best wishes, 
Arne

-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20081031/fae29cb8/attachment.pgp 


More information about the Mercurial mailing list