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
2 answers

Gerrit code review error MissingObjectException on Submit change

I have been researching this issue for few days without luck. I found many posts reporting similar issues but not with Gerrit code review. The case is that we have a repo which contains many branches. Only one branch (dev) show this problem.…
ayakout
  • 29
  • 7
0
votes
1 answer

pygerrit rest.delete() returns "ValueError: No JSON object could be decoded"

I am trying acheive add / remove reviewer (gerrit set-reviewer), which requires using REST API from pygerrit. I can add reviewers with no issues, using the rest.post() methods, however rest.delete() gives me ValueError: No JSON object could be…
askb
  • 5,731
  • 25
  • 41
0
votes
1 answer

Gerrit’s internal shell can’t find git-receive-pack after upgrading to 2.13.4 from 2.9

We recently upgraded our Gerrit server from 2.9 to 2.13.4. We got everything working except access to the repositories over SSH, which uses Gerrit’s internal SSH server that is implemented in Java with jgit. Gerrit’s internal shell can’t find…
0
votes
1 answer

Prohibit merge by gerrit

I have a git-gerrit project with several branches. all team members have Owner for refs/* all team members have Push and Push Merge Commit for refs/heads/master each team member works on a feature, each one has Push and Push Merge Commit for his or…
Androrider
  • 950
  • 2
  • 10
  • 19
0
votes
1 answer

Creating related commit to a merged commit

My team is using gerrit for code review. After merging a commit on gerrit, i wanted to create a new commit related to the old one. But i can't use same task-id (because my manager says it is a new task to fix the old problem and i can't use same…
cokceken
  • 2,038
  • 9
  • 22
0
votes
1 answer

Is it possible to configurate gerrit to always send the push requests to refs/for?

my team is implementing gerrit on their git repositories. We liked the way it works. As far as I understand (please, correct me if I am wrong) once gerrit is implemented it is kind of optional. If you use refs/for at the time you push, your push is…
Lost
  • 151
  • 10
0
votes
1 answer

Gerrit with Apache2 - The HTTP server did not provide the username in the Authorization header when it forwarded the request to Gerrit Code Review

I have problem with gerrit instalation with HTTP auth. This is my gerrit.config: [gerrit] basePath = git serverId = fee746a4-35f5-43e5-a39f-e2e77ce5bd7c canonicalWebUrl = http://127.0.0.1:9091/ [database] type = h2 database =…
wpater
  • 171
  • 1
  • 12
0
votes
1 answer

Is there any way to install Jenkins plugin using puppet?

I am trying to find out a way to install Jenkins plugin using puppet. I would like to create a Gerrit patch then to install it and to revert the patch in case it is required. Is this achievable ? --> Basically want to create a procedure to both…
devops
  • 944
  • 2
  • 13
  • 35
0
votes
2 answers

Using logstash to strip XSSI prefix from JSON response

I have a fairly simple problem but it's confusing to me. I'm trying to use Logstash to get Gerrit data via rest api. I'm using http_poller and I get a right response with my configuration, so I'm almost there. Now I need to strip the XSSI prefix…
Leicha
  • 89
  • 10
0
votes
4 answers

How to undo a revert in git?

I need to undo a revert done in git and pushed to a remote repository. The repository is not used by anyone else. I did this with the backthought that a revert is just another commit. Thus I tried git reset and then push but it did not seem to work.…
patrik
  • 4,262
  • 4
  • 21
  • 41
0
votes
2 answers

How to compare second patch set with origin in gerrit

Is there a way to check the diff of 2nd or 3rd patch set with origin? Not with previous patch set or base Scenario is; Initially I review first patch set and gave review comments and subsequently reviewed second patch set with review comments…
Dheeraj Joshi
  • 2,647
  • 5
  • 35
  • 49
0
votes
1 answer

How do I integrate gerrit to my github repository?

I would like to know what do I need to do in order to integrate gerrit to an existing github repository. Thanks
Lost
  • 151
  • 10
0
votes
0 answers

How to replace tab with 4 times space in GIT[Gerrit]?

I have a problem with versioning handling in GIT. I am taking over a project from a guy moving to another department and I have noticed that one file is messed up. The 4*space have for some reason been replaced with tabs. I have done a cherry-pick…
patrik
  • 4,262
  • 4
  • 21
  • 41
0
votes
1 answer

Git push instead of HEAD:refs/for/master

I have a remote git branch that has been newly activated by gerrit review. I tried to push my changes using git push origin HEAD:refs/for/master but got rejected. Then i tried to use normal git push origin command and i was successfully able to do…
kudi
  • 1
  • 2
0
votes
1 answer

How to install "Gerrit" in linux machine without any error?

I am not able to install Gerrit on my Linux server and getting below mentioned error. My config file: Error: fatal: DbInjector failed fatal: Unable to determine SqlDialect fatal: caused by…
Dikil
  • 55
  • 1
  • 10
1 2 3
99
100