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.

1894 questions
0
votes
1 answer

gerrit fails to replicate repo to repo imported by gitlab

So I have a git repo created by gerrit and repo on a different machine that was imported by gitlab. ssh has been set up for the gerrit user to the gitlab owner and ssh git@gitlab_vm logs that user in as git user. But the replication fails…
John
  • 1,017
  • 2
  • 12
  • 22
0
votes
1 answer

Can I be notified when "merge conflict" appears on my change?

Let assume that I have several changes in review state in Gerrit. Can I be notified (via email) when "merge conflict" appears on one of my changes? Have a nice day, Adam
adaslaw
  • 149
  • 9
0
votes
0 answers

Gerrit API - Submit Not Permitted

I am trying to use APIs given by Gerrit. I have a commit in Gerrit that is ready to be submitted. Through given APIs, I try to submit that particular change into repository. I can see some APIs (like getting Project Details, commit details) work.…
VigSank
  • 66
  • 8
0
votes
1 answer

why do reverted files show up as changes in the next patchset?

I Made a commit to gerrit .There was a couple of files with no changes apart from white space. Using eclipse I replaced the current version of the file(one with extra unwanted whitespaces ) with the previous version(a version authored by someone…
0
votes
1 answer

Pushed changes in staging area

So I pushed some code to gerrit for review . Shortly after I did something along the lines of git reset --soft HEAD-1 now all the changes I pushed are showing back up in the staging area. Is there any way to undo this ?I ran the reset command by…
0
votes
1 answer

Gerrit system groups not created after install

Gerrit (2.13.6) I've completed the installation according to https://gerrit-review.googlesource.com/Documentation/install-quick.html Created a couple of users, applied keys, etc. I only see two groups listed in the 'List groups' "Administrators"…
Xoanon93
  • 385
  • 1
  • 3
  • 7
0
votes
1 answer

Why is branch gerrit/master so far behind?

Every time I checkout to a review branch using git-review like: j ❯❯❯ git-review -d 5779 Downloading refs/changes/79/5779/1 from gerrit Switched to branch "review/jezor/5779" the status command tells me I'm way ahead the gerrit/master branch: j ❯❯❯…
Jezor
  • 2,330
  • 1
  • 15
  • 38
0
votes
1 answer

Gerrit website doesn't show command

Gerrit always show clone command like this : The gerrit server i build view like this : Is any plugin should be installed ? I already install download-commands plugin. this is my gerrit.config file: [gerrit] basePath = git serverId =…
zippo
  • 884
  • 8
  • 12
0
votes
2 answers

git fetch in repo dir 'Permission denied' but working with direct link with user

I got an issue with accessing the external repository on gerrit through git. When I try to git fetch in cloned repository directory (clone works well) I get: > git fetch Permission denied (publickey). fatal: Could not read from remote…
0
votes
2 answers

Update commit message of already pushed patch set

I have a patch with some Sets in Gerrit, but would like to change the commit message of the recently pushed patch set. But seems even after updating commit message using amend and pushing it to gerrit creates a new Patch Set instead of updating…
Just Shadow
  • 7,001
  • 2
  • 40
  • 51
0
votes
1 answer

Edit Gerrit Email Format : include project description

I supervise Gerrit. I want to edit email format. I want to include project description. I search this site (https://review.openstack.org/Documentation/config-mail.html), but this site did not have the data of project description. Please help me.
이경언
  • 146
  • 10
0
votes
1 answer

Gerrit commit changes on same branch on abondoned commit

i have 5 commits pushed to gerrit for review. say 1, 2, 3, 4, 5. Reviewer abandoned my 2nd commit and accepted 1, 3, 4, 5. now, 3, 4 and 5 are not able to push due to abandoned change. can someone please let me know on how to push 3,4,5 changes into…
Srikanth
  • 15
  • 3
0
votes
2 answers

Error: failed to push some refs to ssh without username

I am having problems pushing my changes from Jenkins server to Gerrit server because of this error: + git checkout origin/release_6.3.0 Previous HEAD position was 6c1313da... Fixes getting secret posts when searching posts by market. HEAD is now at…
0
votes
1 answer

Generic class to hold JSON data of gerrit

The problem is that the gerrit response for getting all groups looks like this, and I find that having the name of the group outside of the {} creates problems for me because when I create a class to hold the group, I am forced to have the class…
UrsulRosu
  • 487
  • 1
  • 5
  • 15
0
votes
1 answer

Gerrit slaves to use local DB

Is there a way for Gerrit instances running as slaves to use a local database rather than using the master Gerrit database, so the the authorization happens quicker. Can someone throw some light if there an already available method to do this with…
Senthil A Kumar
  • 8,034
  • 13
  • 41
  • 53