Questions tagged [git-review]

git-review is a CLI tool for Git / Gerrit that facilitates communication with Gerrit Code Review when using command line.

git-review tool adds a new git review command. It allows to push changes for reviews, download them, rebase to reflect newest modifications in destination branch, regenerate commits' Change-Id in batch and more.

Tool is written in Python. Its documentation and sources are available at github.

43 questions
92
votes
33 answers

pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/

I run sudo pip install git-review, and get the following messages: Downloading/unpacking git-review Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement git-review No distributions…
Sai Wai Maung
  • 1,479
  • 5
  • 16
  • 26
8
votes
1 answer

How does git-review work?

I want to know, how exactly does git review command work? I mean does it use git push command (internally) or something else to upload the changes to gerrit. This information would be useful for me while writing git hooks for git review.
Yo Yo Money Singh
  • 619
  • 3
  • 9
  • 20
7
votes
1 answer

Adding a gerrit group as reviewer

I have gerrit group named "UI_Developers" I am using the following command to submit my changes for review: git push origin HEAD:refs/for/master%r=abc@morg.com But, I want to add all the members in the UI_Developers group as reviewers command line.…
Yo Yo Money Singh
  • 619
  • 3
  • 9
  • 20
7
votes
4 answers

How to review a specific commit on Git

I sent a commit (named "A commit") to review (Gerrit) using git review command. Now, I make a new commit (named "B commit") and I want to send it to review as well, but I don't want to re-send the "A commit". There is no dependencies each other. How…
Lobo
  • 3,677
  • 6
  • 32
  • 62
5
votes
1 answer

git-review -> promote draft to code-review

I have created a Gerrit draft: git review -D Once I am done working on the draft, how do I create the code-review so it can eventually be merged to master? If I just do: git-review I get this output: $ git review remote: remote: Processing…
Jonathan.Brink
  • 19,445
  • 13
  • 59
  • 98
3
votes
2 answers

Git review: submit particular commit from multiple commits

I get the following on git review: git review You are about to submit multiple commits. This is expected if you are submitting a commit that is dependent on one or more in-review commits. Otherwise you should consider squashing your changes into…
FlyingAura
  • 1,219
  • 2
  • 18
  • 33
2
votes
2 answers

RequestsDependencyWarning with git-review on macOS Sierra

I've just upgraded (using homebrew), my git-review today from 1.26 to 1.27. I've got Python 3 installed on my system as well (macOS Sierra). When I try to submit patch for review using git review -R, I get this…
Derick Alangi
  • 984
  • 1
  • 10
  • 28
2
votes
1 answer

git review -s not working properly

I am in the process of trying to set up gerrit with git for the first time. I am following the instructions from https://www.mediawiki.org/wiki/Gerrit/Tutorial. I have installed git, created a gerrit user account, and set up my ssh keys, and now…
2
votes
1 answer

git review complains of requests.packages.urllib3 but the package is installed

when i try to run git-review i get the below error: [root@localhost ~]# git-review Traceback (most recent call last): File "/usr/bin/git-review", line 7, in from git_review.cmd import main File…
cool77
  • 821
  • 4
  • 12
  • 27
2
votes
2 answers

How to do git review in intelliJ IDEA?

I am developing towards a gerrit repo which is used by a big open source community. To merge patches, we can't just push them but they need to be reviewed. Using the git cli, I do that using "git review" after committing the patch locally. I know…
M. Buil
  • 409
  • 4
  • 16
2
votes
2 answers

$ git review git: 'review' is not a git command. See 'git --help'

I am using git for source control in visual studio 2010. I can use commands like "git status" , "git commit" but when i try to use "git review" i am getting the error as " git: 'review' is not a git command. See 'git --help'." Help me please Edit1:…
2
votes
1 answer

Git review: Make the remote not be named Gerrit

My workplace started using Gerrit and git review, which I've never used before. My remote is called acme, but it seems like git review wants the remote to be called gerrit. If possible I'd like to avoid changing the name of my remote. I'd like my…
Ram Rachum
  • 71,442
  • 73
  • 210
  • 338
2
votes
1 answer

How to delete a branch when using git review

I have trouble with gerrit in OpenStack and really need your help! I created a new branch and used git-review as shown in this link: http://docs.openstack.org/infra/manual/developers.html Now I would like to delete the branch so that it no longer…
Tung Doan
  • 45
  • 2
1
vote
1 answer

git review error ValueError: No closing quotation

i'm reinstalled pip in python and module git-review. i was installs python version 2.7 and 3.9 Command "git review" is worked, i don't know what's happend but now error Traceback (most recent call last): File "c:\python27\lib\runpy.py", line…
1
vote
3 answers

Git review is not installing using PIP

C:\Users\Dell>pip install git-review Fatal error in launcher: Unable to create process using '"c:\python39\python.exe" "C:\Python39\Scripts\pip.exe" install git-review': The system cannot find the file specified I am getting this error i have tried…
1
2 3