From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 487B413827E for ; Sun, 8 Dec 2013 20:23:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93971E0A5D; Sun, 8 Dec 2013 20:23:35 +0000 (UTC) Received: from gerard.telenet-ops.be (gerard.telenet-ops.be [195.130.132.48]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D3B0E09EB for ; Sun, 8 Dec 2013 20:23:34 +0000 (UTC) Received: from TOMWIJ-GENTOO ([94.226.55.127]) by gerard.telenet-ops.be with bizsmtp id z8PZ1m00o2khLEN0H8PZFg; Sun, 08 Dec 2013 21:23:33 +0100 Date: Sun, 8 Dec 2013 21:21:59 +0100 From: Tom Wijsman To: ulm@gentoo.org Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Dependencies default to accept any slot value acceptable (:*), can we default to :0 instead? Message-ID: <20131208212159.0a49761f@TOMWIJ-GENTOO> In-Reply-To: <21156.53244.886349.924357@a1i15.kph.uni-mainz.de> References: <20131208175612.2b8c7e38@TOMWIJ-GENTOO> <201312081819.40449.dilfridge@gentoo.org> <21156.50471.613516.395616@a1i15.kph.uni-mainz.de> <21156.53244.886349.924357@a1i15.kph.uni-mainz.de> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.22; 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; micalg=PGP-SHA1; boundary="Sig_/JOzcTfsBsgeeCmXjUL=bN2+"; protocol="application/pgp-signature" X-Archives-Salt: 508bb577-4ef0-4c5b-b8cd-c00f7370d22a X-Archives-Hash: d597c36d14c53d5a4037519ac07f1fb5 --Sig_/JOzcTfsBsgeeCmXjUL=bN2+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 8 Dec 2013 21:01:00 +0100 Ulrich Mueller wrote: > >>>>> On Sun, 8 Dec 2013, Rich Freeman wrote: >=20 > > Sure it does - it defaults to :* when :* was never specified. I > > don't see how defaulting to :0=3D is a "policy" any more than :* is. >=20 > Defaulting to :* is just the long term behaviour from EAPIs 0 to 4 > when no slot operator was specified. Which section in the PMS is this specified? > This is consistent with what we haved for versioned dependencies. > When you don't specify a version, then all versions are good. Good idea. > Similarly, when you don't specify a slot, then all slots are good. Not so good idea; because if all slot would be good by default, then why have slots in the first place? Are we using SLOT right at all? > Our rules of slot/subslot dependencies and slot operators are just > complicated enough, so I really would dislike complicating them even > more by having an EAPI dependent default. Is it complicated? 1. Dev changes to EAPI 6 on a revision or version bump. 2. Dev tests the ebuild. 2.a. It works; the ebuild defaults to depend on :0=3D. 2.b. It breaks, dev checks dependency; the ebuild now depends on :2=3D. 3. Dev commits. The developer needs to be aware of new PMS versions; thus, given that news is brought out about this the developer is aware of the change. > In addition, from a package > manager view there is nothing special at all about slot 0, so there's > no reason to prefer it over other values. In reality, we use it in a special way; it's time to make the resources that we use reflect that and stop relying on unspecified behavior. (Or change reality to match our resources; though, doing thousand of commits compared to changing our resources might not be the way to go.) --=20 With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : TomWij@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D --Sig_/JOzcTfsBsgeeCmXjUL=bN2+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJSpNTnAAoJEJWyH81tNOV9e1oH/1vNVTkFcT3B73TfHRUiupw7 xTYA1PDPWufVa1TMAsVaLr/OtrLU+Tcnv7N5krXMgDuv9sDn2Y3JIYf9hR57mv6V 1LutOy/dkK/CLmyM3oFUmhWe8OnZXQtx1SWRb3AprJ5LHDv8P53DSvv04T2m4d0u xg0H3k0jLD1b53Xw74AZ7KU7OrFpwWZA0gW4hITUz+CXdJ73BtkgGoDQ7p7gAosm NxsxcZ+MdwwqeTjvDfiX6GmOyO15SnYYqseep6pGE/kdRjupJJRnM/9txqS8TKvi VAZTKBSYJ6/YPzDvPb5yxXTk3Wj60/1cLqGJcpuKqOzC9MARaeW4Hwb0xiafipk= =UAdf -----END PGP SIGNATURE----- --Sig_/JOzcTfsBsgeeCmXjUL=bN2+--