From owner-freebsd-cvsweb@FreeBSD.ORG Wed Nov 12 13:04:02 2003 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 B87C916A4CE for ; Wed, 12 Nov 2003 13:04:02 -0800 (PST) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BDC43FAF for ; Wed, 12 Nov 2003 13:03:58 -0800 (PST) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 0CF3F27BBC4; Wed, 12 Nov 2003 23:03:57 +0200 (EET) Received: from [62.78.134.79] (cs78134079.pp.htv.fi [62.78.134.79]) /8.11.1) with ESMTP id hACL3uS20951; Wed, 12 Nov 2003 23:03:56 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: "Bryce Nesbitt (spam account)" In-Reply-To: <3FB28082.6070707@obviously.com> References: <3FB23C1F.6040502@obviously.com> <3FB28082.6070707@obviously.com> Content-Type: text/plain Organization: FreeBSD Message-Id: <1068671035.4763.136.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 12 Nov 2003 23:03:55 +0200 Content-Transfer-Encoding: 7bit cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Patch to cvsweb? X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 21:04:02 -0000 On Wed, 2003-11-12 at 20:48, Bryce Nesbitt (spam account) wrote: > I am working with CVS HEAD. > My modified version is at: > http://www.obviously.com/test/cvsweb.cgi/MassGIS/ > > I implemented an external diff utility. In this case, it > compares binary application files stored inside a .zip archive. Whoo, looks cool. Could you post the source code (or prefreably a unified diff against CVS HEAD) somewhere? > Some files are inherently "viewable" in a web browser, and some have to > be downloaded to be useful. With CVS HEAD that distinction is a bit > confusing both for the user, and in the code base. Yes, this is a known fact, the MIME type handling has been enhanced, but it still needs work before 3.0. Suggestions and patches welcome... more info in the 2.9.1 announcement: http://lists.freebsd.org/pipermail/freebsd-cvsweb/2003-October/000111.html Currently I'm thinking that the first step towards the right direction would be to have a list of regexps in cvsweb.conf, @text_types, indicating which MIME types can in general be handled as text.