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 2D14F13877A for ; Thu, 7 Aug 2014 15:37:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E3C3E08DC; Thu, 7 Aug 2014 15:37:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9722AE0888 for ; Thu, 7 Aug 2014 15:37:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 688BB3401AA for ; Thu, 7 Aug 2014 15:37:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.834 X-Spam-Level: X-Spam-Status: No, score=-1.834 tagged_above=-999 required=5.5 tests=[AWL=-0.464, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hjQSBSPRU0TJ for ; Thu, 7 Aug 2014 15:37:23 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96DCC340191 for ; Thu, 7 Aug 2014 15:37:22 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XFPkk-0002fd-6Y for gentoo-dev@gentoo.org; Thu, 07 Aug 2014 17:37:18 +0200 Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Aug 2014 17:37:18 +0200 Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Aug 2014 17:37:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: Repoman check and QA policy for slot deps/operator Date: Thu, 7 Aug 2014 15:37:07 +0000 (UTC) Message-ID: References: <20140807112443.2ed19939@pomiot.lan> 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: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip68-231-22-224.ph.ph.cox.net User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT d447f7c /m/p/portage/src/egit-src/pan2) X-Archives-Salt: ff52d3b0-be93-426a-b4dd-7840eab9563a X-Archives-Hash: 721cb16b1a243fac89e1f0e7d92845fe Michał Górny posted on Thu, 07 Aug 2014 11:24:43 +0200 as excerpted: > With the new policy, the simple form of dependencies: > > dev-libs/foo > > would be only allowed if dev-libs/foo has only one slot. > > If the atom matches more than one slot of a package, one of the > following forms would need to be used: > > 1. dev-libs/bar:* -- if any version of bar is acceptable, > and you can replace bar:1 with bar:2 without rebuilding, > > 2. dev-libs/bar:= -- if any version of bar is acceptable, > and you need to rebuild bar when changing slots (and subslots), > > 3. dev-libs/bar:slot -- if a single slot of bar is acceptable, and you > can change subslots without rebuilding, > > 4. dev-libs/bar:slot= -- if a single slot of bar is acceptable, > and you need subslot rebuilds, > > 5. dev-libs/bar:slot/subslot -- if a single subslot of bar is > acceptable, useful mostly for binary packages and pass-through virtuals. I'm admittedly operating a bit out of my league here so feel free to ignore this if it's simply noise, but in the interest of a clearer policy I'll take the risk of being stupid... Perhaps this can't happen in practice, but there's an obviously missing permutation that for completeness (and to avoid questions like this), probably should have been covered with a notation such as , or perhaps : 6. dev-libs/bar -- if any version of bar is acceptable, and you need to rebuild bar only when changing slots (but not subslots). Can it happen? Covered if so? Tho you did switch from dev-libs/foo in the initial statement to dev-libs/bar in the list of permutations. Normally, I take that to imply some relationship between foo and bar, thus the need for two labels instead of reusing the first, but if there is such a relationship here I don't see it. I am certainly confused but is it because there such a relationship that I'm simply not seeing (that possibly eliminates my sixth permutation), or did you "switch horses in mid-stream", as the saying goes? -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman