crowbar/barclamp-chef — pull request #9 by VictorLowther (2013-01-17 18:44:06+00:00)
Title: Epic rename of cmdb to jig, for real this time. [4/7]

This pull request series renames cmdb to jig across the entire Crowbar
codebase.

You can replicate its effects if you get a merge conflict with the
following commands:

cd barclamps
for bc in *; do
( cd "$bc" || continue
git checkout master)
done
cd ..
while read -r f; do
sed -i -e 's/cmdb/jig/g' -e 's/CMDB/Jig/g' -e 's/Cmdb/Jig/g' "$f"
( cd "${f%/*}"
git add "${f##*/}")
done < <(grep --binary-files=without-match -irl cmdb * |grep -v '\.git')
while read f; do
( cd "${f%/*}"
file="${f##*/}"
git mv "$file" "${file//cmdb/jig}")
done < <(find -type f -name '*cmdb*' |grep -v '/\.git/')
git commit -m "Epic rename of cmdb to jig"
cd barclamps
for bc in *; do
( cd "$bc" || continue
git commit -m "Epic rename of cmdb to jig");
done
cd ..

crowbar_framework/app/models/chef_service.rb | 4 +-
crowbar_framework/app/models/cmdb_chef.rb | 108 --------------------
.../app/models/cmdb_chef_conn_info.rb | 21 ----
crowbar_framework/app/models/jig_chef.rb | 108 ++++++++++++++++++++
crowbar_framework/app/models/jig_chef_conn_info.rb | 21 ++++
.../20130103013025_create_chef_conn_info.rb | 4 +-
.../20130103013026_create_chef_admin_instance.rb | 4 +-
7 files changed, 135 insertions(+), 135 deletions(-)

Crowbar-Pull-ID: ca715c91ecfe7b42a192c575f9a6289aeb4c9007

Crowbar-Release: development