Skip to content

Instantly share code, notes, and snippets.

@aslakknutsen
Created March 24, 2011 11:48
Show Gist options
  • Save aslakknutsen/884933 to your computer and use it in GitHub Desktop.
Save aslakknutsen/884933 to your computer and use it in GitHub Desktop.
Arquillian Repo Split
Repositories:
arquillian-container-jbossas
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?jboss.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-weld
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?weld.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-reloaded
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?reloaded.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-glassfish
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?glassfish.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-tomcat
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?tomcat.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-jetty
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?jetty.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-resin
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?resin.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-openwebbeans
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?openwebbean.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-openejb
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?openejb.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-websphere
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?websphere.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-container-osgi
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?osgi.*\|protocols/jmx.*\|testenrichers/osgi.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-extension-drone
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(extensions/\(selenium\|drone\).*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
arquillian-extension-performance
git filter-branch --subdirectory-filter extensions/performance/ -- --all
arquillian-core
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep "^\(extension.*\)\|^\(container.*\)\|^\(framework.*\)"| xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all
Helpers:
git log --name-only --follow --all -- containers/jbossas-remote-6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment