Re: [Rpm-ecosystem] Special meaning of "+" (?) separator
On Mon, Sep 12, 2016 at 4:36 PM, Panu Matilainenwrote: > On 09/12/2016 05:31 PM, Igor Gnatenko wrote: >> >> On Mon, Sep 12, 2016 at 4:27 PM, Panu Matilainen >> wrote: >>> >>> On 09/12/2016 05:18 PM, Panu Matilainen wrote: On 09/12/2016 03:10 PM, Neal Gompa wrote: > > > On Mon, Sep 12, 2016 at 8:07 AM, Florian Festi > wrote: >> >> >> Changing the way + is treated in version compare is really a bad idea. >> So this feature would need a new char that is currently not permitted >> in >> versions. Candidates include: #, ^, @, §, $, ? >>> >>> >>> >>> Other possible candidates would be |, %, &, ! and *. >> >> | is shell-ish >> % is already taken by RPM >> & is shell-ish >> ! is shell-ish >> * is shell-sih > > > Yes, but then both tilde and caret have a special meaning in shell as well. There is some escaping done for that (/me checked with rpm -ivh). > > ?, *, & and | certainly seem like begging for trouble, others to lesser > degree. with ! there is no escaping (I'm not sure it's even possible). > > > - Panu - > > ___ > Rpm-ecosystem mailing list > Rpm-ecosystem@lists.rpm.org > http://lists.rpm.org/mailman/listinfo/rpm-ecosystem -- -Igor Gnatenko ___ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem
Re: [Rpm-ecosystem] Special meaning of "+" (?) separator
On 09/12/2016 05:18 PM, Panu Matilainen wrote: On 09/12/2016 03:10 PM, Neal Gompa wrote: On Mon, Sep 12, 2016 at 8:07 AM, Florian Festiwrote: Changing the way + is treated in version compare is really a bad idea. So this feature would need a new char that is currently not permitted in versions. Candidates include: #, ^, @, §, $, ? Other possible candidates would be |, %, &, ! and *. Most of them clash with various shell features, making them cumbersome in reality, but certainly some more than others. - Panu - ___ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem
Re: [Rpm-ecosystem] Special meaning of "+" (?) separator
On 09/12/2016 03:10 PM, Neal Gompa wrote: On Mon, Sep 12, 2016 at 8:07 AM, Florian Festiwrote: Changing the way + is treated in version compare is really a bad idea. So this feature would need a new char that is currently not permitted in versions. Candidates include: #, ^, @, §, $, ? Why is changing '+' in version comparison a bad idea? It currently exists as a separator that does nothing, and every usage of it I've seen even in RPM-based distros makes the assumption that it works the way the proposed changes will actually make it function. If anything, this would align how the operator is used in practice, which is always a good thing, in my book. I'm on Florians side here. Changing longstanding existing semantics is always risky business, you dont know what might break in somebodys environment. Neither do I. There's no point taking a risk of breakage when its not needed. - Panu - ___ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem
Re: [Rpm-ecosystem] Special meaning of "+" (?) separator
On Mon, Sep 12, 2016 at 8:07 AM, Florian Festiwrote: > Changing the way + is treated in version compare is really a bad idea. > So this feature would need a new char that is currently not permitted in > versions. Candidates include: #, ^, @, §, $, ? Why is changing '+' in version comparison a bad idea? It currently exists as a separator that does nothing, and every usage of it I've seen even in RPM-based distros makes the assumption that it works the way the proposed changes will actually make it function. If anything, this would align how the operator is used in practice, which is always a good thing, in my book. -- 真実はいつも一つ!/ Always, there's only one truth! ___ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem