sulu-cmf/sulu — pull request #196 by dantleech (2014-08-14 07:04:59+00:00)
Title: [POC] Single Repository

This PR merges the following bundles into Core

````
SuluAdminBundle
SuluCategoryBundle
SuluContactBundle
SuluContentBundle
SuluLocationBundle/
SuluMediaBundle
SuluSecurityBundle
SuluTagBundle
SuluTestBundle
SuluWebsiteBundle
````

It was created with the following script:

````bash
#!/bin/bash

SULU_REPO=sulu
export GIT_MERGE_AUTOEDIT=no

cd $SULU_REPO
git fetch origin
git reset --hard origin/develop
git checkout develop
cd -

for BUNDLE in `cat bundles.list`; do
echo "## "$BUNDLE
rm -Rf $BUNDLE
git clone git@github.com:sulu-cmf/$BUNDLE
cd $BUNDLE

PREFIX=src/Sulu/Bundle/$BUNDLE

git filter-branch --index-filter 'git ls-files -s | sed "s,\t,&'"$PREFIX"'/," | GIT_INDEX_FILE=$GIT_INDEX_FILE.new git update-index --index-info && mv $GIT_INDEX_FILE.new $GIT_INDEX_FILE' HEAD

cd -
cd $SULU_REPO
git pull ../$BUNDLE develop
cd -
done
````