From owner-cvs-ports@FreeBSD.ORG Mon May 17 23:59:46 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3F0516A4CE; Mon, 17 May 2004 23:59:46 -0700 (PDT) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56B7C43D49; Mon, 17 May 2004 23:59:40 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (4aad2843d629e7cdf892ff4be4910b57@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i4I6wGnl009612; Mon, 17 May 2004 23:58:17 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F3C6D54917; Mon, 17 May 2004 23:59:35 -0700 (PDT) Date: Mon, 17 May 2004 23:59:35 -0700 From: Kris Kennaway To: Dag-Erling Sm?rgrav Message-ID: <20040518065935.GA62720@xor.obsecurity.org> References: <200405162147.i4GLlLf3023305@repoman.freebsd.org> <20040516222531.GB38014@xor.obsecurity.org> <1084779257.24544.0.camel@pav.hide.vol.cz> <20040517103829.GA3318@xor.obsecurity.org> <20040517222636.GA19203@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: cvs-ports@FreeBSD.org cc: Pav Lucistnik cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org cc: Kris Kennaway Subject: Re: cvs commit: ports MOVED ports/audio Makefile ports/audio/gmpc Makefile distinfo pkg-descr pkg-message pkg-plist ports/audio/gmpc/files patch-src-playlist.c patch-src-tray.c ports/audio/traymp Makefile distinfo pkg-descr pkg-message ... X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 06:59:46 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 18, 2004 at 08:40:53AM +0200, Dag-Erling Sm?rgrav wrote: > Kris Kennaway writes: > > On Mon, May 17, 2004 at 03:49:10PM +0200, Dag-Erling Sm?rgrav wrote: > > > It is not possible for portupgrade or any other tool to always DTRT > > > about moved ports. > > Why not? You parse the file once in order, as the entries were added > > in order. There are no cycles possible. >=20 > editors/emacs|editors/emacs19|2004-03-20|emacs 19.x moved to a non-defaul= t port location > editors/emacs21|editors/emacs|2004-03-20|emacs 21.x moved to default port= location >=20 > there's no way to tell whether the installed emacs, with origin > editors/emacs, is emacs19 installed before the move or emacs21 > installed after the move. Portupgrade gets confused by this: OK, that's clear now, thanks. The intent of the MOVED format was that upgrade utilities should parse entries after the date of the port being processed to see whether they should be migrated to another port directory, but even trying to express that in english it's clear that it's not a properly formulated algorithm (what date? It's not the installation date of the port; the date of the most recent makefile CVS commit at the time of installation may suffice, but this information is not recorded in the port), and the file format was poorly designed. I think there's also a PR about this, which I haven't had time to read. Kris --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAqbRXWry0BWjoQKURAlxRAKCSA92tuMXjCe8B2UbcNIyByyNz2ACfaRGX K/oT5JZWeHHMKVS5tN/pWiE= =0O9I -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--