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-pms
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Ciaran McCreesh <ciaran.mccreesh@...>
From: Ulrich Mueller <ulm@g.o>
Subject: Re: REPLACING_VERSIONS
Date: Mon, 31 Jan 2011 21:18:33 +0100
>>>>> On Mon, 31 Jan 2011, Ciaran McCreesh wrote:

>> Shouldn't the spec guarantee that it's the empty string (i.e., not
>> a string containing arbitrary whitespace) if the list is empty?
>> Otherwise simple binary tests like [[ -n ${REPLACING_VERSIONS} ]]
>> cannot be done.

> We had an issue with this early on with Paludis: certain eclasses
> were expecting exact spacing requirements inside A and AA based upon
> a quirk in how Portage created them, and it was causing weird bugs.
> I'd be inclined to say that people should write more tolerant
> code...

No, nothing like exact spacing requirements in the general case. Only
simplify developers' lifes in what I guess will be 90% of the usage.

And I think that one could already read "space separated" in that way:
If there are no elements, there is nothing to separate.

Ulrich


Replies:
Re: REPLACING_VERSIONS
-- Ulrich Mueller
References:
REPLACING_VERSIONS
-- Ulrich Mueller
Re: REPLACING_VERSIONS
-- Ciaran McCreesh
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: REPLACING_VERSIONS
Next by thread:
Re: REPLACING_VERSIONS
Previous by date:
Re: REPLACING_VERSIONS
Next by date:
Re: REPLACING_VERSIONS


Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

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