Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save johnjcamilleri/a6c43ff61f15a9657b457ac94ab7db61 to your computer and use it in GitHub Desktop.
Save johnjcamilleri/a6c43ff61f15a9657b457ac94ab7db61 to your computer and use it in GitHub Desktop.
GF repository split
john@Maqrut:~/repositories/GF$ time split/run.sh -y
GF repository split script
Usage: run.sh [-d PATH] [-y]
# pristine
Pulling...
Cleaning...
# gf-core
Copying...
Filtering (this will take some time)...
Rewrite 848dbaa56ef4569a31e9aae89e04158fe7260120 (10861/10867) (1209 seconds passed, remaining 0 predicted)
Ref 'refs/heads/master' was rewritten
Backing up filtered repository...
Cloning...
Cloning into 'gf-core_cloned'...
remote: Counting objects: 114171, done.
remote: Compressing objects: 100% (46535/46535), done.
remote: Total 114171 (delta 74903), reused 98021 (delta 65820)
Receiving objects: 100% (114171/114171), 974.54 MiB | 47.39 MiB/s, done.
Resolving deltas: 100% (74903/74903), done.
Shrinking...
Counting objects: 114171, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (112179/112179), done.
Writing objects: 100% (114171/114171), done.
Total 114171 (delta 84860), reused 22721 (delta 0)
Post-split updates...
Set origin to git@github.com:GrammaticalFramework/gf-core.git
Pushing...
Counting objects: 62589, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (16965/16965), done.
Writing objects: 100% (62589/62589), 60.91 MiB | 1.47 MiB/s, done.
Total 62589 (delta 44610), reused 61207 (delta 43778)
remote: Resolving deltas: 100% (44610/44610), done.
To github.com:GrammaticalFramework/gf-core.git
+ b28dcbcef...e1dd7bfdf master -> master (forced update)
Branch 'master' set up to track remote branch 'master' from 'origin'.
# gf-rgl
Copying...
Filtering (this will take some time)...
Rewrite 3f58cf0dd736c71685ac525a9770e51a088ba6c6 (8084/8085) (1173 seconds passed, remaining 0 predicted)
Ref 'refs/heads/master' was rewritten
Ref 'refs/remotes/origin/master' was rewritten
Ref 'refs/remotes/origin/c-runtime' was rewritten
WARNING: Ref 'refs/remotes/origin/master' is unchanged
Ref 'refs/remotes/origin/new-master' was rewritten
Ref 'refs/remotes/origin/old-master' was rewritten
Ref 'refs/tags/RELEASE-3.8' was rewritten
Ref 'refs/tags/RELEASE-3.9' was rewritten
Backing up filtered repository...
Cloning...
Cloning into 'gf-rgl_cloned'...
remote: Counting objects: 39347, done.
remote: Compressing objects: 100% (14060/14060), done.
remote: Total 39347 (delta 25262), reused 34837 (delta 25126)
Receiving objects: 100% (39347/39347), 861.88 MiB | 43.19 MiB/s, done.
Resolving deltas: 100% (25262/25262), done.
Shrinking...
Counting objects: 39347, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (39186/39186), done.
Writing objects: 100% (39347/39347), done.
Total 39347 (delta 30529), reused 6780 (delta 0)
Post-split updates...
Set origin to git@github.com:GrammaticalFramework/gf-rgl.git
Pushing...
Counting objects: 39356, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8665/8665), done.
Writing objects: 100% (39356/39356), 72.10 MiB | 809.00 KiB/s, done.
Total 39356 (delta 30530), reused 39347 (delta 30529)
remote: Resolving deltas: 100% (30530/30530), done.
To github.com:GrammaticalFramework/gf-rgl.git
+ 3408f089...ade49351 master -> master (forced update)
Branch 'master' set up to track remote branch 'master' from 'origin'.
Done. Your new repositories are at:
/Users/john/repositories/GF-SPLIT/gf-core
/Users/john/repositories/GF-SPLIT/gf-rgl
You may want to delete these repositories:
/Users/john/repositories/GF-SPLIT/pristine
/Users/john/repositories/GF-SPLIT/gf-core_copy
/Users/john/repositories/GF-SPLIT/gf-rgl_copy
real 59m2.766s
user 25m22.542s
sys 30m25.597s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment