Skip to content

Instantly share code, notes, and snippets.

@berezovskyi
Last active December 3, 2020 22:27
Show Gist options
  • Save berezovskyi/a95ca0eb0d269c17a9f80229c24844f5 to your computer and use it in GitHub Desktop.
Save berezovskyi/a95ca0eb0d269c17a9f80229c24844f5 to your computer and use it in GitHub Desktop.
git clone git@github.com:eclipse/lyo.git
# we can also do https://www.hanselman.com/blog/easily-rename-your-git-default-branch-from-master-to-main here or at the end
git clone git@github.com:eclipse/lyo.domains.git
git tag v4.0.0.M2-domains 897c4bde35bddad08f7740eafb504771d7c4ac03
git remote add domains ../lyo.domains
git fetch domains --tags
git merge --allow-unrelated-histories domains/master
# resolve merge conflicts, mostly around README and .gitignore and commit
# move the folders around
# remove Travis CI and other unneeded stuff
git push origin --all
git clone git@github.com:eclipse/lyo.trs-server.git
git tag v4.0.0.M2-trs-server 7a1cbb89f6344928b302a82bc08a0c1fbcbdb50c
git tag v2.4.0-trs-server b1f81a9700e0bb586c97c367a61ac7f19ee6d505
git tag v2.4.0.M1-trs-server fe5111bf3d079187d9408963b89f10ddda0fed2a
git remote add trs-server ../lyo.trs-server
git fetch trs-server --tags
git merge --allow-unrelated-histories trs-server/master
# resolve merge conflicts, mostly around README and .gitignore and commit
# move the folders around
# remove Travis CI and other unneeded stuff
git push origin --all
git clone git@github.com:eclipse/lyo.trs-client.git
git tag v4.0.0.M2-trs-client 49af9a6f3dfd690ae981ecb6a0c6eb38f35c9f3e
git tag v2.4.0-trs-client 39b6ff3119bfdc9a7b6ac002d38fe71a5c5292e8
git tag v2.4.0.M1-trs-client cec1c1d8dd6a0cf575554c210362c86f41c9e557
git remote add trs-client ../lyo.trs-client
git fetch trs-client --tags
git merge --allow-unrelated-histories trs-client/master
# resolve merge conflicts, mostly around README and .gitignore and commit
# move the folders around
# remove Travis CI and other unneeded stuff
git push origin --all
git clone git@github.com:eclipse/lyo.validation.git
cd lyo.validation
git tag v4.0.0.M2-validation d6edb84e42101674b8c5867344ad1fc8fbe3b921
git push --tags
cd ..
git remote add validation ../lyo.validation
git fetch validation --tags
git merge --allow-unrelated-histories validation/master
# resolve merge conflicts, mostly around README and .gitignore and commit
# move the folders around
# remove Travis CI and other unneeded stuff
git push origin --tags
git clone git@github.com:eclipse/lyo.store.git # 1 PR
cd lyo.store
git tag -l | while read t; do n="$t-store"; git tag $n $t ; git tag -d $t; done
cd ../
git remote add store ../lyo.store
git fetch store --tags
git merge --allow-unrelated-histories store/master
git push origin && git push --tags
git clone git@github.com:eclipse/lyo.client.git # 4 PR
cd lyo.client
git tag 2.0.0 2.0^{} && git tag -d 2.0 && git push --delete origin refs/tags/2.0
git tag 1.0.1-perl perl-client-v1.0.1^{} && git tag -d perl-client-v1.0.1 && git push --delete origin refs/tags/perl-client-v1.0.1
git tag -l | while read t; do n="v$t-client"; git tag $n $t ; git tag -d $t; git push --delete origin refs/tags/$t; done
cd ../
git remote add client ../lyo.client
git fetch client --tags
git merge --allow-unrelated-histories client/master
git push origin && git push --tags
git clone git@github.com:eclipse/lyo.core.git # 3 PR
cd lyo.core
git tag 2.0.0 2.0^{} && git tag -d 2.0 && git push --delete origin refs/tags/2.0
git tag 1.1.0 oslc4j-1.1.0^{} && git tag -d oslc4j-1.1.0 && git push --delete origin refs/tags/oslc4j-1.1.0
git tag 1.0.1 oslc4j-1.0.1-tfs^{} && git tag -d oslc4j-1.0.1-tfs && git push --delete origin refs/tags/oslc4j-1.0.1-tfs
git tag 1.0.0 oslc4j-1.0^{} && git tag -d oslc4j-1.0 && git push --delete origin refs/tags/oslc4j-1.0
# TODO oslc4j-#.#.# to #.#.#
git tag -l | while read t; do n="v$t-core"; git tag $n $t ; git tag -d $t; done
cd ../
git remote add core ../lyo.core
git fetch core --tags
git merge --allow-unrelated-histories core/master
git push origin --all
git clone git@github.com:eclipse/lyo.server.git # 3 PR
cd lyo.server
git tag 2.0.0 2.0^{} && git tag -d 2.0 && git push --delete origin refs/tags/2.0
git tag 1.1.0 lyo-server-1.1.0 ^{} && git tag -d lyo-server-1.1.0 && git push --delete origin refs/tags/lyo-server-1.1.0
git push --tags
git tag -l | while read t; do n="v$t-server"; git tag $n $t ; git tag -d $t; git push --delete origin refs/tags/$t; done
git push --tags
cd ../
git remote add server ../lyo.server
git fetch server --tags
git merge --allow-unrelated-histories server/master
git push origin --all && git push --tags
git clone git@github.com:eclipse/lyo.ldp.git
git tag v4.0.0.M2-ldp f0f2c0d0e86a4ae6a7ddb77394b30472c576da93
git clone git@github.com:eclipse/lyo.rio.git
# not including oslc-ui
# not including testsuite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment