Skip to main content
Jump to: navigation, search

Difference between revisions of "Riena/Git"

(Workspace setup (for committers))
(Checkout)
Line 14: Line 14:
 
As pointed out at [[GIT | GIT Wiki page]] committers checkout the code with the url
 
As pointed out at [[GIT | GIT Wiki page]] committers checkout the code with the url
  
'''git clone ssh://<committerid>@git.eclipse.org/gitroot/riena/<repo>'''<br/>
+
'''git clone ssh://<committerid>@dev.eclipse.org/gitroot/riena/<repo>'''<br/>
 
i.e.<br/>
 
i.e.<br/>
'''git clone ssh://ccampo@git.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
+
'''git clone ssh://ccampo@dev.eclipse.org/gitroot/riena/org.eclipse.riena.git'''<br/>
  
 
Authentication should be password (not ssh key) and you supply the regular committer password
 
Authentication should be password (not ssh key) and you supply the regular committer password
Line 26: Line 26:
  
 
A list with the Git Repos and links is available [http://git.eclipse.org/c/?ofs=150 here]
 
A list with the Git Repos and links is available [http://git.eclipse.org/c/?ofs=150 here]
 
 
  
 
===Workspace setup (for committers)===
 
===Workspace setup (for committers)===

Revision as of 08:23, 4 January 2012

{{#eclipseproject:rt.riena}} Riena on Git

Location

Riena is stored in Git in 4 Git Repos


Checkout

As pointed out at GIT Wiki page committers checkout the code with the url

git clone ssh://<committerid>@dev.eclipse.org/gitroot/riena/<repo>
i.e.
git clone ssh://ccampo@dev.eclipse.org/gitroot/riena/org.eclipse.riena.git

Authentication should be password (not ssh key) and you supply the regular committer password

Non-committers can checkout the code with the URL
git clone git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git
or
git clone http://git.eclipse.org/gitroot/riena/org.eclipse.riena.git

A list with the Git Repos and links is available here

Workspace setup (for committers)

  • Start Eclipse IDE with blank workspace
  • Set your target platform with equinox sdk and rcp sdk as before
  • File -> Import -> Projects from Git
  • First Clone git clone ssh://<committerid>@git.eclipse.org/gitroot/riena/org.eclipse.riena.git
  • supply your committer password
  • clone to a local location where you store your gitrepos i.e. c:/git-repos/org.eclipse.riena
  • after the clone you can directly import the projects from that location into your workspace
  • open in org.eclipse.riena.releng the projectSet.psf file and import all projects into your workspace
  • you should have no compile errors (other than a missing API baseline)
  • Make sure that you push configuration is set that it only pushes "master" per default. (the default is to push all branches):
    • package explorer >> context menu >> Team >> Remote >> Configure Push to Upstream ... ==> dialog
    • Ref mapping >> Advanced >> Edit (Advanced) ... (enter your credentials) ==> dialog
    • Add create/update specification >> Source Ref (enter refs/heads/master) >> Destination Ref (enter refs/heads/master) >> + Add spec

Workspace setup (for non committers)

Back to the top