crowbar/barclamp-provisioner — pull request #95 by VictorLowther (2013-01-17 18:43:42+00:00)
Title: Epic rename of cmdb to jig, for real this time. [2/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 ..

.../app/controllers/provisioner_controller.rb | 2 +-
.../app/models/provisioner_service.rb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

Crowbar-Pull-ID: ca715c91ecfe7b42a192c575f9a6289aeb4c9007

Crowbar-Release: development