Skip site navigation (1)Skip section navigation (2)
Date:      30 Jul 2002 19:41:22 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        Terry Kennedy <terry@tmk.com>
Cc:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: Read-only access to repository w/ cvsweb 2.0.5?
Message-ID:  <1028047282.7626.29.camel@bobcat.ods.org>
In-Reply-To: <01KKP908BS6S000BQB@tmk.com>
References:  <01KKP19SBHES000BQB@tmk.com> <01KKP19SBHES000BQB@tmk.com>  <01KKP908BS6S000BQB@tmk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-07-30 at 15:46, Terry Kennedy wrote:

> > Can you checkout from a shell as the www user using the -l option, ie:
> >
> >   cvs -l checkout some/file
>=20
>   That gives me the same error. I'm using cvs 1.10.3, and in its src/main=
.c
> I see:
[...]
>   which looks like it has a hard-coded requirement that the history file =
be
> writable, regardless of whether the -l command is given or not.

Eek.  After browsing the code at
<http://ccvs.cvshome.org/source/browse/ccvs/src/>, I'd say that you're
correct, 1.11 should really have fixed it.

>   I applied that change and things got somewhat better - the "download"
> link gives me the correct data, but the Revision: x.y link brings up a
> mostly blank screen with "Revision , Thu Jan 1 00:00:00 1970 UTC (32 year=
s, 7=20
> months ago) by " text.
>=20
>   I suspect this means that there are other version incompatibilities bet=
ween
> my installed CVS and the one that cvsweb expects.

Hmph.  I'll see if I can downgrade to 1.11 on my dev system and
reproduce/fix that.

>   I then built the full cvs 1.11 and that didn't change the output. Next,=
 I
> tried 1.11.2 and that finally is giving me proper output.
>=20
>   So, it looks like cvsweb 2.0.5 requires cvs 1.11.2. Perhaps that could =
get
> added to the release notes?

1.11.1p1 should be enough, that's what www.FreeBSD.org and my
development system are running.  I'll add a note about that to README
and the configuration file in the distribution (unless the bug with 1.11
above can be fixed/worked around).

> > Another thing you could check is if your platform's cvs(1) command has
> > the "-R" option for read-only repository access.  If it does, please tr=
y
> > adding that manually to @cvs_options in cvsweb.conf and send me the
> > output of "uname" on your machine so I can make it default on it.
>=20
>   Unfortunatly, it doesn't. For that matter, neither does the latest cvs
> 1.11.2. Where can I find a distribution of the flavor that understands "-=
R"?

AFAICT, that feature is only in FreeBSD's and OpenBSD's cvs(1).  The
sources for the FreeBSD version are at
<http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/cvs/>.

Cheers,
--=20
\/ille Skytt=E4
scop at FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-cvsweb" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1028047282.7626.29.camel>