Questions tagged [gerrit]

Gerrit is a web based code review and project management for Git based projects.

Gerrit is a web based code review system, facilitating online code reviews for projects using the Git version control system.

Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.

Gerrit is not only a review interface but it's able to manage git repository into is core. To keep an external git repository, it is recommended to use replication plugin. Replication plugin documentation.

Gerrit2 is a complete rewrite of the Gerrit fork, completely changing the implementation from Python on Google App Engine, to Java on a J2EE servlet container and a SQL database.

2033 questions
16
votes
5 answers

Exclude author from gerrit review

I want to disallow the author of a change to review his/her own changes in gerrit. I'm aware of this suggested hack, but that doesn't really solve the issue. Now I learned from the gerrit issues that gerrit's hardcoded rules can be modified by…
Bananeweizen
  • 21,797
  • 8
  • 68
  • 88
15
votes
4 answers

How to login Gerrit as Administrator

I installed my gerrit on Ubuntu server. As gerrit said:The first people who logined gerrit is Administrator. So I logined first with openID (google account),and I am the Administrator indeed. But,when next day I relogin gerrit with my google…
gemfield
  • 3,228
  • 7
  • 27
  • 28
15
votes
1 answer

What is the Gerrit Follow-up button doing?

What is the "Follow-up" button in the Gerrit Review is doing? And when should it be used? I am using Gerrit 2.13.8.
fbenoit
  • 3,220
  • 6
  • 21
  • 32
15
votes
1 answer

Gerrit as a review tool, not as the repository of record

I've spun up an instance of gerrit from the quick start guide. My company uses BitBucket with pull requests and occasionally crucible for code reviews. We use Jenkins with an extensive build/deploy pipeline tied to BitBucket. We'd like to…
Jon O
  • 6,532
  • 1
  • 46
  • 57
15
votes
3 answers

How to change a patchset and push it as a new one?

Is it possible to fetch an existing patchset (that has not been merged into my local machine), change and push it as a new Patch Set?
Alexandre Santos
  • 8,170
  • 10
  • 42
  • 64
15
votes
2 answers

Push on gerrit with windows

I am struggling to push some of my data to a gerrit with TortoiseGit. I created a new repo and committed it to the master. I added one remote, with my private key and I also uploaded the public key. Pulling from the gerrit is no problem, but when I…
Niklas
  • 23,674
  • 33
  • 131
  • 170
15
votes
3 answers

How to create a new Patchset in Gerrit?

I am new to Gerrit and want to create a new Patch when new changes are submitted. I setup Gerrit with this guide https://review.typo3.org/Documentation/install-quick.html Then I try to create a new patch with…
Gangaraju
  • 4,406
  • 9
  • 45
  • 77
14
votes
2 answers

Push to gerrit using SourceTree

I can't figure out how to make SourceTree push to Gerrit. I saw this link but I still don't understand how it can be done: https://answers.atlassian.com/questions/29361/configuring-sourcetree-push-for-gerrit Apparently according to the release notes…
JoseM
  • 4,302
  • 2
  • 24
  • 35
14
votes
1 answer

Git mirror with gerrit

how do I mirror a git repository to Gerrit? I will do this: [git repository for libdrm] -> my gerrit <-> developers Gerrit download changes from freedesktop git repository. Developers clone repository from gerrit and push into gerrit. Developers…
esio
  • 1,592
  • 3
  • 17
  • 30
14
votes
2 answers

Gerrit push to refs/for/master prohibited

I have updated the All Project access permission yesterday, people says that they cannot push changes to repository this morning. After I recovered the access permission, they still cannot push changes to repository, only clone works fine. While…
coanor
  • 3,746
  • 4
  • 50
  • 67
14
votes
3 answers

Git workflow and Gerrit

I am trying to implement a 'git-flow' kind of workflow using Gerrit but I can't seem to figure out the last piece of the puzzle. There are two preconditions to my problem: Gerrit will only perform merging to one branch I do not allow merge commits…
Ivo
  • 519
  • 2
  • 9
  • 21
14
votes
3 answers

Why does Gerrit show a different number of changes than git does?

This is the result of my latest commit / change in Git... ...and in Gerrit: Is there any explanation for difference in number of lines added and deleted? Different algorithm?
trejder
  • 17,148
  • 27
  • 124
  • 216
14
votes
1 answer

Can Gerrit work in front of Gitlab or is it meant to replace it

I don't think I'm really understanding how Gerrit can fit into my group's existing workflow. Is Gerrit intended to be the central "hub" of code? I have been imagining it as similar to Atlassian's Crucible, which fits in with Atlassian's Stash or…
Matt Thompson
  • 773
  • 1
  • 10
  • 26
14
votes
4 answers

Jenkins gerrit trigger not fetching my change while building

I have configured jenkins with gerrit trigger plugin to validate every commit we push to gerrit. I am expecting this trigger to include my latest change with original repo and make a build. But, it is cloning only repo project and compiling without…
Sridhar
  • 803
  • 1
  • 12
  • 21
14
votes
1 answer

How does the Gerrit- trigger plugin in Jenkins works?

I am trying to understand how does the gerrit-trigger in Jenkins works in details? Also, how is the test for the triggered cose is being invoked ? Thanks,
moe312
  • 173
  • 1
  • 3
  • 6