Danek Duvall wrote:
> I've rewhacked the data to reorder it by new name, and spit it out in a
> more tree-like fashion, which is a bit easier for me to deal with. 

I've taken this one step further. I've written a Python script that
will, (given a particular WOS build number), for the latest version
of each package (assuming it has a classification), list the old
package name, the new package name proposed by Stephen plus the
classification. Output can be sorted by old package name, new
package name or classification.

If there is no new package name yet, it outputs a "?".

Usage is:

$ python list_package_names.py --help
Usage:
      list_package_names [OPTION...] build-number

-c, --classification
      Sort the output by classification

-d, --debug
      Turn on debugging

-h, --help
      Show this help message

-i --inputfile
      File containing existing old to new package name mappings

-n, --new
      Sort the output by new package name

-o, --old
      Sort the output by old package name

It can take its output as its input, so you can replace a few "?"
new package names with new values then generate the output again
(sorted in whatever way you want).

Seeing the output in three different ways makes it much easier to
spot mistakes and see where the packages that currently don't have
a new name might fit.

The current three output files can be found at:

 http://cr.opensolaris.org/~richb/package_rename/packages_by_classification.txt
 http://cr.opensolaris.org/~richb/package_rename/packages_by_new_name.txt
 http://cr.opensolaris.org/~richb/package_rename/packages_by_old_name.txt

The Python script is at:

 http://cr.opensolaris.org/~richb/package_rename/list_package_names.py

The initial list of old => new package name mappings is at:

 http://cr.opensolaris.org/~richb/package_rename/Initial_Package_Names.txt

The next step is to have a first cut at all the new package names that are
currently "?".

Then we'll need to come to consensus on everything.



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to