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
0
votes
1 answer

ssh into gerrit sql can't not use up arrow key to get previous commands

Gerrit server is installed on a remote host running Ubuntu. My host machine is running windows 10. I can access gsql via: ssh :29418 gerrit gsql I tried two different terminal: Ubuntu Bash & Mingw64, and they both showed the same…
ObigOne
  • 13
  • 6
0
votes
1 answer

how to create change using gerrit in browser

I am using gerrit rest api create change in browser 'POST /changes/' change info 'PUT /changes/{change-id}/edit/path%2fto%2ffile' 'PUT /changes/{change-id}/edit:message' 'POST /changes/{change-id}/edit:publish'Conflict 409 on step 4,gerrit…
Sober
  • 3
  • 3
0
votes
1 answer

When the field "Topic" are null/empty the Gerrit Trigger event are not called

I'm struggling with an issue with a CI that I configured in Jenkins where it should be triggered to each Patchset Created in a specific branch, however it shouldn't be trigger in case the field Topic at Gerrit is configured as "foo". So I'm using…
0
votes
1 answer

merge two local commits into single and push to master in git

I have two commits : commit1 and commit2 locally. commit1 got merged. commit2 is on top of commit1. now, when I am trying to push commit2, it is trying to push two commits together and it gets rejected from remote saying, that commit1 has already…
Sourav
  • 129
  • 12
0
votes
1 answer

Gerrit to gerrit replication cannot view refs/changes

This issue has been troubling me for a while. I have set up gerrit replication recently. After sync started, everything else works fine, branches are synced, tags are synced. However even I explicitly set to replicate refs/changes, and I see it is…
Rong Shen
  • 63
  • 6
0
votes
1 answer

Gerrit push tags in packed-refs

We have 2 gerrit sites. When trying to pull one of the repositories from gerrit site A to my local laptop, and push my local repository to gerrit site B, I meet a problem. For gerrit site A I have successfully cloned the repository, and for gerrit…
Jeremy Lu
  • 3
  • 3
0
votes
1 answer

How to submit my changes in abc file which is old version while git has same abc file with new changes by other developer?

To be more clear, I was working on file abc which was in my remote repository for a long time and some other developer worked on same file made new changes and merged. I checkout to my old commit after a long time which has old version of abc file…
Anonymous
  • 3
  • 4
0
votes
2 answers

Gerrit & Jenkins pipeline newest changes

I have a Jenkins and a Gerrit running to validate my code. Jenkins has the gerrit trigger plugin. Gerrit should trigger a declarative pipeline which gets the newest changes and build it. this works: git fetch http://localhost:8081/PipelinePart1…
HamstersBlue
  • 115
  • 1
  • 1
  • 9
0
votes
1 answer

Show label value description text in change screen

I would like to show the label value description text right after the value in the labels and votes area in the change screen E.g. for the label "Verified" the value description text for -1 is "Fails". In the label and votes area it would then…
Peder
  • 157
  • 1
  • 1
  • 9
0
votes
0 answers

Git clone taking forever to execute

I am using Gerrit-GIT setup and trying to clone the git repository using http protocol. It works for 5-10mins after restarting my unix server. but hangs again. But its taking forever to operate and I did not get any error on the UI. Please suggest…
Saurabhdv27
  • 39
  • 1
  • 8
0
votes
1 answer

A release number in Gerrit that reflects the total order on the master branch?

This is a follow-up question to this discussion (link), which states the following assertion: A Gerrit Change Number is typically generated monotonically increasing as new changes are submitted for review to a Gerrit server. Note, however, that…
leeyuiwah
  • 6,562
  • 8
  • 41
  • 71
0
votes
1 answer

Can't clone from gerrit

We're moving our gerrit installation and have run into a weird issue. The web interface works fine. SSH access test works fine, Hi , you have successfully connected over ssh But when I try to clone, with GIT_TRACE=2 it just stops at…
dutt
  • 7,909
  • 11
  • 52
  • 85
0
votes
1 answer

What is the official name of the number in a Gerrit review url

I have been using Git/Gerrit for about 9 months and I still don't know the answer to this question. (c.f. Gerrit Documentation ) In Gerrit, when a change is pushed for review, there will be an URL about the change with an embedded number. For…
leeyuiwah
  • 6,562
  • 8
  • 41
  • 71
0
votes
1 answer

Set access in for GIT projects from Gerrit Code Review only to specific group

I have been controlling the access for all projects with LDAP groups, and access was inherited from ALL-Projects option. But now i have a requirement where i need to create one projects and the LDAP group to which am giving the access should be able…
Saurabhdv27
  • 39
  • 1
  • 8
0
votes
1 answer

Is gerrit able to handle interdependent commit between different repos?

I have a project which includes two repos, let's say their status are version1@repo1, version1@repo2 Now I have to commit two changes to those two repos to make history become version2@repo1 and version2@repo2. Only version2@repo1 + version2@repo2…
1 2 3
99
100