From owner-freebsd-ports@FreeBSD.ORG Thu Mar 20 15:21:59 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5343106564A; Thu, 20 Mar 2008 15:21:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id B66378FC26; Thu, 20 Mar 2008 15:21:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.2/8.14.2) with ESMTP id m2KEnsL1088227; Thu, 20 Mar 2008 09:49:54 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 20 Mar 2008 09:49:54 -0500 (CDT) From: "Sean C. Farley" To: Doug Barton In-Reply-To: Message-ID: References: <20080320001048.GA39125@lpthe.jussieu.fr> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail.farley.org Cc: freebsd-ports@FreeBSD.org Subject: Re: Utility for safe updating of ports in base system 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: Thu, 20 Mar 2008 15:22:00 -0000 On Thu, 20 Mar 2008, Doug Barton wrote: > On Thu, 20 Mar 2008, Michel Talon wrote: > >> In my opinion, an example of a correct "pkg_upgrade" type programm >> written in C++ is the Debian apt-get. It works predictably, fast, >> etc. One of its features, that i consider very important for correct >> operation, is that it computes the list of all packages to be deleted >> and all packages to be installed and asks the user if he agrees >> before doing anything. > > Why do you consider this an important feature? (I'm not disagreeing, > just curious about your thought process here.) Personally, I like to know everything that will happen before it happens. When options change, I am not always sure what it will bring. For example, I do not have HAL (WITHOUT_HAL via portconf) installed on my system. Some ports may try to bring it in regardless of the setting; I would like to see that first. In this case, I think portmaster -na gives me an idea of what will happen. Sean -- scf@FreeBSD.org