Questions tagged [gerrit]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Gerrit git push origin tips missing change-id

I have a problem as follow. I have excute five times git push origin but followd with run git push origin HEAD:refs/for/feature_1.0, The terminal tips missings change-id I have tried to fixed the ...
Joe.Herylee's user avatar
-2 votes
1 answer
34 views

How to make a branch from someone else's merge request on git/gerrit?

I have a userA who created a branch and pushed several commits to it on gerrit. Now me as userB want to pull all his branch and create a new one of my own as myself author and test few things. How can ...
AhmFM's user avatar
  • 1,562
0 votes
2 answers
40 views

Git pushes to wrong gerrit change

I tried to push to gerrit after my new commit but I get this error: ! [remote rejected] HEAD -> refs/for/master (change (here is my change link) closed) error: failed to push some refs to 'link to ...
andre's user avatar
  • 9
0 votes
1 answer
34 views

Gerrrit to fetch only meta/project.config file?

Is there any way to fetch only meta/project.config from gerrit project, instead of cloning the full source. I.e. is there a way to fetch the meta/config tag, without cloning the complete source using ...
tej anil's user avatar
0 votes
0 answers
74 views

Export gerrit cmd query to csv, excel, or text

I am trying to save a JSON format from Gerrit query (via cmd line) to csv/xlsx from gerrit query? I have the query: ssh -p 29418 uie7*@buic-scm-*.com gerrit query "project:^.my_gerrit_prject. ...
Carmen's user avatar
  • 9
0 votes
0 answers
17 views

Can Gerrit Trigger Plugin send +1 Verify vote to Gerrit commit without triggering Jenkins job?

I added a file to the Forbidden Files so that Jenkins jobs won't be started by the Gerrit trigger plugin when a commit only includes Forbidden Files, however in this situation I need to add +1 verify ...
Tâm Phạm's user avatar
0 votes
0 answers
20 views

Gerrit its-jira plugin doest find projest specyfic actions file

Acording to documentation (https://community.wandisco.com/s/article/Guide-to-ITS-Jira-plugin-with-Gerrit#project-specific-rules): "This is achieved by adding a actions-its-jira.config file to the ...
rrr rrr's user avatar
0 votes
1 answer
50 views

Does Gerrit have an owner for each branch?

I am setting up Gerrit in an on-premise environment and conducting various tests. I have a question regarding the commit & push permissions on Gerrit branches. Does Gerrit have an owner for each ...
Owen's user avatar
  • 1
0 votes
0 answers
25 views

API to get the History/ Patch Set details using GerritAPIs

Developing a python script to pull the gerrit commit details using GerritRestAPI (rest = GerritRestAPI(url='https://gerrit.teamccp.com/', auth=auth)) Able to fetch details such as the owner details/...
Rahul MG's user avatar
0 votes
1 answer
10 views

Cannot select some people from reviewer drop-down in gerrit

I'm having trouble figuring out what is going on here. Suddenly I found out that users cannot add me as a reviewer on their changes. When clicking on the edit link to add reviewers, I simply do not ...
Mirrana's user avatar
  • 1,601
0 votes
1 answer
132 views

How can I push changes to a remote branch on GitHub without having to create a rebase node on git tree?

I have just recently moved from Gerrit to GitHub and am currently figuring out a fitting workflow. My workflow at the present is as following: start --- a (master, origin/master) Create branch and ...
Nguyen Pham's user avatar
-1 votes
1 answer
42 views

Question about installing and configuring Gerrit in an on-premise environment on Ubuntu

I am experiencing an issue while setting up Gerrit for testing purposes in an on-premise environment on Ubuntu. I followed the official documentation and various articles to install Gerrit and was ...
Owen's user avatar
  • 1
-1 votes
1 answer
41 views

How to compare the diff between two branches, excluding rebase commit

Background: I have developed a code review platform that was inspired by the design of Gerrit. In this platform, there is a concept of "revision," which can have multiple "patchsets.&...
leo's user avatar
  • 1
0 votes
0 answers
6 views

from gerrit submit a change to gitlab failed

Im using gerrit with gerrit-lfs plugin submit a change to gitlab failed. I've tried submit a simple file whithout lfs, it can normally merged to gitlab. and then I tried to submit a bigfile. it can ...
WmKong's user avatar
  • 1
0 votes
0 answers
13 views

ubuntu22+apache2+gerrit Could not open password file

the environment base on ubuntu22. apache2+gerrit base on http auth,need a password file ,it wonnot work; the eror: [Sun Jul 09 21:09:41.033037 2023] [authn_file:error] [pid 6303:tid 140002283005632] (...
767831939qqcom's user avatar
0 votes
0 answers
59 views

gerrit replication configuration:Cannot replicate because of reject HostKey:slave.gerrit.server

i'm doing gerrit replication configuration,but encounter the following issue in log/replication_log on gerrit master server xx.xx.xx.64: Cannot replicate to ssh://[email protected]/home/gerrit/...
josephine's user avatar
0 votes
0 answers
26 views

How to check JIRA issue id via Gerrit

I am building my gerrit server. I have already used Jira by Atalssian (https://xxxx.atlassian.net) I installed its-jira plugin in my gerrit server and set some configurations for gerrit. I also ...
AriJang's user avatar
0 votes
0 answers
22 views

How to integrate gerrit to jira

I am currently setting up my own Gerrit server (version: gerrit-3.8.0.war) and I am also using Jira (https://xxxx.atlassian.com). Jira provides a plugin named "GITHUB FOR JIRA" that allows ...
AriJang's user avatar
0 votes
0 answers
17 views

How to integrate GitHub private repository to my Gerrit server

Hello Stack Overflow Community, I am currently in the process of integrating Gerrit with GitHub, following the guide provided here: link to the guide. Upon completion of the setup process, I was able ...
AriJang's user avatar
0 votes
2 answers
46 views

Trigger build when the content of specific file merged in gerrit repo

I am looking to create a Jenkins pipeline job that triggers when the content of the file filename.json changes merged in the Gerrit repository's master branch. . ├── Readme ├── tools- └── src └── ...
nagarjuna v's user avatar
0 votes
1 answer
69 views

How to download/apply all patches from gerrit

Can you explain how to work with the same change_id in gerrit simultaneously, let's say me and someone else? We are doing all the things the same way: git review -d change_id; git add -A; git commit --...
Garik's user avatar
  • 121
0 votes
1 answer
46 views

Tag for entire AOSP repository for a local git server setup

I setup a AOSP code for my local git server with the following steps, Mirror code on server : mkdir AOSP_MIRROR cd AOSP_MIRROR repo init -u https://android.googlesource.com/platform/manifest -b ...
vijay panwar's user avatar
0 votes
1 answer
66 views

setting up AOSP repository for local git server

requirement is that i have to setting up a particular AOSP source code (eg:android-12.1.0_r12) for my local git server which is available on google android page and other people( client machine ) from ...
vijay panwar's user avatar
-1 votes
1 answer
83 views

git pull creates an unnecessary merge commit

My team uses gerrit to store source code, and we're all developing on main branch (team's WoW). Here is the situation I'm deal with: I make some changes in main, push it and wait for review. If I run ...
dustin2022's user avatar
0 votes
0 answers
13 views

Gerrit 500 error while generating an HTTP credentials for a user

Getting - **An error occurred Error 500 (Server Error): Internal server error Endpoint: /accounts/self/password.http** Any leads will be appreciated. Expecting to get new HTTP credentials for the ...
Kartik Mahajan's user avatar
1 vote
0 answers
19 views

Why is there an `ownerin` but no `authorin` query in Gerrit?

It seems such an obvious omission to have an -in version to match group membership only for owner and not for author (or attention, for that matter).
Marc Mutz - mmutz's user avatar
0 votes
0 answers
85 views

Is there any way to sort changes by time in Gerrit?

This document describes how we can get gerrit commits within a date range. For example, project:team/teamx/appx before:2018-1-1 after:2016-12-31 returns the list of all commits of years 2017. ...
Sazzad Hissain Khan's user avatar
0 votes
0 answers
73 views

gerrit push error (internal error)--setGroups(List<String>) only valid before creating change

When I push a commit to gerrit server, it reports remote: Resolving deltas: 100% (1532/1532) remote: Counting objects: 3678, done remote: Processing changes: new: 1, done remote: error: internal ...
George Orwell's user avatar
0 votes
0 answers
35 views

How to get all unmerged commits for project in gerrit REST API?

Hi i was trying to get all commits from specific repository using Gerrit REST API and python which are unmrged (they are active). Can someone help me how to do it? EXAMPLE project: TEST/Python/calcapp ...
molek06's user avatar
  • 21
0 votes
0 answers
339 views

repo fails with repo: error: "git" failed with exit status 128

I have checked the two questions that are somehow related to this one (although none of them use repo) and there are no solutions or explanations for this so this is not a double question. I am trying ...
KansaiRobot's user avatar
  • 7,585
1 vote
0 answers
27 views

Access all accounts in which are in Gerrit server

I am implementing some automation framework on gerrit server I was trying to pull all the users using the below api gerritApi.accounts().query() // it is giving not implemented exception gerritApi....
Ram Kowsu's user avatar
  • 721
0 votes
1 answer
75 views

how to create hashtag for a gerrit cahnge from ssh?

I wanted to create hashtag using ssh gerrit command. Example: i tried below ssh -p 22 server.com gerrit set-reviewers --add "#bugfix" 123455 its giving error account bugfix not found also ...
unblocker's user avatar
0 votes
1 answer
53 views

Gerrit WEB UI connections are short

I would like to know if there is any option to control the web UI Gerrit sessions. The default is 30 mins and I would like to change it to ~10 hours session. If anybody is familiar with such ...
Bar Elhanati's user avatar
0 votes
1 answer
20 views

How to ensure Gerrit displays differences for reviewers compared to the original source code instead of the last commit?

As I developed a new feature for my job, I committed the code multiple times to the main branch. Now, I need to push the code to Gerrit for my manager's review. However, after pushing the code, all ...
omerna's user avatar
  • 1
0 votes
0 answers
20 views

Change-id not created even though .git/hooks/commit-msg exists

When I try to push a change I get the following error. I didn't change any setting in particular. This comes and goes without me resolving anything so I really don't have an idea where it is coming ...
PuffedRiceCrackers's user avatar
1 vote
1 answer
152 views

How to push in Gerrit without creating new commit

Hello well my problem is after I make some modifications in the code I push it to the Gerrit repo. Let's say that I made a new modifcation or fixed a typo. I want to know how to push my code again in ...
Louay GOURRIDA's user avatar
0 votes
0 answers
32 views

Gerrit preventing projects to inherit from All-Projects

I would like to set all new projects on my Gerrit server to inherit from project called HUT_ALOP instead of All-Projects. The issue is that when a user creates a new project and leaves the 'Rights ...
Bar Elhanati's user avatar
0 votes
0 answers
78 views

Comment added event in Gerrit trigger plugin is not able to trigger Jenkins job using Gerrit 2.16 version

I am unable trigger Jenkins job with comment added event using Gerrit trigger plugin in Gerrit 2.16 version I am trying to trigger Jenkins job when ever Gerrit commit takes with specific commit ...
jaiganesh sekar's user avatar
0 votes
1 answer
52 views

Access static pictures from "login/" returns 401

I have a pretty "standard" Gerrit setup on a Debian 11 VM: Gerrit is installed under /opt/gerrit/ with a specific gerrit user used to execute the software; this user have the correct rights ...
Davide Ghisalberti's user avatar
0 votes
0 answers
79 views

how to edit access right by edit repo config gerrit?

From Gerrit Document: Access controls in Gerrit are group based. Every user account is a member of one or more groups, and access and privileges are granted to those groups. Access rights cannot be ...
Mr.Tu's user avatar
  • 2,633
0 votes
0 answers
24 views

Why the db.h2.db file by gerrit image so big

enter image description here Why the db.h2.db file by gerrit image so big, I don't use gerrit very often. How can I solve this problem I use docker's gerrit image deployment service, and my ...
Jack's user avatar
  • 1
0 votes
0 answers
126 views

How to connect gerrit ssh through HAproxy(LB)?

I'm able to access our gerrit web from bare metal based Kubernetes cluster through an independent HAProxy(LB). Currently i have below HAproxy configurations in /etc/haproxy/haproxy.cfg file to access ...
user4948798's user avatar
  • 1,934
0 votes
0 answers
65 views

Is there a limit for the S query in Gerrit-Rest-Api?

Sorry for my unknowledge about Gerrit Rest API, the documentation is not very easy to understand for me. I'm trying to fetch alot of data about code-changes with Gerrit. I'm using the S query to ...
Beuler's user avatar
  • 3
1 vote
1 answer
40 views

jenkins dsl to gerritTrigger based on change in filepath

Team, i have below working for triggering builds when user sets in comment test in gerrit gui reply. but I need to know how could i trigger if there is a change in path. triggers { gerrit ...
AhmFM's user avatar
  • 1,562
0 votes
1 answer
75 views

Jira cloud integration with Gerrit

I am trying to integrate Gerrit with Jira cloud using its-jira plugin in Gerrit. Can anyone suggest on how to proceed on this integration part. I tried adding the username and API token of jira cloud ...
Anjitha 's user avatar
0 votes
0 answers
46 views

Gerrit - Empty diff aginst auto merge

I merged a feature branch into uat branch, solved some conflicts and pushed for review. git commands below: git checkout uat git merge feature-xxx --no-ff // solve conflicts git add . git commit git ...
lidlesseye's user avatar
0 votes
2 answers
99 views

Can I search using regex i Gerrit over the subject of the commit

I'm using the gerrit platform for code reviews phase. I cannot find a way to search with regex over the subject of the message. I've tried subject:"^.dummy." but it didn't work any help is ...
KostasA's user avatar
  • 5,214
-2 votes
1 answer
131 views

How do I get more than 500 codereviews with Gerrit REST Api?

I'm writing a python script to generate how many changes was made within a timeframe for all projects, but when I use the Gerrit REST Api I can only get up to maximum of 500 unique users, and I want ...
Beuler's user avatar
  • 3
0 votes
0 answers
44 views

Jenkins-Gerrit Integration: It is possible to attach a file to a gerrit comment?

Currently I have a CI/CD using jenkins and gerrit. I already have the jenkins and gerrit communicating using the Gerrit Trigger Plugin. I am able to increase and decrease labels like the Code-Review ...
Ivan's user avatar
  • 31
0 votes
1 answer
166 views

gerrit query - get latest commit hash for repo

I am using automation to pull always ref/master from the project Is there an option to query gerrit to have information about last merged commit (getting only HASG also acceptable) ? Using git log is ...
Ziv M's user avatar
  • 409

1
2 3 4 5
41