crowbar/barclamp-clouderamanager — pull request #61 by VictorLowther (2013-01-17 18:43:58+00:00)
Title: Epic rename of cmdb to jig, for real this time. [3/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/clouderamanager_controller.rb | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Crowbar-Pull-ID: ca715c91ecfe7b42a192c575f9a6289aeb4c9007

Crowbar-Release: development