FW: Graph of revisions for cvsweb.cgi
VilleSkyttä
scop at FreeBSD.org
Tue Aug 12 10:34:47 PDT 2003
On Tue, 2003-08-12 at 13:13, PC32 XHChen wrote:
> Dear all:
> I modified cvsweb.cgi for supporting "graph selection" as what's in wincvs.
> Thanks for trying it !
Whoo, that's pretty impressive stuff! However, a couple of points:
Your modified version is done against FreeBSD-CVSweb 2.0.6; the
rel-2_0-branch has been feature frozen. CVS HEAD contains the
development version, all new features should be done there. See
http://www.freebsd.org/cgi/cvsweb.cgi/projects/cvsweb/
The development version already uses cvsgraph from
http://www.akhphd.au.dk/~bertho/cvsgraph/ to provide similar
functionality. There are some naming conflicts that need to be sorted
out before your version could be applied.
Submissions are better sent as unified diffs (diff -u) instead of whole
modified files. And I'd rather see the JavaScript code in a separate
static .js file(s) instead of embedded in the cvsweb.cgi script, as much
as possible. Or ported to Perl :)
Could you port your change so that it applies against HEAD of cvsweb.cgi
and possibly address the other issues above and send the results as a
unified diff? What level of JavaScript support does the code require?
It seems to work in my Mozilla Firebird 0.6.1.
--
\/
More information about the freebsd-cvsweb
mailing list