Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Gitlab checkout Oomph template (InducedChoices)
Gitlab checkout Oomph template (InducedChoices) [message #1857929] Tue, 07 March 2023 08:37 Go to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Moving from gerrit to gitlab with my Eclipse project. Does Oomph provide a git checkout template for gitlab? Basically I am missing a setup for InducedChoices like it exists for gerrit.

Project to checkout is located at
https://gitlab.eclipse.org/eclipse/ease/ease.git

thanks
Christian
Re: Gitlab checkout Oomph template (InducedChoices) [message #1857931 is a reply to message #1857929] Tue, 07 March 2023 09:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
You can use (copy the text and paste onto the Git clone task) this:
<?xml version="1.0" encoding="UTF-8"?>
<base:Annotation
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:base="http://www.eclipse.org/oomph/base/1.0"
    source="http://www.eclipse.org/oomph/setup/InducedChoices">
  <detail key="inherit">
    <value>github.remoteURIs</value>
  </detail>
  <detail key="label">
    <value>Platform UI Github Repository</value>
  </detail>
  <detail key="target">
    <value>remoteURI</value>
  </detail>
</base:Annotation>
Of course you'll want to change the label. Note that when the platform migrated to github, I also changed the ID of the git clone task (and all uses of it) so that the choice of URI saved in the user.setup previously is not reused for the new github choices.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Gitlab checkout Oomph template (InducedChoices) [message #1857935 is a reply to message #1857931] Tue, 07 March 2023 11:38 Go to previous messageGo to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Thanks, but that for github. My project moved to gitLAB. Do you also provide gitlab.remoteURIs?
Re: Gitlab checkout Oomph template (InducedChoices) [message #1857938 is a reply to message #1857935] Tue, 07 March 2023 13:02 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Sorry! No, there is nothing for that yet. You could contribute them to org.eclipse.projects.setup in a section like for Github:

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/setups/org.eclipse.projects.setup#n695

I'm not sure all the variations that are supported; probably very similar to github...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Loading Eclipse plugins right from the Workspace
Next Topic:'Perform Setup Tasks..' P2 task doing more than I'd expect
Goto Forum:
  


Current Time: Tue Apr 23 17:30:52 GMT 2024

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

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

Back to the top