[PATCH] Setup.exe: allow -p option to specify categories as well as packages
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Wed Nov 4 17:45:00 GMT 2009
On Wed, Nov 04, 2009 at 05:47:55PM +0000, Dave Korn wrote:
>
> Last but not least,
>
> I found myself wanting to run setup in unattended mode to install absolutely
>everything, so I figured the nicest solution was to allow the -p option to
>accept category names as well as package names, so that I could use "-p All".
> The attached patch does just that.
>
> * package_meta.cc (packagemeta::isManuallyWanted): Allow category
> names as well as individual package names in packages_option.
> * package_db.cc (packagedb::fillMissingCategory): Don't check for
> manually-wanted packages until after initialising all the categories.
>
> Tested by running it a few times with no -p options and then with -p options
>for things like "Net" and/or a couple of individual packages mixed in. OK?
Unfortunately, no, I don't think so. I like the idea but I don't like overloading
"-p" as it could cause confusion. Why not add a new option entirely or some sort
of different syntax for categories like "Net:" or something?
cgf
More information about the Cygwin-apps
mailing list