instead? That matches the F11 --ignoregroups option and would be
consistent. That also means that it needs to be passed an =true instead
of being bare.
I do notice that the wiki documentation for --ignoregroups isn't
complete, so I'll fix that now.
- --
Brian C. Lane <bcl@redhat.com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
instead? That matches the F11 --ignoregroups option and would be
consistent. That also means that it needs to be passed an =true instead
of being bare.
But we use store_true a lot in pykickstart. And I think it's good one
doesn't have to ues =true etc. with it, i.e. the connection is not
trusted by default. See '--noipv4' in network.py for instance.
I do notice that the wiki documentation for --ignoregroups isn't
complete, so I'll fix that now.
That reminds me I shouldn't forget to update the wiki once this is pushed.
Ales
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
07-07-2010, 02:07 PM
Chris Lumens
repo: new parameter '--trustedssl'.
> op.add_option("--trustedssl", action="store", type="ksboolean")
>
> instead? That matches the F11 --ignoregroups option and would be
> consistent. That also means that it needs to be passed an =true instead
> of being bare.
ksboolean is only if you want to use 1/0/Yes/No/On/Off as values. It
shouldn't really be used for new things if we can help it. I only added
it because a million years ago, kickstart supported those values and now
I'm stuck with it.
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Thanks for adding test cases. I'd also like you to add a test case to
verify that if you pass --trustedssl as a parameter, you also get it on
the output side as well. You can do that by passing a second argument
to assert_parse. See tests/commands/authconfig.py for an example.
I assume you also ran "make test" and "make check" to verify everything
works?
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list