Right now replication is busted in the git master because we're missing the rest of the replication bit's for the item's that were recently added. This patch should get that working again.
I had some questions about the initial depth level for the new objects. I decided to make them start at 2 like the repo items but I'm not entirely sure why they start at 2.
Can someone explain to me why the default object value's are all different?
item_distro.py: [ "depth",0,0,"Depth",False,"",0,"int"], item_image.py: ['depth',0,0,"",False,"",0,"int"], item_profile.py: ["depth",1,1,"",False,"",0,"int"], item_repo.py: ["depth",2,0,"",False,"",0,"float"], item_system.py: ["depth",2,0,"",False,"",0,"int"],
Distro starts at 0 as does image, profiles are at 1 because they are a level down the hierarchy from distros? Are systems at 2 because they are another level down the hierarchy from profiles? I don't get why repo's are set at 2 or why it's a float but I think mgmtclasses are like repo's in that they can be assigned to distro's, profile's, or systems so I just chose 2.
https://github.com/jsabo/cobbler/commit/b3d2cd3ae8ed5854b9d2ce2fc2f0a043347a...
Thanks,
Jonathan
On Mon, 7 Mar 2011 09:47:24 -0500, Jonathan Sabo jsabo@criminal.org wrote:
Right now replication is busted in the git master because we're missing the rest of the replication bit's for the item's that were recently added. This patch should get that working again.
I had some questions about the initial depth level for the new objects. I decided to make them start at 2 like the repo items but I'm not entirely sure why they start at 2.
Can someone explain to me why the default object value's are all different?
No real clue. I'd have to trace down the code that actually uses all of that.
Distro starts at 0 as does image, profiles are at 1 because they are a level down the hierarchy from distros? Are systems at 2 because they are another level down the hierarchy from profiles? I don't get why repo's are set at 2 or why it's a float but I think mgmtclasses are like repo's in that they can be assigned to distro's, profile's, or systems so I just chose 2.
https://github.com/jsabo/cobbler/commit/b3d2cd3ae8ed5854b9d2ce2fc2f0a043347a...
Applied, thanks.
cobbler-devel@lists.fedorahosted.org