From owner-freebsd-cvsweb@FreeBSD.ORG Wed Oct 13 09:54:22 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 15B9916A4CE for ; Wed, 13 Oct 2004 09:54:22 +0000 (GMT) Received: from web52704.mail.yahoo.com (web52704.mail.yahoo.com [206.190.39.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 8733143D54 for ; Wed, 13 Oct 2004 09:54:21 +0000 (GMT) (envelope-from rajesh_kuppusamy@yahoo.com) Message-ID: <20041013095420.91806.qmail@web52704.mail.yahoo.com> Received: from [202.54.137.6] by web52704.mail.yahoo.com via HTTP; Wed, 13 Oct 2004 02:54:20 PDT Date: Wed, 13 Oct 2004 02:54:20 -0700 (PDT) From: rajesh natraj To: freebsd-cvsweb@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Problem Viewing files in CVS 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, 13 Oct 2004 09:54:22 -0000 Team, I am stuck up with the following error. Error: Failed to spawn GNU rlog on "C:\CVSRepo\TEST\jspfiles\ezhil.txt,v, C:\CVSRepo\TEST\jspfiles\file3.txt,v". Did you set the @command_path in your configuration file correctly? (Currently: "D:/RCS/bin/win32/:D:/RCS/bin/win32/:D:/RCS/bin/win32/") -------------------------------------------------------------------------------- I am able to view the folder, but not the files. When i click the folder that contains some file, i get the following error. Tried commenting the -T option in the cvsweb.cgi file. Tried many options but in vain. I use, Apache, HttpServer version 2.0.48 Perl Version 5.8.3 CVSNT Version 2.0.11 Any ideas? Thanx and Regards, Rajesh Kanna RK. _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com From owner-freebsd-cvsweb@FreeBSD.ORG Wed Oct 13 10:56:29 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 61F4316A4CE for ; Wed, 13 Oct 2004 10:56:29 +0000 (GMT) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1404D43D31 for ; Wed, 13 Oct 2004 10:56:29 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from [62.78.130.203] (cs78130203.pp.htv.fi [62.78.130.203]) by smtp2.pp.htv.fi (Postfix) with ESMTP id D58C1296B5B for ; Wed, 13 Oct 2004 13:56:26 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: <20041013095420.91806.qmail@web52704.mail.yahoo.com> References: <20041013095420.91806.qmail@web52704.mail.yahoo.com> Content-Type: text/plain Organization: FreeBSD Message-Id: <1097664985.26996.21.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 13 Oct 2004 13:56:25 +0300 Content-Transfer-Encoding: 7bit Subject: Re: Problem Viewing files in CVS 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, 13 Oct 2004 10:56:29 -0000 On Wed, 2004-10-13 at 12:54, rajesh natraj wrote: > Error: Failed to spawn GNU rlog on > "C:\CVSRepo\TEST\jspfiles\ezhil.txt,v, > C:\CVSRepo\TEST\jspfiles\file3.txt,v". > > Did you set the @command_path in your configuration > file correctly? (Currently: > "D:/RCS/bin/win32/:D:/RCS/bin/win32/:D:/RCS/bin/win32/") [...] > > Apache, HttpServer version 2.0.48 > Perl Version 5.8.3 > CVSNT Version 2.0.11 ...and what is your cvsweb version? I guess you also run Windows (based on CVSNT); be aware that using cvsweb on non-Unix platforms have been significantly less tested. In theory, things may work, but I don't have a box where to test it. For more error messages, try commenting out the following line: | open(STDERR, '>', devnull()); # Ignore rlog's complaints. ...in cvsweb.cgi, and watch your web server error log. That's around line number 2457 in cvsweb version 3.0.2. From owner-freebsd-cvsweb@FreeBSD.ORG Thu Oct 14 00:14:10 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 C648C16A4CE for ; Thu, 14 Oct 2004 00:14:10 +0000 (GMT) Received: from ms-smtp-02-eri0.ohiordc.rr.com (ms-smtp-02-smtplb.ohiordc.rr.com [65.24.5.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45AB443D53 for ; Thu, 14 Oct 2004 00:14:10 +0000 (GMT) (envelope-from rfrancis@ev.net) Received: from [192.168.0.2] (dhcp065-024-145-058.columbus.rr.com [65.24.145.58])i9E0E7Jl022757 for ; Wed, 13 Oct 2004 20:14:08 -0400 (EDT) Message-ID: <416D8C45.8060303@ev.net> Date: Wed, 13 Oct 2004 20:12:53 +0000 From: Russell Francis User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040710) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-cvsweb@freebsd.org X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------040808060201080906070809" X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: [BUG] download link doesn't work if path has spaces. 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: Thu, 14 Oct 2004 00:14:10 -0000 This is a multi-part message in MIME format. --------------040808060201080906070809 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, I am using CVSweb 3.0.1 and discovered that if any file contained in a CVS module has a space character in it's path, the download link will fail to download the file. The attached patch seems to fix the problem but I am not very familiar with CVSweb so it is really more of a shot in the dark. If you allready know about this issue, I appologize for repeating it. Thanks, Russ --------------040808060201080906070809 Content-Type: text/plain; name="cvsweb.cgi.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cvsweb.cgi.diff" --- cvsweb.cgi.backup Wed Oct 13 19:08:18 2004 +++ cvsweb.cgi Wed Oct 13 19:55:23 2004 @@ -4106,6 +4106,7 @@ if (!defined($mimetype) || $mimetype !~ CVSWEBMARKUP) { my $path = $where; $path =~ s|[^/]+$||; + $path =~ s/ /%20/g; $url = "$scriptname/$CheckoutMagic/${path}$url"; } $url .= '?rev=' . uri_escape($revision); --------------040808060201080906070809-- From owner-freebsd-cvsweb@FreeBSD.ORG Thu Oct 14 08:28:27 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 8813816A4CE for ; Thu, 14 Oct 2004 08:28:27 +0000 (GMT) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4133743D2D for ; Thu, 14 Oct 2004 08:28:27 +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 A2E6B7FC19 for ; Thu, 14 Oct 2004 11:28:12 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: <416D8C45.8060303@ev.net> References: <416D8C45.8060303@ev.net> Content-Type: text/plain Organization: FreeBSD Message-Id: <1097742474.26996.91.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 14 Oct 2004 11:27:54 +0300 Content-Transfer-Encoding: 7bit Subject: Re: [BUG] download link doesn't work if path has spaces. 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: Thu, 14 Oct 2004 08:28:27 -0000 On Wed, 2004-10-13 at 23:12, Russell Francis wrote: > I am using CVSweb 3.0.1 and discovered that if any file contained in a > CVS module has a space character in it's path, the download link will > fail to download the file. Known issue, fixed in the current version of CVSweb, 3.0.2. From owner-freebsd-cvsweb@FreeBSD.ORG Thu Oct 14 20:51:12 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 F141416A4CF for ; Thu, 14 Oct 2004 20:51:12 +0000 (GMT) Received: from ornet.ro (pop.orangenet.ro [62.217.193.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B9D43D54 for ; Thu, 14 Oct 2004 20:51:11 +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 10460037; Thu, 14 Oct 2004 23:51:08 +0300 From: Claudiu Costin Organization: KDE To: freebsd-cvsweb@freebsd.org Date: Thu, 14 Oct 2004 23:54:42 +0300 User-Agent: KMail/1.7 X-KDE-3: KDE is very cool! MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410142354.43039@kde_is_very_cool> cc: Nicolas Goutte cc: Christopher Molnar cc: Krzysztof Lichota Subject: 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: Thu, 14 Oct 2004 20:51:13 -0000 Dear friends, I'm devel/maintainer of KDE GUI Stats and KDE DOC Stats from http://i18n.kde.org/stats/gui/ and respectively http://i18n.kde.org/stats/doc/ used by KDE translators not only to see the progress but even to quickly fetch the PO file which need work on it. 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. The old webcvs interface allowed this. 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. 2) If it's not posible (i.e. it's a misfeature), could you provide us (KDE project) a patch to fix this annoiance? KDE translators will be very gratefull to you :-) kind regards, -- Claudiu Costin, claudiuc@kde.org Linux-KDE Romania http://www.ro.kde.org From owner-freebsd-cvsweb@FreeBSD.ORG Thu Oct 14 21:12:24 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 63EE016A4CE for ; Thu, 14 Oct 2004 21:12:24 +0000 (GMT) Received: from smtp006.bizmail.sc5.yahoo.com (smtp006.bizmail.sc5.yahoo.com [66.163.175.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 4101943D31 for ; Thu, 14 Oct 2004 21:12:24 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.240.189 with login) by smtp006.bizmail.sc5.yahoo.com with SMTP; 14 Oct 2004 21:12:23 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 209176168; Thu, 14 Oct 2004 16:12:23 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05504-02; Thu, 14 Oct 2004 16:12:21 -0500 (CDT) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 6BA2F60D2; Thu, 14 Oct 2004 16:12:21 -0500 (CDT) Received: from 69.53.57.66 (SquirrelMail authenticated user noackjr); by www.noacks.org with HTTP; Thu, 14 Oct 2004 16:12:21 -0500 (CDT) Message-ID: <58670.69.53.57.66.1097788341.squirrel@69.53.57.66> In-Reply-To: <200410142354.43039@kde_is_very_cool> References: <200410142354.43039@kde_is_very_cool> Date: Thu, 14 Oct 2004 16:12:21 -0500 (CDT) From: "Jon Noack" To: "Claudiu Costin" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-cvsweb@freebsd.org cc: Krzysztof Lichota Subject: Re: cvsweb will not work like before :( X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 21:12:24 -0000 Claudiu Costin wrote: > Dear friends, > > I'm devel/maintainer of KDE GUI Stats and KDE DOC Stats > from http://i18n.kde.org/stats/gui/ and respectively > http://i18n.kde.org/stats/doc/ used by KDE translators > not only to see the progress but even to quickly fetch the > PO file which need work on it. > > 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. > > The old webcvs interface allowed this. > > 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. 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. Jon From owner-freebsd-cvsweb@FreeBSD.ORG Fri Oct 15 08:26:35 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 A2FC716A4F7 for ; Fri, 15 Oct 2004 08:26:35 +0000 (GMT) Received: from smtp9.clb.oleane.net (smtp9.clb.oleane.net [213.56.31.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80B4F43D49 for ; Fri, 15 Oct 2004 08:26:34 +0000 (GMT) (envelope-from evangelos.stergiou@fileas.com) Received: from es ([194.3.110.226]) (authenticated) by smtp9.clb.oleane.net with ESMTP id i9F8QKJN001382 for ; Fri, 15 Oct 2004 10:26:24 +0200 Message-ID: <018501c4b290$a8c90e80$050ba8c0@es> From: "Evangelos Stergiou" To: Date: Fri, 15 Oct 2004 10:26:23 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: cvsweb and binary files: cvs search tool X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Evangelos Stergiou 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 08:26:35 -0000 Hi,=20 I was looking for a search function in cvsweb when I found your post = here http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-April/000217.html May I have a copy of the binary please? You should take necessary actions to include this in cvsweb package. Thanks. 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. From owner-freebsd-cvsweb@FreeBSD.ORG Sat Oct 16 11:32:22 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 E3F8316A4CE for ; Sat, 16 Oct 2004 11:32:22 +0000 (GMT) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7434443D5C for ; Sat, 16 Oct 2004 11:32:22 +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 E545B7FCAE; Sat, 16 Oct 2004 14:32:19 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: <58670.69.53.57.66.1097788341.squirrel@69.53.57.66> References: <200410142354.43039@kde_is_very_cool> <58670.69.53.57.66.1097788341.squirrel@69.53.57.66> Content-Type: text/plain Organization: FreeBSD Message-Id: <1097926338.2719.23.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 16 Oct 2004 14:32:18 +0300 Content-Transfer-Encoding: 7bit cc: Krzysztof Lichota 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: Sat, 16 Oct 2004 11:32:23 -0000 On Fri, 2004-10-15 at 00:12, Jon Noack wrote: > > 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. > > 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. 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". 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=211 What the above means is that before one can do a "cvs co -p" using a branch name (ie. -rBRANCH, == "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. 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. From owner-freebsd-cvsweb@FreeBSD.ORG Sat Oct 16 13:02:38 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 6C8DD16A4CE for ; Sat, 16 Oct 2004 13:02:38 +0000 (GMT) Received: from gbox.pandmservices.com (56.95.252.64.snet.net [64.252.95.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFBE343D48 for ; Sat, 16 Oct 2004 13:02:37 +0000 (GMT) (envelope-from molnarc@pandmservices.com) Received: from [192.168.1.12] (cmibook.pandmservices.com [192.168.1.12]) id i9GCj0K4029620; Sat, 16 Oct 2004 08:45:00 -0400 User-Agent: Microsoft-Entourage/11.0.0.040405 Date: Sat, 16 Oct 2004 09:02:33 -0400 From: Christopher Molnar To: Claudiu Costin , Message-ID: In-Reply-To: <200410142354.43039@kde_is_very_cool> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit cc: Nicolas Goutte cc: Krzysztof Lichota 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: Sat, 16 Oct 2004 13:02:38 -0000 Try your scripts again without any changes. I think they are fixed. I want to just make a small, probably mute, point here. When you write a tool that relies on someone else's server and software it might be a good idea to inform the administrator of that server - that way when an update is done (or not done) it can be tested and other people can be informed. Thanks, -Chris (BTW: Webcvs will have some downtime on 10/25 and 10/26 as the server is moving and I am at the mercy of the telephone and cable companies.) Thanks, -Chris On 10/14/04 4:54 PM, "Claudiu Costin" wrote: > Dear friends, > > I'm devel/maintainer of KDE GUI Stats and KDE DOC Stats > from http://i18n.kde.org/stats/gui/ and respectively > http://i18n.kde.org/stats/doc/ used by KDE translators > not only to see the progress but even to quickly fetch the > PO file which need work on it. > > 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. > > The old webcvs interface allowed this. > > 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. > > 2) If it's not posible (i.e. it's a misfeature), could you > provide us (KDE project) a patch to fix this annoiance? > > > KDE translators will be very gratefull to you :-) > > > kind regards,