From owner-freebsd-cvsweb Tue Jul 30 9:42: 7 2002 Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D26CC37B40C for ; Tue, 30 Jul 2002 09:41:55 -0700 (PDT) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE51743E31 for ; Tue, 30 Jul 2002 09:41:52 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from cs78128057.pp.htv.fi ([62.78.128.57]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id g6UGfEH23029; Tue, 30 Jul 2002 19:41:14 +0300 (EETDST) Subject: Re: Read-only access to repository w/ cvsweb 2.0.5? From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: Terry Kennedy Cc: freebsd-cvsweb@FreeBSD.org In-Reply-To: <01KKP908BS6S000BQB@tmk.com> References: <01KKP19SBHES000BQB@tmk.com> <01KKP19SBHES000BQB@tmk.com> <01KKP908BS6S000BQB@tmk.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 30 Jul 2002 19:41:22 +0300 Message-Id: <1028047282.7626.29.camel@bobcat.ods.org> Mime-Version: 1.0 Sender: owner-freebsd-cvsweb@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 , 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 . 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