Thursday, March 05, 2026

Re: cvsweb news

It is quite snappy, and seems to work well. Nice job!

I certainly didn't expect a rewrite of cvsweb -- I would've expected
deployment of something like anubis in front of it. I know that
presents other issues, but this is literally what it was designed for:
the author created it to deal with her personal git forge being
hammered. And if you get blocked by anubis it's annoying, but much
less so than being redirected to theannoyingsite! A more resilient
webapp is a nice treat though.

Some bikeshedding:
Am I remembering correctly, or did the old cvsweb have the path shown
at the top (e.g. src/sys/arch/arm64/conf/GENERIC) have each path
component linked, so you could click on e.g. sys to go directly there?

I would also find it more readable if there was some separation
between the commit info (the revision and
date/author/diffstat/commitid lines) and the log message, either a
blank line, or some formatting distinction, e.g a light yellow or grey
background in the info lines.

On Tue, Mar 3, 2026 at 8:41 PM Bryan Steele <brynet@gmail.com> wrote:
> This doesn't support CVS tags at all, e.g: OPENBSD_7_8,
> OPENBSD_7_8_BASE, and the old version did.

Yeah, that's basically the main thing I used cvsweb for, since the git
mirror doesn't copy CVS tags to git tags. Was very handy to see
whether a certain change made it into a given release, or is only in
-current; or historically, to see what release something first showed
up in, etc.

Speaking of git, it's nice to see the CVS commit ID for each revision
of a file, but that alone doesn't help me much without a local
checkout. What would be much nicer if that CVS commit ID was a link
to all the files + revisions updated in that commit, optionally with
diffs, a la 'git show'.

AFAIK this is not something the old cvsweb did, so I guess this is a
"feature request" please? It should be possible, since the GitHub
mirror can do it, but I don't know how resource intensive that would
be.

> Being able to "Compare with selected" revisions is also gone, and was handy
> when you don't have access to cvs rdiff.

Agreed. Perhaps something could be whipped up to let you click
somewhere in a given revision to use it as the "from revision" or "to
revision" in the top boxes without making it ripe for crawler abuse?


-Andrew

No comments:

Post a Comment