From owner-freebsd-cvsweb@FreeBSD.ORG Fri Oct 15 09:15:17 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 9D93516A4CE for ; Fri, 15 Oct 2004 09:15:17 +0000 (GMT) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D7F443D49 for ; Fri, 15 Oct 2004 09:15:17 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from [62.78.130.203] (cs78130203.pp.htv.fi [62.78.130.203]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 55AA37FC7B for ; Fri, 15 Oct 2004 12:15:15 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: <200410142354.43039@kde_is_very_cool> References: <200410142354.43039@kde_is_very_cool> Content-Type: text/plain Organization: FreeBSD Message-Id: <1097831714.26996.159.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 15 Oct 2004 12:15:15 +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: Fri, 15 Oct 2004 09:15:17 -0000 On Thu, 2004-10-14 at 23:54, Claudiu Costin wrote: > From the day when out Chris Molnar upgraded the KDE webcvs > http://webcvs.kde.org/ links from the pages with statistics > ceased to work. No problem here. But when tried to put the > links in the new form I found that it's imposible to fetch > the last file revision from a branch > (i.e. KDE_3_3_BRANCH) whithout knowing it's revision in advance. Hm, you're right. This is not possible with the current version of FreeBSD-CVSweb. > 1) If exists a solution with actual webcvs code, > could you webcvs masters can tell me how the URL will look's like? > > For example in my PHP script I have the following printf() like string > variable: > $cvswebformat2="http://webcvs.kde.org/cgi-bin/cvsweb.cgi/~checkout~/kde-i18n/%s?rev=%s&content-type=text/plain"; > where first "%s" is like fr/kdeadmin/kcron.po, and second "%s" is branch > like KDE_3_3_BRANCH or HEAD. I think it would make sense to implement this with an URL like: .../~checkout~/.../%s?rev=.&content-type=...&only_with_tag=%s ie. extend the existing magic "." revision so that it would honor the only_with_tag parameter, if present. (Currently, "." works only with the default branch.) How did the "working" URLs look like in your old cvsweb? > 2) If it's not posible (i.e. it's a misfeature), could you > provide us (KDE project) a patch to fix this annoiance? I'll have a look, it should not be too hard to implement this. I've got a few semi-related TODOs anyway.