Change in ovirt-engine-sdk[master]: codegen: Sort subcollection fields

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Apr 29 17:15:42 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: codegen: Sort subcollection fields
......................................................................


codegen: Sort subcollection fields

The code generator doesn't sort the fields containing references to
subcollections. This means that the generated code may be different
depending on the default order of dictionaries, or the order of
collections in the XML schema and RSDL files. To avoid potential
uncessary changes this patch changes the code generator so that the
fields are generated in alphabetical order.

Change-Id: Ib4d9af8282d7e7fc0b9fb06e85c1dad1b62355ff
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M src/codegen/resource/resource.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Juan Hernandez: Verified



-- 
To view, visit http://gerrit.ovirt.org/26976
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4d9af8282d7e7fc0b9fb06e85c1dad1b62355ff
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list