Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Git clone of a specific release(How to find the aggregated git URI for a specific release?)
Git clone of a specific release [message #1842692] Tue, 29 June 2021 06:37 Go to next message
Ingo Kappler is currently offline Ingo KapplerFriend
Messages: 4
Registered: June 2021
Junior Member
Hello,
following the instructions of Platform_Build, I was able to build the current release. There the listed command for the local git clone is:

git clone -b master --recursive \
git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git

How can I find out, what the command must be to get e.g. the release of Eclipse 2021-03 or 06 but not just the latest?
Re: Git clone of a specific release [message #1842694 is a reply to message #1842692] Tue, 29 June 2021 07:53 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31957
Registered: July 2009
Senior Member
I believe all the platform repositories the tag R4_20 for the 4.20 release corresponding to the 2021-06 SimRel release. R4_19 would be the 2021-03 release. So you'd need to check out that tag on each clone.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Git clone of a specific release [message #1842702 is a reply to message #1842694] Tue, 29 June 2021 11:15 Go to previous messageGo to next message
Ingo Kappler is currently offline Ingo KapplerFriend
Messages: 4
Registered: June 2021
Junior Member
Thanks for the answer! I guess this is what I was looking for and what you described in your answer:

/d/z (master)
$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/R3_8_maintenance
  remotes/origin/R4_10_maintenance
  remotes/origin/R4_11_maintenance
  remotes/origin/R4_12_maintenance
  remotes/origin/R4_13_maintenance
  remotes/origin/R4_14_maintenance
  remotes/origin/R4_15_maintenance
  remotes/origin/R4_16_maintenance
  remotes/origin/R4_17_maintenance
  remotes/origin/R4_18_maintenance
  remotes/origin/R4_19_maintenance
  remotes/origin/R4_20_maintenance
  remotes/origin/R4_2_maintenance
  remotes/origin/R4_3_maintenance
  remotes/origin/R4_3_maintenance_Java8
  remotes/origin/R4_4_maintenance
  remotes/origin/R4_5_maintenance
  remotes/origin/R4_6_maintenance
  remotes/origin/R4_7_maintenance
  remotes/origin/R4_8_maintenance
  remotes/origin/R4_9_maintenance
  remotes/origin/master

/d/z (master)
$ git checkout -b R4_20_maintenance
Switched to a new branch 'R4_20_maintenance'

/d/z (R4_20_maintenance)
$ git branch -a
* R4_20_maintenance
  master
  remotes/origin/HEAD -> origin/master
  remotes/origin/R3_8_maintenance
  remotes/origin/R4_10_maintenance
  remotes/origin/R4_11_maintenance
  remotes/origin/R4_12_maintenance
  remotes/origin/R4_13_maintenance
  remotes/origin/R4_14_maintenance
  remotes/origin/R4_15_maintenance
  remotes/origin/R4_16_maintenance
  remotes/origin/R4_17_maintenance
  remotes/origin/R4_18_maintenance
  remotes/origin/R4_19_maintenance
  remotes/origin/R4_20_maintenance
  remotes/origin/R4_2_maintenance
  remotes/origin/R4_3_maintenance
  remotes/origin/R4_3_maintenance_Java8
  remotes/origin/R4_4_maintenance
  remotes/origin/R4_5_maintenance
  remotes/origin/R4_6_maintenance
  remotes/origin/R4_7_maintenance
  remotes/origin/R4_8_maintenance
  remotes/origin/R4_9_maintenance
  remotes/origin/master

Now I am running on R4_20_maintenance:
mvn clean verify
Re: Git clone of a specific release [message #1842733 is a reply to message #1842702] Wed, 30 June 2021 06:59 Go to previous message
Ingo Kappler is currently offline Ingo KapplerFriend
Messages: 4
Registered: June 2021
Junior Member
If rebuiding as described above there will still the master branch be built, since using "git checkout -b R4_20_maintenance" isn't the correct command. Instead this branch must be cloned similar to the master branch e.g. with this command:
git clone -b R4_20_maintenance --recursive \
git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git \
y
Previous Topic:Want to run sample Hello world test on selenium grid 4
Next Topic:BIRT report designer not getting installed
Goto Forum:
  


Current Time: Sun Jul 25 04:15:23 GMT 2021

Powered by FUDForum. Page generated in 0.02963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top