Development/GitReview/Hacking

    From The Document Foundation Wiki

    This page is about hacking on the git-review plugin itself, for usage of the git review command with gerrit please see Development/GitReview.

    Hacking git-review

    How to patch:

    Register here: https://review.opendev.org/, file license agreement, and push your changes upstream, ie.:

    https://review.opendev.org/#/c/9336/

    How to file a bug/feature request:

    Create an account on launchpad and file your requests:

    https://bugs.launchpad.net/git-review/+bug/1021073

    https://bugs.launchpad.net/git-review/+bug/1021075

    Installation (development)

    (If you need some feature that is not yet in a released version.)

    Prerequisites: python-setuptools is installed on your machine

    git clone https://opendev.org/opendev/git-review.git
    
    cd git-review
    
    sudo python setup.py develop
    
    #or: python setup.py develop --user
    Note in that case you need /home/dos/.local/bin in your PATH
    

    Pending

    Review and write a message in your favorite editor -- pending [1]

    # download a change into new local branch
    git review -d 4711
    # look around
    # create a review message in your editor, review with neutral, +1 or -1 outcome and remove the local branch
    git review --approve+1 --finish 4711