crowbar/barclamp-crowbar — pull request #478 by cloudedge (2013-03-19 17:21:15+00:00)
Title: Barclamp Version screen & role_type refactoring incremental [1/1]

This pull disables the barclamp import function (which was broken) and replaces it with
a read only view for barclamp versions.

This pull has incremental progress towards eleminating role_type via role.name. The objective
of the changes are to put the name into BOTH name and role_type. Once this is done
consistently, we can more easily start to eliminate role_type.

Also added github links back to soure for docs

Also, Crowbar deployment now requires all the core barclamps. It looks like this is not correctly
surfaced in the graph view. I'll check on that.

BDD/features/deployment.feature | 3 +-
BDD/features/support.feature | 9 ++
.../app/controllers/barclamp_controller.rb | 2 +-
.../app/controllers/deployments_controller.rb | 13 +-
.../app/controllers/docs_controller.rb | 2 +-
.../app/controllers/nodes_controller.rb | 4 +-
.../app/controllers/support_controller.rb | 98 +-------------
crowbar_framework/app/models/barclamp.rb | 3 +-
.../app/models/barclamp_crowbar/barclamp.rb | 16 ++-
crowbar_framework/app/models/doc.rb | 9 +-
crowbar_framework/app/models/node.rb | 2 +-
crowbar_framework/app/models/role.rb | 3 +-
crowbar_framework/app/models/snapshot.rb | 27 ++--
.../app/views/barclamp/_index.html.haml | 3 +-
.../app/views/deployments/_buttons.html.haml | 7 +-
.../app/views/deployments/_new.html.haml | 10 +-
.../app/views/deployments/_show.html.haml | 2 +-
.../app/views/deployments/show.html.haml | 2 +-
crowbar_framework/app/views/docs/topic.html.haml | 5 +-
.../app/views/support/import.html.haml | 136 +++-----------------
crowbar_framework/config/locales/crowbar/en.yml | 27 ++--
crowbar_framework/config/routes.rb | 3 +-
.../db/migrate/20120723233100_create_navs.rb | 2 +-
crowbar_framework/test/unit/snapshot_model_test.rb | 6 +-
24 files changed, 123 insertions(+), 271 deletions(-)

Crowbar-Pull-ID: a738800387a2ab936b75e94916bf3fbd8fbeff25

Crowbar-Release: development