FS#22428 - [test iso 2011.01.09] aif package selection should be sorted more naturally.

Attached to Project: Release Engineering
Opened by Thomas Dziedzic (tomd123) - Friday, 14 January 2011, 17:41 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:46 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2010.05
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When selecting packages, they are categorized by group.
The order in the list is, base, base-devel, none.
This order is ok, but the subgroups themselves aren't alphabetically sorted.

Link to report from the report issues script: http://sprunge.us/gNGY
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:46 GMT
Reason for closing:  Deferred
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 16 January 2011, 20:04 GMT
not sure what exactly you mean. subgroups? do you mean the list of packages within groups? afaik that should be okay in 2011.01.09 :/
Comment by Thomas Dziedzic (tomd123) - Sunday, 16 January 2011, 20:07 GMT
yes, I mean the list of packages within a group during the install. I can get a screenshot later.
Comment by Thomas Dziedzic (tomd123) - Monday, 17 January 2011, 14:56 GMT
Ok, it will probably be much clearer what I mean if you just see the screenshot I made.
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 13 August 2011, 21:30 GMT
should be fixed in git, can you test testbuild 2011.08.14 or newer? (will appear on http://releng.archlinux.org/isos/ in a few hours)
Comment by Thomas Dziedzic (tomd123) - Wednesday, 17 August 2011, 05:33 GMT
sorry, this doesn't seem to be fixed in 2011.08.16
Comment by Dieter Plaetinck (Dieter_be) - Thursday, 18 August 2011, 11:43 GMT
should be fixed in http://releng.archlinux.org/isos/2011.08.18/
please confirm
Comment by Dieter Plaetinck (Dieter_be) - Thursday, 18 August 2011, 18:49 GMT
hmm. weird. packages are sorted correctly now, and still per group. groups are sorted, but None comes first. even though sort has the -f flag, and always had, and that always worked until now.
Comment by Thomas Dziedzic (tomd123) - Friday, 19 August 2011, 02:29 GMT
Yes, I can confirm that it works w/ 2011.08.18
None coming before base is strange though, could it have something to do with the "N" being a capital letter?
Comment by Dave Reisner (falconindy) - Friday, 19 August 2011, 02:37 GMT
if LC_COLLATE=C, then yes, 'N' comes before 'b'.

$ printf '%s\n' n o O N a | LC_COLLATE=C sort
N
O
a
n
o

Using a locale like en_US, you get more "alphabetical" behavior:

$ printf '%s\n' n o O N a | LC_COLLATE=en_US sort
a
n
N
o
O
Comment by Dieter Plaetinck (Dieter_be) - Friday, 19 August 2011, 07:48 GMT
aif does this:
src/aif.sh
14:export LC_COLLATE=C # for consistent sorting behavior

*but* we use the -f flag, so N should come after a, as demonstrated here:

$ printf '%s\n' n o O N a | LC_COLLATE=C sort -f
a
N
n
O
o

Loading...