[Freeipa-devel] [PATCH] admiyo-0217-define-entities-using-builder-and-more-declarative

Adam Young ayoung at redhat.com
Mon Mar 28 20:56:36 UTC 2011


To give a little more context:  we are llong to split out the logic used 
to define the views of the entities from the reusable portion of the 
toolkit.  This patch introduces a builder object which contains the 
temporary state of the entity build process.

In the course of writing it, I realized a few things:

1.  HBAC and SUDO have two small entities and a single large one.  Thus, 
it makes sense to group them both into a single file per entity.  Both 
hbac.js and sudo.js should shrink more in the future as the custom code 
gets better refactored and split into reusable components and 
configuration data.


2.  policy.js was a catch all file.  Automount  will grow significantly 
this release, and so should have its own file.   DNS is complicated 
enough that it deserves its own top level js file.  policy is now 
reduced to two small entities, both that are very clearly policy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-admiyo-0217-define-entities-using-builder-and-more-declarative-s.patch
Type: text/x-patch
Size: 134788 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110328/9168ea49/attachment.bin>


More information about the Freeipa-devel mailing list