Re: [Freeipa-devel] param type issues

2012-04-12 Thread Petr Viktorin
On 04/11/2012 07:44 PM, Rob Crittenden wrote: John Dennis wrote: ... 3) The class name cannot contain an underscore. The find_name() function in makeapi uses a regexp that does not permit an underscore in the name of the class. I presume this was an oversight and not a requirement that

Re: [Freeipa-devel] param type issues

2012-04-11 Thread Rob Crittenden
John Dennis wrote: I recently tried to add a new parameter class (i.e. derived from Param), it did not go smoothly. I presume the problems I ran into were coding oversights in our current base, not intentional limitations but I like to confirm that. 1) Default values are not converted to the

Re: [Freeipa-devel] param type issues

2012-04-11 Thread John Dennis
On 04/11/2012 01:44 PM, Rob Crittenden wrote: John Dennis wrote: The default value should be treated just as if the user had supplied the value passing through all the same normization and conversion steps. Params have always been rather primitive types so this has never come up. It seems