I think the case that really annoys people here -- is when Gerrit
won't cherry-pick a change due to a path conflict, but git will
cherry-pick it onto HEAD just fine. It's easy enough to do just that
and git commit --amend, git push, but seems unneccessary and generates
extra spam for project followers. This is especially frequent on a C#
project we have under Gerrit, where the .csproj manifest is always
being touched to incorporate new files.
What I haven't been able to figure out is where/if Gerrit is detecting
and anticipating the path conflict before actually attempting the
cherry-pick operation, or if there is just a subtle difference between
JGit and C git in how cherry-picks are done.
This feature of Gerrit is one that annoys many of our users
(especially since they are coming from a system where once a patch has
been approved it can be updated and the approval carries on). They are
complaining about the additional time, about the additional steps
breaking their focus and workflow on other things, about the
additional mail spam which reduces the usefulness of the reviewers
mailing lists (where all change updates are being sent to). Because of
all that we even told them that if they just have a rebase update for
a patch that was already approved it is fine to approve it themselves
(since Gerrit allows that right now, which is a misfeature IMO and
there is a bug opened so when this will be fixed the workaround will
break).
--
Mihai Rusu
As far as re-approval, re-applying all the reviews from the previous patchset is effectively a re-approval. What else did you need?
Nasser
> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
Now I'm very close to make it work. The approval flag is added by the script and I also changed a little bit to enable the "verified" flag. Now both flags are added back by the script. And the remaining thing is how to get the re-verified and re-approved change submitted into the mainline tree.I'm wondering how to use gerrit approve command to submit a change. I understand now any user with "submit" rights can now do it from web site to submit the re-verified and re-approved change. But does the script can do the same thing also, or the user have to click the button explicitly?-TimOn Tue, Oct 5, 2010 at 5:40 AM, Nasser Grainawi <nas...@codeaurora.org> wrote:
Re-adding the list so these responses are archived.Using any account other than Gerrit Code Review requires setting up an account in Gerrit for it. Your ssh command is failing because you aren't specifying the identity file to use. It should be ssh_host_dsa_key (or similar) from the gerrit/etc/ site directory.NasserOn Oct 4, 2010, at 4:40 PM, Tim Yao wrote:Still not OK.When I ran this command:ssh -l 'Gerrit Code Review' -p 29418 localhost gerrit qsqlThe error messages said "Permission denied (publickey)".I'm wondering what is the magic of the 'Gerrit Code Review' account? Is this an internal user with private key associated with ssh_host_dsa_key?How about use the account that the gerrit daemon is running as? I mean the [container.user] in gerrit config? I can create a normal gerrit account with this username then upload it's key in same way as normal users. Then I have to manually setup the access rule to allow this user to change review status, correct? Is the purpose of 'Gerrit Code Review' account is to avoid such trouble?-TimOn Fri, Oct 1, 2010 at 3:57 PM, Nasser Grainawi <nas...@codeaurora.org> wrote:
You can change any reference to the localhost user to instead use the 'Gerrit Code Review' account (like it does when running the suexec command).On 10/01/2010 04:05 PM, Tim Yao wrote:
I googled a little bit in order to find the right way to use the trivial
rebase script. And I found this link:
http://blob.inf.ed.ac.uk/sxw/2010/05/16/spotting-trivial-rebases-in-gerrit/
And it seems I got the same problem. The error log says "Host key
verification failed". I have not create the localhost user in gerrit so
I think that's the reason.
Actually I found your comment in that link. I'm wondering if there is
any update from you. Do I need create localhost user to make the script
work? Is it possible to specify a valid SSH user as opposed to fix that
as localhost in the script? Is this a common issue or I did something wrong?
Nasser
--Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum