Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271101 - app-portage/gentoolkit-dev-0.2.6.11-r2: ekeyword sorts keywords not alphabetically
Summary: app-portage/gentoolkit-dev-0.2.6.11-r2: ekeyword sorts keywords not alphabeti...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 19:08 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-10-27 18:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-24 19:08:39 UTC
ekeyword sorts keywords not alphabetically.

Initial KEYWORDS in test-1.ebuild have correct order:
# grep KEYWORDS test-1.ebuild
KEYWORDS="~sparc ~sparc-fbsd ~x86 ~x86-fbsd"

# ekeyword ~all test-1.ebuild
test-1.ebuild
  -KEYWORDS="~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
  +KEYWORDS="~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
Comment 1 michael@smith-li.com 2009-05-25 03:31:07 UTC
The commit message for the patch that produces this behavior (r569) says "Add GLEP 53 keywords sorting patch from prefix".

While GLEP 53 doesn't say anything about sort orders, the intent was to sort by arch within groups of OS, using the GLEP's definition of OS and arch.

If this behavior isn't desirable, a discussion should happen on one of the mailing lists, and an sort-order explanation should probably be on the GLEP.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-26 18:16:00 UTC
(In reply to comment #1)
> If this behavior isn't desirable, a discussion should happen on one of the
> mailing lists

I don't know it this behavior is desirable, but anyway please discuss it on gentoo-dev mailing list.
Comment 3 Fabian Groffen gentoo-dev 2009-07-20 18:54:14 UTC
What needs to be discussed about this?
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2009-10-27 18:30:08 UTC
I'll close this bug since nobody has been started a discussion and nobody else complained.
Feel free to re-open if necessary.