Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Is there an Oomph task to perform git pull ?
Is there an Oomph task to perform git pull ? [message #1841641] Mon, 24 May 2021 11:38 Go to next message
Elie Richa is currently offline Elie RichaFriend
Messages: 51
Registered: February 2016
Member
Hello,

I'm looking to perform an automatic "git pull" operation at startup/manual executions of Oomph. The pull is on a repository that is only ever updated remotely. So there can never be any local changes that would cause conflicts in the "git pull" operation.

The Git Clone Oomph task only does cloning as the name indicates. The task is no longer triggered after the initial checkout.

Is there a way to configure the task to perform a "git pull" if the clone already exists?

Any other ideas to do achieve the objective?

Thanks!


Elie Richa, Ph.D
Software Engineer, AdaCore
https://www.adacore.com
Re: Is there an Oomph task to perform git pull ? [message #1841657 is a reply to message #1841641] Tue, 25 May 2021 05:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32111
Registered: July 2009
Senior Member
There is currently no way to do that, but I suppose the clone task could be extended with a boolean attribute to to specify doing a pull when the clone already exists; in that case the task would effectively always be enabled to perform...

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Custom product setup with 2021-03 looses setup reference
Next Topic:VariableTask / EclipseIniTask gets omitted
Goto Forum:
  


Current Time: Tue Dec 07 19:45:08 GMT 2021

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

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

Back to the top