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 9351A1393F1 for ; Mon, 14 Sep 2015 06:16:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35CD221C0C7; Mon, 14 Sep 2015 06:15:58 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E14A21C0C0 for ; Mon, 14 Sep 2015 06:15:56 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so118281349wic.0 for ; Sun, 13 Sep 2015 23:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FgruGp/GgcWNJnTVfzxWpOCuRfCUwxPjSGNJDlw4j4w=; b=dj1OxjhhNK333Bn5iHhEQus9FbA3ecZnPWjUWmWaETuCvuSbDcB1OIuP67LlwvBiJH 8YcGKdFinCJIvJm839TT6GLmhJSj9NjCqglueUQUiaaQPakhakOWw7Z0+ac+ixCujaCo oumurrizcOWnnkO7JCUqlkteSzDM9j6bJhBNxl7yQk2yin4rXCEdi8rKwn4JZZ5a0RhV kdfY5fbhsU0kKacXZrcpj8CM1woNgPIxRHFqxCcO+CkPqtK2++Z5y0b/0JecZ1Rg9MWq wqHUAkqIVPHdCETXU9AdlUzPoETaaR6CBhUHsctaoeASkCTwrNyR38H2CFFnmmH9kNMN SA/w== 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 X-Received: by 10.180.21.169 with SMTP id w9mr23054822wie.73.1442211355717; Sun, 13 Sep 2015 23:15:55 -0700 (PDT) Received: by 10.28.212.138 with HTTP; Sun, 13 Sep 2015 23:15:55 -0700 (PDT) In-Reply-To: <55F65D4E.5080302@gentoo.org> References: <55F65D4E.5080302@gentoo.org> Date: Mon, 14 Sep 2015 14:15:55 +0800 Message-ID: Subject: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. From: konsolebox To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 1d3faf61-0046-4b47-a3ae-251a8c2f5fb7 X-Archives-Hash: c27922a5d25450dc7d85ea3c1dc6e335 On Mon, Sep 14, 2015 at 1:38 PM, Daniel Campbell wrote: > Honestly, this situation looks like a perfect candidate for slotting > instead of adding a new feature. If SLOT is setup correctly between > ebuilds, you could check to be sure it's a specific SLOT. So in your > case, pkg-1.0.2[a-z] would be slotted with e.g. pkg-1.0.2g:1.0.2. > Anything depending on it would use `pkg:1.0.2`, and the pkg-1.0.3a > ebuild could use SLOT="1.0.3" and be called as a dependency via > `pkg:1.0.3`. Slotting means isolation (most of the time as a group and not necessarily on a parent version), but that's not always the case when you're just wanting to target a specific version. With the operator we could avoid unnecessary overkill using slots. Also that would only apply when you're creating an ebuild.