dellcloudedge/barclamp-crowbar — pull request #95 by cloudedge (2012-07-25 05:30:24+00:00)
Title: Move Nav into a database and adjust imaged locationalization [9/15]

This work surfaced as part of the exploration to ensure that
multiple barclamps could contribute migrations (they can!)

Navigation has moved from the config/navigation into database
migrations that populate the navs table. This means that nav
is no longer part of crowbar.yml.

Localization files are now unique per barclamp and not injected
during the barclamp import. This provides more flexiblity and
easier management. Localizations are no longer part of the crowbar.yml.

Documentation for the changes IS PROVIDED in the book-developersguide file.

For now, you need to rake db:migrate to get these changes!

crowbar.yml | 10 -
crowbar_framework/app/models/nav.rb | 26 ++
.../app/views/support/index.html.haml | 4 +-
crowbar_framework/barclamp_model/crowbar.yml | 14 -
.../config/locales/==BC-MODEL==/en.yml | 28 ++
.../crowbar_framework/doc/==BC-MODEL==.yml | 3 +
.../doc/default/==BC-MODEL==/index.md | 17 -
.../doc/default/==BC-MODEL==/license.md | 5 +
crowbar_framework/config/application.rb | 74 ++--
crowbar_framework/config/locales/crowbar/en.yml | 420 ++++++++++++++++++++
crowbar_framework/config/locales/en.yml | 382 +------------------
crowbar_framework/config/navigation.rb | 53 ++--
.../db/migrate/20120723233100_create_navs.rb | 62 +++
crowbar_framework/doc/crowbar.yml | 5 +-
.../doc/default/crowbar/book-developersguide.md | 88 ++++
15 files changed, 703 insertions(+), 488 deletions(-)