From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 17 15:52:43 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C44AA16A400; Sat, 17 Mar 2007 15:52:43 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 66E9713C4AD; Sat, 17 Mar 2007 15:52:43 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 4C1837DF2; Sat, 17 Mar 2007 16:52:42 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 585D79D375; Sat, 17 Mar 2007 15:52:43 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 4396A405B; Sat, 17 Mar 2007 16:52:43 +0100 (CET) Date: Sat, 17 Mar 2007 16:52:43 +0100 From: Jeremie Le Hen To: Michel Talon Message-ID: <20070317155243.GO3773@obiwan.tataz.chchile.org> References: <20070315125925.GA76035@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070315125925.GA76035@lpthe.jussieu.fr> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org Subject: Re: pkgupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 15:52:43 -0000 Dear Michel, On Thu, Mar 15, 2007 at 01:59:25PM +0100, Michel Talon wrote: > this is to announce version 1.2 of pkgupgrade, a python tool aimed at > upgrading freebsd ports installations mainly using binary packages. > It has a companion program pkg_save.py by Cyrille Szymanski which > performs backups prior to upgrades, which has been upgraded to version > 0.7 and a small documentation. You can find them at: > http://www.lpthe.jussieu.fr/~talon/pkgupgrade > http://www.lpthe.jussieu.fr/~talon/pkg-save.py > http://www.lpthe.jussieu.fr/~talon/README.pkgupgrade > The main difference with previous version: > - for homogeneity, Cyrille likes to call his program pkg_save.py, so i > have changed the name accordingly in pkgupgrade. This requires > changing the name in /usr/local/sbin. > - there is a flag "pkg_release" such that, if True, it works as before, > but if False, pkgupgrade will use the Latest packages from pointyhat. > - There is a list COMPILE where you can put ports you insist of > compiling, instead of using binary packages. This is to cope with the > problem of people having special flags in /etc/make.conf for programs > they use a lot. > - When running UpgradeShell, if some postinstall scripts answer > questions, they will not be screened out. > > There are some user unfriendliness, for example you have to edit the > begnning of the script to modify its behavior, you need to put correct > origins in the lists HOLD and COMPILE, no globbing has been implemented > here, but otherwise the program has been tested on several machines and > by several people, and it works. You can expect rather important time > gains with respect to using portupgrade -aP to do the same job, and most > importantly, you will know beforehand exactly what will be removed and > upgraded or compiled, before changing anything on disk. > > The programs above are under BSD licence, and anyone is welcome to do > anything he wants with them, including modifying, improving, rewriting > in C++, whatever. Personnally i have no intention to change them in the > short term. Perhaps rewrite in C++ later on, if nobody does, and if it > appears useful. Thank you for your work. I know that writting a manual page is not the most exciting task in a project. However, I strongly recommend you to write at least a small one and wrap the whole bunch into a port. People will likely be more willing to test it and you will get more feedback, including bug reports and enhancements. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >