Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change owner of a Gerrit change

Tags:

git

gerrit

owner

I am creating an auto-integrate script which takes in changes and source and destination branches.

The problem is that once its pushed to Gerrit the owner is me.

I want to change it to the author or committer.

Is it possible to change the owner to someone else?

If not, is it possible to give abandon, Topic etc rights to the committer for a change. The reason I want to change the Gerrit owner is to give the authors/committers access to abandon etc.

like image 639
user5071787 Avatar asked Mar 31 '16 18:03

user5071787


People also ask

How do I change ownership of Gerrit?

Go to: Projects > List > All-Projects or a specific project > Access > Edit and add permissions. More info: gerrit-documentation.storage.googleapis.com/Documentation/…

What is rebase change in Gerrit?

Amending and rebasing a commit preserves the Change-Id so that the new commit automatically becomes a new patch set of the existing change, when it is pushed for review. Push new Patch Set. $ git commit --amend $ git push origin HEAD:refs/for/master.


1 Answers

No, you can't change the owner of an existing Gerrit change. You can grant the abandon, review, submit, etc permissions to any Gerrit specific group or person but not to the committers of the change (in general).

like image 121
Marcelo Ávila de Oliveira Avatar answered Sep 22 '22 13:09

Marcelo Ávila de Oliveira