Bug 41312

Summary: RCS IDs are off-by-one in the NetBSD cvsweb tree
Product: Documentation Reporter: Yar Tikhiy <yar>
Component: Books & ArticlesAssignee: cvsadm
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yar Tikhiy freebsd_committer freebsd_triage 2002-08-04 13:50:03 UTC
An RCS ID shown in a file from the NetBSD tree is one less
than the actual one.  The rest of the file is in complete
accord with the revision requested, as checked by comparing
with the NetBSD project CVS repository.

How-To-Repeat: http://www.freebsd.org/cgi/cvsweb.cgi/syssrc/sys/dev/usb/umass.c?rev=1.88&content-type=text/x-cvsweb-markup&cvsroot=netbsd
begins with
/*$NetBSD: umass.c,v 1.87 2002/03/17 18:02:53 augustss Exp $*/

http://www.freebsd.org/cgi/cvsweb.cgi/syssrc/sys/dev/ccd.c?rev=1.77&content-type=text/x-cvsweb-markup&cvsroot=netbsd
begins with
/*$NetBSD: ccd.c,v 1.76 2002/03/08 20:48:37 thorpej Exp $*/

http://www.freebsd.org/cgi/cvsweb.cgi/basesrc/Makefile?rev=1.182&content-type=text/x-cvsweb-markup&cvsroot=netbsd
begins with
#$NetBSD: Makefile,v 1.181 2002/07/10 18:55:20 thorpej Exp $

etc
Comment 1 Yar Tikhiy freebsd_committer freebsd_triage 2002-08-04 15:13:09 UTC
This PR body triggers a bug in query-pr.cgi by the way.
The URLs within it are formatted into HTML incorrectly.
Please see the raw PR for correct URLs.

-- 
Yar
Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2002-08-07 04:40:12 UTC
Responsible Changed
From-To: freebsd-www->scop

Mr scop is our current cvsweb maintainer, and I'm sure he wouldn't mind 
taking a look at this.
Comment 3 scop freebsd_committer freebsd_triage 2002-08-07 09:37:04 UTC
It's not a CVSweb nor www/ bug, but a problem (?) in FreeBSD's NetBSD
CVS repository.  Witness (on freefall.FreeBSD.org):

$ cvs -R -d/usr/local/www/cvsroot/NetBSD co -r 1.88 syssrc/sys/dev/usb/umass.c
U syssrc/sys/dev/usb/umass.c
$ head -1 syssrc/sys/dev/usb/umass.c
/*      $NetBSD: umass.c,v 1.87 2002/03/17 18:02:53 augustss Exp $      */
$

I'm not sure what should be done with this, forwarded to the CVS admins?
Comment 4 Wolfram Schneider 2002-08-07 13:30:07 UTC
On 2002-08-07 11:37:04 +0300, Ville Skyttä wrote:
> It's not a CVSweb nor www/ bug, but a problem (?) in FreeBSD's NetBSD
> CVS repository.  Witness (on freefall.FreeBSD.org):
> 
> $ cvs -R -d/usr/local/www/cvsroot/NetBSD co -r 1.88 syssrc/sys/dev/usb/umass.c
> U syssrc/sys/dev/usb/umass.c
> $ head -1 syssrc/sys/dev/usb/umass.c
> /*      $NetBSD: umass.c,v 1.87 2002/03/17 18:02:53 augustss Exp $      */
> $
> 
> I'm not sure what should be done with this, forwarded to the CVS admins?

FreeBSD has a patched cvs(1) command which expand the
keyword '$FreeBSD$' by default during a cvs checkout.

If you want expand other rcs keywords as well (e.g. $NetBSD$, $OpenBSD$)
you must configure cvs.

From my memory, this problems was fixed years ago in
cvsweb.conf or cvsweb.conf-netbsd.

-Wolfram

-- 
Wolfram Schneider <wosch@FreeBSD.org> http://wolfram.schneider.org
Comment 5 scop freebsd_committer freebsd_triage 2002-08-07 18:07:45 UTC
Ah yes, thanks for the tip, Wolfram.

Anyway, I tried playing with the RCSLOCALID and RCSINCEXC environment
variables on freefall (that's the way cvsweb does things), but just
couldn't get "cvs co" from the command line to do anything with them
using the NetBSD (or OpenBSD or FreeBSD) CVS trees.

The cvsweb configuration for the NetBSD tree is practically the same as
for the OpenBSD one, but the latter seems to work correctly.

knu, do you have any ideas about this?  The PR is at
<http://www.freebsd.org/cgi/query-pr.cgi?pr=3D41312>.

--=20
\/ille Skytt=E4
scop at FreeBSD.org
Comment 6 scop freebsd_committer freebsd_triage 2002-10-21 19:46:28 UTC
I've had www/41312 assigned to me for some time now, but I don't think
it's a cvsweb bug or something I could do anything about.

cvs@, could you take a look at this?

TIA,
--=20
\/ille Skytt=E4
scop at FreeBSD.org
Comment 7 scop freebsd_committer freebsd_triage 2003-02-15 18:18:57 UTC
Responsible Changed
From-To: scop->cvs

Reassinging to cvs@, I don't see how I could help with fixing this one.
Comment 8 Peter Wemm freebsd_committer freebsd_triage 2004-06-15 00:56:39 UTC
Responsible Changed
From-To: cvs->cvsadm

cvs@ -> cvsadm@
Comment 9 Gavin Atkinson 2007-04-25 21:12:50 UTC
I believe this PR can now be closed, as it appears to be obsoleted by
revision 1.42 of www/en/cgi/cvsweb.conf which removed the NetBSD
repository from CVSweb

Gavin
Comment 10 Mark Linimon freebsd_committer freebsd_triage 2007-04-25 23:34:50 UTC
State Changed
From-To: open->closed

Obsoleted by subsequent events.