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

Martin Kosek mkosek at redhat.com
Thu Mar 31 10:19:21 UTC 2011


On Wed, 2011-03-30 at 12:40 -0400, Adam Young wrote:
> On 03/28/2011 05:17 PM, Adam Young wrote: 
> > On 03/28/2011 04:56 PM, Adam Young wrote: 
> > > 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. 
> > > 
> > > _______________________________________________
> > > Freeipa-devel mailing list
> > > Freeipa-devel at redhat.com
> > > https://www.redhat.com/mailman/listinfo/freeipa-devel
> > 
> > 
> > Self NACK:  jsl and unit test errors need to be fixed first.   Still
> > worth reviewing as is, as fixing that will not change the behavior
> > or structure of the end patch.
> > 
> > _______________________________________________
> > Freeipa-devel mailing list
> > Freeipa-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/freeipa-devel
> 
> 
> 
> Updated with fix for unit tests.   Note that this requires the NACKed
> version of
> freeipa-admiyo-0216-update-metadata-with-label-changes.patch.  The
> fixes in the unit tests here resolve the test breakage due to the
> metadata updates.

Unfortunately the patch failed to apply to the master, there are some
conflicts in policy.js. Can you please send a rebased patch?

Martin




More information about the Freeipa-devel mailing list