From owner-freebsd-ports@FreeBSD.ORG Fri Oct 5 22:04:09 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA56F106564A; Fri, 5 Oct 2012 22:04:09 +0000 (UTC) (envelope-from shaun@FreeBSD.org) Received: from alpha.inerd.com (alpha.inerd.com [204.109.56.118]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3178FC12; Fri, 5 Oct 2012 22:04:09 +0000 (UTC) Received: from charon.picobyte.net (localhost [127.0.0.1]) by alpha.inerd.com (Postfix) with ESMTP id E21CE147CD7; Fri, 5 Oct 2012 22:04:07 +0000 (UTC) Date: Fri, 5 Oct 2012 23:04:07 +0100 From: Shaun Amott To: Baptiste Daroussin Message-ID: <20121005220406.GA10831@charon.picobyte.net> References: <20121005140534.GB61272@ithaqua.etoilebsd.net> <20121005151544.GA9938@charon.picobyte.net> <20121005153221.GE61272@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20121005153221.GE61272@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.20 (FreeBSD i386) Cc: ports@FreeBSD.org Subject: Re: [CHANGE PROPOSAL] Moving WWW from pkg-descr to Makefile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2012 22:04:09 -0000 On Fri, Oct 05, 2012 at 05:32:21PM +0200, Baptiste Daroussin wrote: > On Fri, Oct 05, 2012 at 04:15:44PM +0100, Shaun Amott wrote: > > On Fri, Oct 05, 2012 at 04:05:35PM +0200, Baptiste Daroussin wrote: > > > I want to propose and make the actual move of the WWW information from the > > > pkg-descr to the Makefile itself via a WWW variable. > > > > > > doing this will have multiple benefits: > > > * consistency all metadata bug this one are in Makefile > > > * speedup make describe avoiding using grep to get the informations (make > > > describe itself does not need speed but make index heavily use it and this > > > will definitly benefit from speed up) > > > * Third party tool will be able to probe the information more easily. > > > > > > Do anyone have any concern about this? > > > > A good idea in principle, but I think we need to take care to ensure > > that the information is easily discoverable by end users. There's a risk > > that burying the URLs in Makefiles might make them less accessible. > > > How that would be more complicated than the actual way? I wasn't aware there was an "actual" way; isn't `cat pkg-descr` the easiest way of getting a synopsis of the port (including website)? > Given that there are 2 user friendly way to get the information: make search > (which uses INDEX so no change in that area) and freshports and I will make sure > that we will switch in sync with it. FreshPorts is great, but we shouldn't rely on it for basic information and/or functionality. -- Shaun Amott // PGP: 0x6B387A9A "A foolish consistency is the hobgoblin of little minds." - Ralph Waldo Emerson