Multiple repositories?

17 views
Skip to first unread message

Tom Morris

unread,
Sep 30, 2008, 1:03:54 AM9/30/08
to codeswarm
I need to merge the logs from several SVN repositories into a single
visualization.

Has anyone done anything along these lines?

Tom

Alex Gourley

unread,
Sep 30, 2008, 1:19:05 AM9/30/08
to Tom Morris, codeswarm
There is no reason you can't do this now, but do yourself a favor and
learn how the basic mechanics work. Some caveats will appear obvious
then:

* All the file paths need a unique starting directory, so that events
from two different repositories don't have the same file name.
* If user names are not unique across two repositories, the structure
of the visualization will be heavily affected. The graph will contort
such that
the one author node connects to files from both repositories.
Perhaps this is what you are going for, perhaps not.
* If there are no common user names or file paths between two
repositories, there will be hardly any force interaction between the
two graph clusters. You will only have the slight repelling force
between file nodes. It's even possible one graph could be repelled off
the screen, as there is no center anchor, and the camera does not pan
to the center of mass of the system. (The only anchoring force is the
fact that files spawn at a random location, which means there is a
constant average force towards the middle of the screen as new files
pull on their submitters).

Note - I haven't followed trunk in months, I hope my underlying
assumptions still hold.

Also note - my company (www.krugle.org) has discussed having me setup
a weekly automatically generated video that tracks the last week of
OSS development across the top N most popular projects (for large
values of N). We crawl that kind of data anyway. So I hope
multi-repository visualization is both possible and visually
appealing.

-Alex

Tom Morris

unread,
Oct 5, 2008, 1:41:12 PM10/5/08
to codeswarm
On Sep 30, 1:19 am, "Alex Gourley" <acgour...@gmail.com> wrote:

> There is no reason you can't do this now, but do yourself a favor and
> learn how the basic mechanics work.

I understood that it was just a small matter of programming and had
already reviewed the "basic mechanics." My question was whether
anyone else had already cracked this particular nut.

For anyone else attempting to do something similar, check out the work
that Arne Babenhauserheide has done. He posted a link in a comment at
the bottom of

http://code.google.com/p/codeswarm/wiki/GeneratingAVideo

which describes the work he's done with multiple Mercurial
repositories

http://rakjar.de/shared_codeswarm/readme.html

Since I need multiple SVN repositories instead of Mercurial
repositories and it doesn't appear that anyone else has done this yet,
it looks like I'll need to roll my own.

> Also note - my company has discussed having me setup
> a weekly automatically generated video that tracks the last week of

Krugle should probably focus on the basics like getting project info
correct first. It's wrong for my project and it apparently has to be
hand corrected by a central curator. Very 1990s. Check out Ohloh for
a more modern take on distributed management of this type of
information.

Tom
Reply all
Reply to author
Forward
0 new messages