Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Riena/Git"

(Workspace setup (for committers))
Line 40: Line 40:
 
* you should have no compile errors (other than a missing API baseline)
 
* 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)'''
+
* '''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)===
 
===Workspace setup (for non committers)===
 
* You can do the same steps as above only with a different git url
 
* You can do the same steps as above only with a different git url
 
* clone with git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git
 
* clone with git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git

Revision as of 04:33, 2 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>@git.eclipse.org/gitroot/riena/<repo>
i.e.
git clone ssh://ccampo@git.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