From owner-freebsd-ports@FreeBSD.ORG Mon Jan 31 22:58:48 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F17A16A4CE; Mon, 31 Jan 2005 22:58:48 +0000 (GMT) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BF243D39; Mon, 31 Jan 2005 22:58:48 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from krion by voodoo.oberon.net with local (Exim 4.44 (FreeBSD)) id 1CvkVO-000Mzs-38; Mon, 31 Jan 2005 23:58:50 +0100 Date: Mon, 31 Jan 2005 23:58:50 +0100 From: Kirill Ponomarew To: Doug Barton Message-ID: <20050131225850.GD81808@voodoo.oberon.net> References: <20050131143802.X1177@ync.qbhto.arg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050131143802.X1177@ync.qbhto.arg> X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE cc: freebsd-ports@freebsd.org Subject: Re: Proposed patch to inform users of fetchindex X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 22:58:48 -0000 On Mon, Jan 31, 2005 at 02:39:16PM -0800, Doug Barton wrote: > I can't help but think that the majority of users try to build their own > index because they don't know that there is a better alternative. What > would y'all think of the following patch? > > Yes, I'm serious, > > index: > + @${ECHO} 'Building an index file is a non-trivial task.' > + @${ECHO} '' > + @${ECHO} 'Most users would be better off using the fetchindex target' > + @${ECHO} 'instead, which will download and install an index file that' > + @${ECHO} 'is produced by the ports building system on an hourly basis.' > + @${ECHO} 'If you are sure you want to make an index yourself, use the' > + @${ECHO} 'realindex target.' > + > +realindex: > @rm -f ${.CURDIR}/${INDEXFILE} > @cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE} Maybe it's even better to mention 'make fetchindex' instead of 'fetchindex target', but on the whole I like this idea. -Kirill