crowbar/barclamp-crowbar — pull request #590 by VictorLowther (2013-07-09 22:40:00+00:00)
Title: Get rid of :order fields for several core models (CB2.0) [1/1]

This replaces manually-maintained numeric ordering with ordering based on dynamic dependency resolution in several key models.

crowbar_framework/app/models/barclamp.rb | 69 ++++++++++++++++----
crowbar_framework/app/models/deployment.rb | 9 ++-
crowbar_framework/app/models/node_role.rb | 5 +-
crowbar_framework/app/models/role.rb | 26 +++++++-
crowbar_framework/app/models/role_require.rb | 5 +-
.../db/migrate/20120731225405_create_barclamps.rb | 3 +-
.../migrate/20120731225466_create_deployments.rb | 8 +--
.../db/migrate/20120731225510_create_roles.rb | 1 -
.../db/migrate/20120731310000_create_node_roles.rb | 5 ++
9 files changed, 105 insertions(+), 26 deletions(-)

Crowbar-Pull-ID: 21a84667f0cddaf9b1e0a4c6ed0f99d21682e2c0

Crowbar-Release: development