[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multistrap on ubuntu



On Fri, 20 Aug 2010 23:37:06 +0100
Wookey <wookey@wookware.org> wrote:

> Maybe --simulate lists all available stanzas? as emdebian.org is still
> there. I guess that makes sense.

Not any more. --simulate omits sources which are not included in either
bootstrap or aptsources.
 
> On a related point I notice:
> The simulate output is a little confusing because it is sorted.

I toyed with a more elaborate format but that enhancement will have to
wait.

> I assumed these 3 lists of 4 items corresponded in position. But in
> fact they don't because all three are alphabetically sorted.

Correct.

> I can't
> see how that helps, so I've taken out the sorts, and now the 1st
> source matches the 1st suite and 1st component, and so on. Is there a
> reason why this is in fact bad?

Yes, because the order within a perl hash is always undefined. The sort
needs to be present or an explicit order must be enforced by looping
through the values.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpQkSXlSH8wJ.pgp
Description: PGP signature


Reply to: