From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jm08l-0007Rc-Dv for garchives@archives.gentoo.org; Wed, 16 Apr 2008 05:25:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CF2AE03BC; Wed, 16 Apr 2008 05:25:01 +0000 (UTC) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.235]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D370E03BC for ; Wed, 16 Apr 2008 05:25:01 +0000 (UTC) Received: by hu-out-0506.google.com with SMTP id 23so1887102huc.1 for ; Tue, 15 Apr 2008 22:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:x-mailer:mime-version:content-type; bh=OtGS+ue8sEJqYpzG/p8Z8oWotUtm3/tFIOo1NQTGTpQ=; b=CylYiLn9b86HqXKg5Iu/Gr6Adr9/snA4gy8dENIebBds29ww8eAWEZi6KowUtBxwcjpv5jylWCDRkKlWr9lpIMbGSLqUTmDcpmXjj2djDe/rUhHigw0pvgTrveiJk/3KxCfPE0fRkRmwquB3EM8mgUCknyuoW/EiPCrXhsLU4Bc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=wdDLQzKqwgFK3Xk0i0fmJiTtbEiPsZy6tmVVXsax7+G5jgUQZCa7rEsoCOPoHMAAGl1fPK44plUUOKMWJfah7xKLYvlUiMV4suUGzC0b0mfr5jPqlU961Xui4qG+099l4yT0RNE2+xbkoP7eCC/ORmAALBcpc/96loHr5o9+PN8= Received: by 10.67.19.13 with SMTP id w13mr6453550ugi.19.1208323500368; Tue, 15 Apr 2008 22:25:00 -0700 (PDT) Received: from snowcone ( [213.121.151.206]) by mx.google.com with ESMTPS id 28sm3301621ugs.52.2008.04.15.22.24.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Apr 2008 22:24:59 -0700 (PDT) Date: Wed, 16 Apr 2008 06:24:52 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] What are blocks used for? Message-ID: <20080416062452.45f3831d@snowcone> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/qUJDz0oFWdN3Xlbgz9zpTSF"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 9f0a67b3-726d-457a-821e-37d802c08786 X-Archives-Hash: e7f929ecc22ca5bf67fc80e78e5aaa16 --Sig_/qUJDz0oFWdN3Xlbgz9zpTSF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable What all are blocks used for? a) Marking that two unrelated packages are mutually incompatible at runtime because they happen to collide, for example on a commonly named executable. b) Marking that two related implementations are mutually incompatible at runtime because they both provide the same binary. c) Marking that a file that used to be provided by one package is now provided by another package that is either depending upon or depended upon by the original package. d) Marking that a package has been moved into another package. Are there any other uses? For future EAPIs, being able to tell the package manager that your block is of one of the types above will help the package manager smooth out the upgrade path for users. For example, for class d) blocks such as the recent coreutils / mktemp mess, the package manager can suggest to the user to install the new package and then uninstall the old package, rather than forcing the user to uninstall the old package by hand (possibly leaving their system without critical utilities) and then install the new package. I strongly suspect that in many (but not all) cases the package manager could be making users' lives a lot easier than it currently is... --=20 Ciaran McCreesh --Sig_/qUJDz0oFWdN3Xlbgz9zpTSF Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFIBY2n96zL6DUtXhERAgptAJ9IDwaaZSEiXrB76WmC4jWsKHP+5wCfTam+ P7yet7ivN8jzv+Titcraz8A= =gaVi -----END PGP SIGNATURE----- --Sig_/qUJDz0oFWdN3Xlbgz9zpTSF-- -- gentoo-dev@lists.gentoo.org mailing list