-
Clone the base repository into
oro-platform
directory:git clone [email protected]:lolautruche/platform.git oro-platform git remote add upstream [email protected]:orocrm/platform.git git config branch.master.remote upstream
-
Run the 2 shell scripts,
split_oro_config_component.sh
andsplit_oro_distribution_bundle.sh
-
The base clone must be updated on a regular basis via CRON:
git fetch upstream git rebase upstream/master
And of course, the shell scripts must be run after rebase.
Last active
August 29, 2015 14:04
-
-
Save lolautruche/b8802b5ad1ef3a966d62 to your computer and use it in GitHub Desktop.
Oro DistributionBundle split
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# oro-platform is a regular clone of [email protected]:lolautruche/platform.git | |
cp -rp oro-platform oro-config | |
cd oro-config | |
git filter-branch -f --tag-name-filter cat --prune-empty --subdirectory-filter src/Oro/Component/Config -- --all | |
git push --force --tags [email protected]:lolautruche/OroConfigComponent.git master | |
cd .. | |
rm -rf oro-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# oro-platform is a regular clone of [email protected]:lolautruche/platform.git | |
cp -rp oro-platform oro-distribution-bundle | |
cd oro-distribution-bundle | |
git filter-branch -f --tag-name-filter cat --prune-empty --subdirectory-filter src/Oro/Bundle/DistributionBundle -- --all | |
git push --force --tags [email protected]:lolautruche/OroDistributionBundle.git master | |
cd .. | |
rm -rf oro-distribution-bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment