From owner-freebsd-cvsweb@FreeBSD.ORG Sun Oct 17 09:57:26 2004 Return-Path: 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 C2E1416A4CE for ; Sun, 17 Oct 2004 09:57:26 +0000 (GMT) Received: from ornet.ro (pop.orangenet.ro [62.217.193.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D5E543D1D for ; Sun, 17 Oct 2004 09:57:25 +0000 (GMT) (envelope-from claudiuc@kde.org) Received: from [172.22.7.69] (HELO localhost) by ornet.ro (CommuniGate Pro SMTP 3.5.9) with ESMTP id 10575818 for freebsd-cvsweb@freebsd.org; Sun, 17 Oct 2004 12:57:19 +0300 From: Claudiu Costin Organization: KDE To: freebsd-cvsweb@freebsd.org Date: Sun, 17 Oct 2004 12:59:19 +0300 User-Agent: KMail/1.7 References: <200410142354.43039@kde_is_very_cool> <58670.69.53.57.66.1097788341.squirrel@69.53.57.66> <1097926338.2719.23.camel@bobcat.mine.nu> In-Reply-To: <1097926338.2719.23.camel@bobcat.mine.nu> X-KDE-3: KDE is very cool! MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200410171259.20259@kde_is_very_cool> Subject: Re: cvsweb will not work like before :( X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 09:57:26 -0000 Dear Ville, Thank you very much. I can't wait to see the feature working again. Please give me a sign (a patch) when it's done. I'm subscribed on the list. On S=EEmb=E3t=E3 16 Octombrie 2004 14:32, Ville Skytt=E4 wrote: > On Fri, 2004-10-15 at 00:12, Jon Noack wrote: >=20 > > > For example in my PHP script I have the following printf() like string > > > variable: > > > $cvswebformat2=3D"http://webcvs.kde.org/cgi-bin/cvsweb.cgi/~checkou= t~/kde-i18n/%s?rev=3D%s&content-type=3Dtext/plain"; > > > where first "%s" is like fr/kdeadmin/kcron.po, and second "%s" is bra= nch > > > like KDE_3_3_BRANCH or HEAD. > >=20 > > Actually, it works fine for "HEAD" or ".". According to the Changelog, > > this functionality was "resurrected" on 2004-04-20. However, other > > branches/tags I tried did not work. >=20 > Right. It "works" for HEAD, because the requested tag/branch seems to > be ignored altogether, and the magic revision "." currently results in > -rHEAD being passed to "cvs co". >=20 > I already started enhancing the "." revision so that it takes the branch > into account, it seems to work pretty ok here. But there's a catch: > https://ccvs.cvshome.org/issues/show_bug.cgi?id=3D211 >=20 > What the above means is that before one can do a "cvs co -p" using a > branch name (ie. -rBRANCH, =3D=3D "latest on branch BRANCH"), BRANCH needs > to be in CVSROOT/val-tags. "cvs co -p" does not put it there, but "cvs > co" (without -p) does -> someone has to do the latter outside of cvsweb > before it starts to work in it :( Additionally, the error messages from > "cvs co -p" for nonexistent tags/branches are, well, non-obvious. This > is as of cvs 1.11.17. >=20 > I think I'll commit this stuff anyway today. If the above bug 211 > doesn't get fixed in cvs soonish and this starts to cause problems, I'll > take a look at changing "cvs co" to checkout into a temporary file in > cvsweb, then operating on that instead of directly using the STDOUT from > "cvs co -p". That might not be a bad idea in the first place, BTW. >=20 >=20 kind regards, =2D-=20 Claudiu Costin, claudiuc@kde.org Linux-KDE Romania http://www.ro.kde.org From owner-freebsd-cvsweb@FreeBSD.ORG Sun Oct 17 20:02:51 2004 Return-Path: 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 9A63F16A4CF for ; Sun, 17 Oct 2004 20:02:51 +0000 (GMT) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3508143D1F for ; Sun, 17 Oct 2004 20:02:51 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from [62.78.130.203] (cs78130203.pp.htv.fi [62.78.130.203]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 67DEF27AC52 for ; Sun, 17 Oct 2004 23:02:49 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: <200410171259.20259@kde_is_very_cool> References: <200410142354.43039@kde_is_very_cool> <58670.69.53.57.66.1097788341.squirrel@69.53.57.66> <1097926338.2719.23.camel@bobcat.mine.nu> <200410171259.20259@kde_is_very_cool> Content-Type: text/plain Organization: FreeBSD Message-Id: <1098043368.13803.86.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sun, 17 Oct 2004 23:02:48 +0300 Content-Transfer-Encoding: 7bit Subject: Re: cvsweb will not work like before :( X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 20:02:51 -0000 On Sun, 2004-10-17 at 12:59, Claudiu Costin wrote: > Thank you very much. I can't wait to see the feature working > again. Please give me a sign (a patch) when it's done. It's in, try out the CVS HEAD version and let me know how it goes. http://www.freebsd.org/cgi/cvsweb.cgi/projects/cvsweb/cvsweb.cgi?rev=. Or if you want only the patch (dunno if it applies over 3.0.2): http://www.freebsd.org/cgi/cvsweb.cgi/projects/cvsweb/cvsweb.cgi.diff?r1=1.273&r2=1.275 To use this feature, set rev=. and only_with_tag=YOUR_BRANCH_NAME in the query string (you may need to leave only_with_tag out for the default branch). From owner-freebsd-cvsweb@FreeBSD.ORG Wed Oct 20 21:59:04 2004 Return-Path: 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 7FA8D16A4CE for ; Wed, 20 Oct 2004 21:59:04 +0000 (GMT) Received: from ornet.ro (pop.orangenet.ro [62.217.193.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA28043D58 for ; Wed, 20 Oct 2004 21:59:02 +0000 (GMT) (envelope-from claudiuc@kde.org) Received: from [172.22.7.69] (HELO localhost) by ornet.ro (CommuniGate Pro SMTP 3.5.9) with ESMTP id 10812157 for freebsd-cvsweb@freebsd.org; Thu, 21 Oct 2004 00:58:59 +0300 From: Claudiu Costin To: freebsd-cvsweb@freebsd.org Date: Thu, 21 Oct 2004 01:03:08 +0300 User-Agent: KMail/1.7.1 References: <200410142354.43039@kde_is_very_cool> <58670.69.53.57.66.1097788341.squirrel@69.53.57.66> <1097926338.2719.23.camel@bobcat.mine.nu> In-Reply-To: <1097926338.2719.23.camel@bobcat.mine.nu> X-KDE-3: KDE is very cool! MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200410210103.08905@kde_is_very_cool> Subject: Re: cvsweb will not work like before :( X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 21:59:04 -0000 Dear Ville, Thank you very much! It worked. KDE translators will be happy again. On Saturday 16 October 2004 14:32, Ville Skytt=C3=A4 wrote: > On Fri, 2004-10-15 at 00:12, Jon Noack wrote: >=20 > > > For example in my PHP script I have the following printf() like string > > > variable: > > > $cvswebformat2=3D"http://webcvs.kde.org/cgi-bin/cvsweb.cgi/~checkou= t~/kde-i18n/%s?rev=3D%s&content-type=3Dtext/plain"; > > > where first "%s" is like fr/kdeadmin/kcron.po, and second "%s" is bra= nch > > > like KDE_3_3_BRANCH or HEAD. > >=20 > > Actually, it works fine for "HEAD" or ".". According to the Changelog, > > this functionality was "resurrected" on 2004-04-20. However, other > > branches/tags I tried did not work. >=20 > Right. It "works" for HEAD, because the requested tag/branch seems to > be ignored altogether, and the magic revision "." currently results in > -rHEAD being passed to "cvs co". >=20 > I already started enhancing the "." revision so that it takes the branch > into account, it seems to work pretty ok here. But there's a catch: > https://ccvs.cvshome.org/issues/show_bug.cgi?id=3D211 >=20 > What the above means is that before one can do a "cvs co -p" using a > branch name (ie. -rBRANCH, =3D=3D "latest on branch BRANCH"), BRANCH needs > to be in CVSROOT/val-tags. "cvs co -p" does not put it there, but "cvs > co" (without -p) does -> someone has to do the latter outside of cvsweb > before it starts to work in it :( Additionally, the error messages from > "cvs co -p" for nonexistent tags/branches are, well, non-obvious. This > is as of cvs 1.11.17. >=20 > I think I'll commit this stuff anyway today. If the above bug 211 > doesn't get fixed in cvs soonish and this starts to cause problems, I'll > take a look at changing "cvs co" to checkout into a temporary file in > cvsweb, then operating on that instead of directly using the STDOUT from > "cvs co -p". That might not be a bad idea in the first place, BTW. >=20 >=20 kind regards, =2D-=20 Claudiu Costin, claudiuc@kde.org Linux-KDE Romania http://www.ro.kde.org