On Mon, Jul 28, 2008 at 10:51 AM, Ulrich Mueller <[EMAIL PROTECTED]> wrote:
>>>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:
>
>> After a category is converted, it will be auto-generated EXCLUSIVELY
>> from metadata.xml.
>
> A minor issue: use.local.desc is not sorted properly anymore.
> It should be sorted by category/package first, then by the USE flag.

I wrote the script that generates the new files.

It reads categories from $REPO_DIR/profiles/catogories
Then per category it runs down each package in os.listdir() order.

The use flags are output on a first-come-first-serve basis.

The script could possibly sort entries (sort categories; sort listdir
output, keep per-package use flags in memory and sort them).  File a
bug to me if you want this.

-Alec

>
> For example (they are all in reverse order now):
>   app-editors/emacs < app-editors/emacs-cvs
>   dev-db/postgresql < dev-db/postgresql-base
>   dev-java/ant < dev-java/ant-tasks
>   x11-libs/qt < x11-libs/qt-core
>
> I think something like "sort -t -k1,1" should do the job.
>
> Ulrich
>
>

Reply via email to