+1
There is a new option in Gerrit that is like "Cherry Pick" but a bit better 
called "Rebase if necessary".  It basically allows to avoid merges but also 
keep track of patchset dependencies, unlike the "Cherry pick" option which 
ignores any patchset dependencies and can sometimes cause problems.

________________________________
From: cross-project-issues-dev-boun...@eclipse.org 
[cross-project-issues-dev-boun...@eclipse.org] on behalf of LETAVERNIER Camille 
[camille.letavern...@cea.fr]
Sent: May 27, 2015 11:47 AM
To: Cross project issues
Subject: Re: [cross-project-issues-dev] Reminder that Sim. Rel. build input Git 
repo is now "under Gerrit"

Hi all,

The policy on simrel is to only accept “Fast forward” commits. However, Gerrit 
is configured to “merge” contributions, thus rejecting changes if another 
commit has been pushed during the validation build [1].

Would it make sense to configure Gerrit to “Cherry pick if necessary” instead 
of “Merge”?

[1] Example: https://git.eclipse.org/r/#/c/48794/

Regards,
Camille

De : cross-project-issues-dev-boun...@eclipse.org 
[mailto:cross-project-issues-dev-boun...@eclipse.org] De la part de David M 
Williams
Envoyé : mardi 26 mai 2015 17:15
À : cross-project-issues-dev@eclipse.org
Objet : [cross-project-issues-dev] Reminder that Sim. Rel. build input Git repo 
is now "under Gerrit"

I have had a few questions on this lately about "why can't I push to 
.../gitroot/org.eclipse.simrel.build" ... and the answer is that now we've 
moved to use Gerrit to "push changes".

Basics are described in
https://wiki.eclipse.org/Simrel/Contributing_to_Simrel_Aggregation_Build#Pushing_your_changes

and if you are new to Gerrit, you might find some of the comments in this 
cross-project thread helpful.
https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg11859.html
(I'd like to turn that into a FAQ someday ... lots of good info in that 
complete thread, including alternative approaches, etc.).

And, before "new to Gerrit" people panic, this does not mean you *have* to use 
Gerrit Review to get your changes in, but, you do need to change your "push 
URL".
master-->master still goes "straight to Git repo".
master-->refs/for/master goes to Gerrit for "test build" and Review and must be 
explicitly "submitted" to get merged to the master branch.

Thanks,


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to