Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Patrick Lauer <patrick@g.o>
Subject: Re: [RFC] obs eclasses
Date: Tue, 13 Sep 2011 17:58:15 +0200
On 09/13/11 16:44, Donnie Berkholz wrote:
> On 15:02 Tue 13 Sep     , Amadeusz Żołnowski wrote:
>> Excerpts from Joshua Kinard's message of 2011-09-13 14:26:02 +0200:
>>>> You don't need -n/-z with [[.
>>>>
>>>>   [[ $var ]] == [[ -n $var ]]
>>>>   [[ ! $var ]] == [[ -z $var ]]
>>>
>>> What about other comparisons, like -f, -e, or -d?
>>
>> Same as inside [, but no need of quotes inside [[.
>>
>>> Also, is this a bash4-only thing, or bash3 and/or bash2 as well?
>>
>> I'm not sure.
>>
>> OT: When I was going through recruitment process, dberkholz pointed to
>> me that I use things bash4-only. And again: why we need to stick to
>> ancient 3 version? I would understand pseudo POSIX compatibility, but
>> what is the benefit of bash3 compatibility while bash4 is stable
>> already?
> 
> It's because people want to pretend that it's possible for incredibly 
> outdated systems (those with bash-3 only) to be updated.

Actually it's worse - PMS enforces this, and the only clean way out is
to patch/fix/extend PMS to allow bash4 - but that breaks compatibility
in silly ways.

The proper way to handle that? I'm not sure, since we had a long fight
to get PMS to acknowledge bash 3.2 instead of 3.0 I'm mostly ignoring
PMS as it doesn't care about reality.
> 
> We're stuck in this limbo because "we" have apparently decided that just 
> waiting a year, as we used to do, isn't good enough anymore; but at the 
> same time, we don't have a better mechanism in place yet. So we're 
> waffling around, doing nothing.
> 
That's not quite correct for this case, but it shows that we need to
discuss destructive changes (in the sense that they are not
backwards-compatible etc.) to have any decent progress


Replies:
Re: [RFC] obs eclasses
-- Ciaran McCreesh
Re: [RFC] obs eclasses
-- Donnie Berkholz
References:
[RFC] obs eclasses
-- Michal Hrusecky
Re: [RFC] obs eclasses
-- Amadeusz Żołnowski
Re: [RFC] obs eclasses
-- Joshua Kinard
Re: [RFC] obs eclasses
-- Amadeusz Żołnowski
Re: [RFC] obs eclasses
-- Donnie Berkholz
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] obs eclasses
Next by thread:
Re: [RFC] obs eclasses
Previous by date:
Re: [RFC] obs eclasses
Next by date:
Re: [PATCH autotools-utils 1/9] Fix handling whitespace in filenames when looking for .la files.


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.