[Freeipa-devel] [PATCH] Modified ipa help behavior

Jakub Hrozek jhrozek at redhat.com
Tue Dec 21 11:59:50 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/20/2010 04:16 PM, Jan Zelený wrote:
> Jan Zelený <jzeleny at redhat.com> wrote:
>> Jakub Hrozek <jhrozek at redhat.com> wrote:
>>> On 12/09/2010 09:54 AM, Jan Zelený wrote:
>>>> Jan Zelený <jzeleny at redhat.com> wrote:
>>>>> Jan Zelený <jzeleny at redhat.com> wrote:
>>>>>> Now each plugin can define its topic as a 2-tuple, where the first
>>>>>> item is the name of topic it belongs to and the second item is
>>>>>> a description of such topic. Topic descriptions must be the same
>>>>>> for all modules belonging to the topic.
>>>>>>
>>>>>> By using this topics, it is possible to group plugins as we see fit.
>>>>>> When asking for help for a particular topic, help for all modules
>>>>>> in given topic is written.
>>>>>>
>>>>>> ipa help - show all topics (until now it showed all plugins)
>>>>>> ipa help <topic> - show details to given topic
>>>>>>
>>>>>> https://fedorahosted.org/freeipa/ticket/410
>>>>>
>>>>> So here it is: I'm sending couple patches which resolve the ticket and
>>>>> implement grouping the way we previously discussed. Please feel free
>>>>> to send me any recommendations if anything should be modified.
>>>>
>>>> Here's updated version of 0014 (changed type detection from type(var)
>>>> is type({}) to type(var) is dict)
>>>>
>>>> Jan
>>>
>>> The first patch in the series does not apply cleanly anymore, can you
>>> rebase?
>>
>>> Also, ipa help gives me a traceback now:
>> Both patches are in the attachment
>>
>> Jan
> 
> One more change to the renaming of hbac to hbacrule. I'm sending all patches 
> for better lucidity.
> 
> Jan
> 

Nack,

the hbac->hbacrule rename is still not complete. There is still
"from ipalib.plugins.hbac import is_all" in ipalib/plugins/netgroup.py
and "api.register(hbac)" in ipalib/plugins/hbacrule.py and also "ret =
self.failsafe_add(api.Object.hbac," in tests/test_xmlrpc/test_hbac_plugin.py

	Jakub

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0QlrYACgkQHsardTLnvCVW6ACeKTVGIizY9AfoZzVA4zA2yf1H
focAni0NUUZwkoPxjZnUveOMOlUAtDeM
=XEKr
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list