public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "M. J. Everitt" <m.j.everitt@iee.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: Future EAPI version operator changes
Date: Tue, 8 Nov 2016 07:49:57 +0000	[thread overview]
Message-ID: <582183A5.2050607@iee.org> (raw)
In-Reply-To: <CAJnmqwZ4W-1Z0NgA+Fr=aRriZmP-i_KXFWL2yK0Fo=3GpR-FLw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2027 bytes --]

On 08/11/16 07:09, konsolebox wrote:
> On Sun, Nov 6, 2016 at 6:52 PM, Michał Górny <mgorny@gentoo.org> wrote:
>> Hi, everyone.
>>
>> Following my previous RFC wrt version operator problems, I'd like to
>> start the second part of the discussion: how to improve version
>> operators in a Future EAPI?
>>
>> I've collected various ideas on operator changes on a wiki page [1].
>> I've tried to stay open-minded and cover every possibility, even though
>> I doubt some of them would be even considered.
>>
>> I should warn you that some of the solutions are interlinked to each
>> other, and you probably need to look through the whole page first
>> before starting to construct an opinion. For example, specific
>> solutions to most of the problems depend on whether we enable version
>> ranges and in which form.
>>
>> I think we should start by loosely discussing the various ideas
>> on the wiki page. Feel free to also point out any missing ideas
>> or remarks that would be useful there.
>>
>> So, what are your comments?
>>
>> [1]:https://wiki.gentoo.org/wiki/Future_EAPI/Version_syntax_changes
>>
>> --
>> Best regards,
>> Michał Górny
>> <http://dev.gentoo.org/~mgorny/>
> I also like the idea of moving the operator as it's more consistent
> and opens new doors to other solutions.
>
> As for the use of operator & and |, they're quite good, but I'd prefer
> the use of Gmail's style where expressions placed in () are processed
> with AND, and expressions placed inside {} are processed with OR:
>
> dev-foo/bar[>=1.3&<1.5]        dev-foo/bar(>=1.3 <1.5)
> dev-foo/bar[>=1.3&<1.5&!=1.4.1]        dev-foo/bar(>=1.3 <1.5 !=1.4.1)
> dev-foo/bar[<1.1|>=1.5]        dev-foo/bar{<1.1 >=1.5}
> dev-foo/bar[=1.1*|=1.3*|>=1.5]        dev-foo/bar{=1.1* =1.3* >=1.5}
>
> I find it more readable.  The former looks too compressed.
>
Ewww, WTF should we use Google as a (bad) example?! And "bracketising"
rather than explicit operators is bound to cause confusion and errors ...


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2016-11-08  7:50 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06 10:52 [gentoo-dev] RFC: Future EAPI version operator changes Michał Górny
2016-11-06 17:05 ` Jan Chren (rindeal)
2016-11-07 20:36   ` Michał Górny
2016-11-07 20:47 ` Alon Bar-Lev
2016-11-07 20:55   ` Michał Górny
2016-11-07 21:01   ` Brian Dolbec
2016-11-07 21:11     ` Ulrich Mueller
2016-11-07 22:29   ` Michał Górny
2016-11-08  7:09 ` konsolebox
2016-11-08  7:49   ` M. J. Everitt [this message]
2016-11-08  8:03     ` konsolebox
2016-11-08  8:08       ` M. J. Everitt
2016-11-08  8:17   ` konsolebox
2016-11-08 10:39     ` Michał Górny
2016-11-09  6:32       ` konsolebox
2016-11-09  7:36         ` Michał Górny
2016-11-09 10:17           ` konsolebox
2016-11-09 11:12             ` Michał Górny
2016-11-09 11:50               ` konsolebox
2016-11-08 10:28   ` Michał Górny
2016-11-08 11:07     ` konsolebox
2016-11-08 13:52 ` Michael Orlitzky
2016-11-08 14:49   ` Ulrich Mueller
2016-11-08 15:39     ` Michael Orlitzky
2016-11-08 15:47       ` Michał Górny
2016-11-09  0:30         ` Michael Orlitzky
2016-11-09  7:20           ` konsolebox
2016-11-09  7:42           ` Michał Górny
2016-11-09 13:31             ` Michael Orlitzky
2016-11-09  7:10         ` konsolebox
2016-11-08 13:55 ` [gentoo-dev] " Ulrich Mueller
2016-11-10  2:29 ` [gentoo-dev] " Daniel Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=582183A5.2050607@iee.org \
    --to=m.j.everitt@iee.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox