Advertisement
Guest User

fake-master

a guest
Feb 9th, 2017
773
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. # These are the necessary commands - below I have run them and include a couple of more
  2. # that showcase the preparation of fake-master.
  3.  
  4. # Necessary
  5. git clone git@github.com:openshift/ose
  6. cd ose
  7. git remote add upstream https://github.com/openshift/origin
  8. git fetch upstream
  9. git checkout fake-master
  10. git reset --hard upstream/master
  11. git fetch origin pull/553/head:carries
  12. git cherry-pick e1fe7eb
  13. git cherry-pick d3d8513
  14. git cherry-pick 58a8405
  15. git push origin fake-master -f
  16.  
  17.  
  18. # Test run of preparing fake-master
  19. [mkargaki@dhcp129-211 ~]$ git clone git@github.com:openshift/ose
  20. Cloning into 'ose'...
  21. remote: Counting objects: 239854, done.
  22. remote: Compressing objects: 100% (278/278), done.
  23. remote: Total 239854 (delta 141), reused 6 (delta 6), pack-reused 239569
  24. Receiving objects: 100% (239854/239854), 275.84 MiB | 9.88 MiB/s, done.
  25. Resolving deltas: 100% (162858/162858), done.
  26. Checking connectivity... done.
  27.  
  28. [mkargaki@dhcp129-211 ~]$ cd ose/
  29.  
  30. [mkargaki@dhcp129-211 ose]$ git remote add upstream https://github.com/openshift/origin
  31.  
  32. [mkargaki@dhcp129-211 ose]$ git remote -v
  33. origin git@github.com:openshift/ose (fetch)
  34. origin git@github.com:openshift/ose (push)
  35. upstream https://github.com/openshift/origin (fetch)
  36. upstream https://github.com/openshift/origin (push)
  37.  
  38. [mkargaki@dhcp129-211 ose]$ git fetch upstream
  39. remote: Counting objects: 817, done.
  40. remote: Compressing objects: 100% (38/38), done.
  41. remote: Total 817 (delta 447), reused 438 (delta 432), pack-reused 347
  42. Receiving objects: 100% (817/817), 400.10 KiB | 0 bytes/s, done.
  43. Resolving deltas: 100% (519/519), completed with 297 local objects.
  44. From https://github.com/openshift/origin
  45. * [new branch] master -> upstream/master
  46. * [new branch] release-1.2 -> upstream/release-1.2
  47. * [new branch] release-1.3 -> upstream/release-1.3
  48. * [new branch] release-1.4 -> upstream/release-1.4
  49. * [new branch] revert-12727-revert-12684-skuznets/refactor-tito -> upstream/revert-12727-revert-12684-skuznets/refactor-tito
  50. * [new tag] v1.3.0 -> v1.3.0
  51. * [new tag] v1.3.0-alpha.2 -> v1.3.0-alpha.2
  52. * [new tag] v1.3.0-alpha.3 -> v1.3.0-alpha.3
  53. * [new tag] v1.3.0-rc1 -> v1.3.0-rc1
  54. * [new tag] v1.3.3 -> v1.3.3
  55. * [new tag] v1.4.0-alpha.0 -> v1.4.0-alpha.0
  56. * [new tag] v1.4.0-alpha.1 -> v1.4.0-alpha.1
  57. * [new tag] v1.4.0-rc1 -> v1.4.0-rc1
  58. * [new tag] v1.5.0-alpha.0 -> v1.5.0-alpha.0
  59. * [new tag] v1.5.0-alpha.1 -> v1.5.0-alpha.1
  60. * [new tag] v1.5.0-alpha.2 -> v1.5.0-alpha.2
  61. * [new tag] v1.2.1 -> v1.2.1
  62. * [new tag] v1.2.2 -> v1.2.2
  63. * [new tag] v1.3.1 -> v1.3.1
  64. * [new tag] v1.3.2 -> v1.3.2
  65. * [new tag] v1.4.0 -> v1.4.0
  66. * [new tag] v1.4.1 -> v1.4.1
  67.  
  68. [mkargaki@dhcp129-211 ose]$ git checkout fake-master
  69. Branch fake-master set up to track remote branch fake-master from origin.
  70. Switched to a new branch 'fake-master'
  71.  
  72. [mkargaki@dhcp129-211 ose]$ git reset --hard upstream/master
  73. HEAD is now at c84f2c9 Merge pull request #12427 from rootfs/rbd-img
  74.  
  75. # Now fetch Steve's PR that contains the carries
  76. [mkargaki@dhcp129-211 ose]$ git fetch origin pull/553/head:carries
  77. remote: Counting objects: 25, done.
  78. remote: Total 25 (delta 15), reused 15 (delta 15), pack-reused 10
  79. Unpacking objects: 100% (25/25), done.
  80. From github.com:openshift/ose
  81. * [new ref] refs/pull/553/head -> carries
  82.  
  83. [mkargaki@dhcp129-211 ose]$ git branch
  84. carries
  85. * fake-master
  86. master
  87.  
  88. [mkargaki@dhcp129-211 ose]$ git checkout carries
  89. Switched to branch 'carries'
  90.  
  91. [mkargaki@dhcp129-211 ose]$ git log --oneline
  92. 22bbc1f [DROP] 'oc cluster up' changes
  93. e878e6e [DROP] build wrapper version changes
  94. a113e82 [DROP] backported image manifests from dist-git
  95. 58a8405 [CARRY][RELEASE TOOLING] osbs image build scripts
  96. d3d8513 [CARRY][RELEASE TOOLING] tito cache and specfile updates
  97. e1fe7eb [CARRY][BRANDING] add an 'ose' image
  98. 435e2b6 [CARRY][BRANDING] platform naming and template updates
  99. c619de9 [CARRY][BRANDING] URL updates
  100. bbe59b3 [CARRY][BRANDING] manpage updates
  101. 8e57c4b bump(github.com/openshift/origin-web-console): fa6f2af00717135ec5c8352daf73a3db2a4f4255
  102. 4f1c538 Merge pull request #12481 from soltysh/rebase-1.5.2
  103. 283a990 Merge pull request #12496 from smarterclayton/lengthen_timeout
  104. d74d19c Increase timeout of deployment test
  105. <- SNIP ->
  106.  
  107. [mkargaki@dhcp129-211 ose]$ git checkout fake-master
  108. Switched to branch 'fake-master'
  109. Your branch and 'origin/fake-master' have diverged,
  110. and have 30 and 1038 different commits each, respectively.
  111. (use "git pull" to merge the remote branch into yours)
  112.  
  113. [mkargaki@dhcp129-211 ose]$ git cherry-pick e1fe7eb
  114. [fake-master 3107eb0] [CARRY][BRANDING] add an 'ose' image
  115. Author: Steve Kuznetsov <skuznets@redhat.com>
  116. Date: Tue Jan 17 13:59:53 2017 -0500
  117. 1 file changed, 1 insertion(+)
  118. create mode 120000 images/ose
  119.  
  120. [mkargaki@dhcp129-211 ose]$ git cherry-pick d3d8513
  121. [fake-master 7feec11] [CARRY][RELEASE TOOLING] tito cache and specfile updates
  122. Author: Steve Kuznetsov <skuznets@redhat.com>
  123. Date: Tue Jan 17 13:58:37 2017 -0500
  124. 4 files changed, 9003 insertions(+), 6 deletions(-)
  125. create mode 100644 .tito/packages/atomic-openshift
  126. delete mode 100644 .tito/packages/origin
  127.  
  128. [mkargaki@dhcp129-211 ose]$ git cherry-pick 58a8405
  129. [fake-master 991be23] [CARRY][RELEASE TOOLING] osbs image build scripts
  130. Author: Steve Kuznetsov <skuznets@redhat.com>
  131. Date: Tue Jan 17 13:59:17 2017 -0500
  132. 2 files changed, 1467 insertions(+)
  133. create mode 100644 hack/ose.conf
  134. create mode 100755 hack/ose_images.sh
  135.  
  136. [mkargaki@dhcp129-211 ose]$ git log --oneline
  137. 991be23 [CARRY][RELEASE TOOLING] osbs image build scripts
  138. 7feec11 [CARRY][RELEASE TOOLING] tito cache and specfile updates
  139. 3107eb0 [CARRY][BRANDING] add an 'ose' image
  140. c84f2c9 Merge pull request #12427 from rootfs/rbd-img
  141. b5dfd56 Merge pull request #12127 from pravisankar/fix-containerized-netdiags
  142. 4151dc8 Merge pull request #12844 from smarterclayton/bootstrap_monitoring
  143. 6d206d2 Merge pull request #12869 from tdawson/2017-02-build-multiarch
  144. <- SNIP ->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement