From owner-freebsd-stable@FreeBSD.ORG Tue Nov 9 11:02:44 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05B3F16A4CF for ; Tue, 9 Nov 2004 11:02:44 +0000 (GMT) Received: from caffreys.strugglers.net (caffreys.strugglers.net [82.195.232.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39DC743D1D for ; Tue, 9 Nov 2004 11:02:43 +0000 (GMT) (envelope-from andy@freebsdwiki.org) Received: by caffreys.strugglers.net (Postfix, from userid 10000) id B2BC1111764; Tue, 9 Nov 2004 11:02:40 +0000 (GMT) Date: Tue, 9 Nov 2004 11:02:40 +0000 From: Andy Smith To: freebsd-stable@freebsd.org Message-ID: <20041109110240.GI1549@caffreys.strugglers.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20041109103902.GA69223@kierun.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zi2eTBhaeOcYgKgV" Content-Disposition: inline In-Reply-To: <20041109103902.GA69223@kierun.org> X-Uptime: 102 days X-URL: http://freebsdwiki.org/User:Andy User-Agent: Mutt/1.5.6i Subject: Re: Portupgrade script. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 11:02:44 -0000 --zi2eTBhaeOcYgKgV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 09, 2004 at 10:39:02AM +0000, Yann Golanski wrote: > Would people be kind enough to have a look at the following script and > tell me what horrors/faux pas/stupid things I have done? =20 >=20 > The script is an almost automated way to upgrade all your ports to the > latest version.=20 Without looking further I'd say this is a bad idea because sometimes an upgrade to a port radically changes its functionality or does something else inconvenient. For example, upgrading databases/mysql*-server will shut down a running mysql server. You need to be manually reading /usr/ports/UPDATING before each update. What I tend to do is automate the cvsup and then email a report of what could be upgraded. The actual upgrades are done semi-automatically with a portupgrade -arR after checking it isn't going to do anything untoward. --zi2eTBhaeOcYgKgV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBkKPQIJm2TL8VSQsRAneRAKCr34CfabeTefp0Tq3vFs6R6R9A9wCg7QP8 jpo+NpQmjLtgAyPv8IfSNPE= =IwWo -----END PGP SIGNATURE----- --zi2eTBhaeOcYgKgV--