Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 15:05:07 +0100
From:      "Paul Gelderblom" <paul.gelderblom@lostboys.nl>
To:        "Paul Gelderblom" <paul.gelderblom@lostboys.nl>, =?iso-8859-1?Q?Ville_Skytt=E4?= <scop@FreeBSD.org>
Cc:        <freebsd-cvsweb@FreeBSD.org>, <paul@lostboys.nl>
Subject:   Re: cvsweb patch: History interface
Message-ID:  <003501c2adb0$f6729930$0300000a@PAULLAP>

index | next in thread | raw e-mail

[-- Attachment #1 --]
a classic: forgot the attachment....

-----



Hi Ville,

Find attached my 3rd patch (and the biggest one): a cvs history interface.
It probably should be called an extension rather than a patch...

It allows you to get selected commit information from a repository based on
the project, users, and/or commit date.
I parse the cvs history file directly to gain speed, and because the output
of "cvs history" is actually harder to parse.

I have re-built it to use HTML::Template (works pretty nice, actually)
It is a separate script which should live next to cvsweb.cgi, but it does
have
crosslinks with it. It uses the same config file, which i have extended a
bit,
so that implementation will be simple for most users.

One of the nice features (at least, I think so) is the "toplevel" or
"condensed" view it has: when you look at the root of a repository, it gives
you a list of active projects (active meaning that they have had commits in
the last 14 days) and the names of users that have committed on those
projects in that period.

In the attached tar file, you find the new perl and template files, and
unidiffs for cvsweb.cgi and cvsweb.conf.
The diffs are with respect to the current HEAD revision on freebsd.org

I had to include the crosslink feature also, because it is nessecary to link
up History.cgi and cvsweb.cgi.
Also, i improved the crosslink thing a bit (e.g.: a repository name was not
included in the params of getCrosslinksForDirectory).
If you still have to start with the crosslink thing, consider starting from
this version.

The only changes you will find in cvsweb.cgi are actually related to the
crosslinks.
The changes in cvsweb.conf are the added parameters for History.cgi and the
extended version of the crosslinks.

I have tested this on various repositories, but not with mod-perl. Don't
have it.


Let me know what you think of it!

Greetings, Paul

[-- Attachment #2 --]
/X>\{s8OaXȦ$?D%$rbdoj<D">u7$ɬwvoT@/?f6uD[??|	?ox\onn4[X\6L,N33SDxI]Mv-\ԍej7[z׷񹵾ŒȚő5k*"1LIbtc0|c+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