From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 21 15:50:01 2012 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EFD9C7F for ; Wed, 21 Nov 2012 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 758E18FC15 for ; Wed, 21 Nov 2012 15:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qALFo11g021383 for ; Wed, 21 Nov 2012 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALFo1nA021382; Wed, 21 Nov 2012 15:50:01 GMT (envelope-from gnats) Date: Wed, 21 Nov 2012 15:50:01 GMT Message-Id: <201211211550.qALFo1nA021382@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: J B Subject: Re: bin/173725: portsnap(8) - fix entry validation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: J B List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 15:50:01 -0000 The following reply was made to PR bin/173725; it has been noted by GNATS. From: J B To: bug-followup@FreeBSD.org, jb.1234abcd@gmail.com Cc: Subject: Re: bin/173725: portsnap(8) - fix entry validation Date: Wed, 21 Nov 2012 16:47:15 +0100 It is not desirable to have a partially successful execution of an entry. If I were interested in partial outcomes, I would have requested: # portsnap fetch; portsnap update Check up front and reject entire entry: if update if no dir portsdir (e.g. /usr/ports), then reject entry PORTSDIR not configured or does not exist. You must run 'portsnap extract' before running 'portsnap update'. This advises the user to review and remedy the problem first, which is the right thing to do.