crowbar/barclamp-nova — pull request #107 by VictorLowther (2013-01-17 18:44:31+00:00)
Title: Epic rename of cmdb to jig, for real this time. [6/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/nova_controller.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Crowbar-Pull-ID: ca715c91ecfe7b42a192c575f9a6289aeb4c9007

Crowbar-Release: development