seth vidal wrote:

Robin,
 What broke for you b/t 3.0.5 and 3.2.16? The plugins _should_ work the
same.

Seth,

I'm not sure.

The old code was:

def init_hook(conduit):
            parser = conduit.getOptParser()
parser.add_option('--group-package-types=[types]', action='store_true',
                    dest='group_package_types', default=False,
help="When using 'yum groupinstall', specify which package types within a package group should be installed. [types] can be any combination of: mandatory,default,optional")

The new code is:

def init_hook(conduit):
            parser = conduit.getOptParser()
            parser.add_option('--group-package-types', action='store',
                    type='string', dest='group_package_types',
help="When using 'yum groupinstall', specify which package types within a package group should be installed. [types] can be any combination of: mandatory,default,optional",
                    metavar='[types]')

I'm still not clear about the various options to "parser" - I've basically looked at some other plugins and used something that looks sane to me and that works.

Are these options listed/documented anywhere?

R.

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to