https://github.com/quark-zju/gerricator
Gerrit Change to Phabricator Diff
https://github.com/quark-zju/gerricator
Last synced: 3 months ago
JSON representation
Gerrit Change to Phabricator Diff
- Host: GitHub
- URL: https://github.com/quark-zju/gerricator
- Owner: quark-zju
- License: mit
- Created: 2015-01-25T14:08:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-26T03:08:08.000Z (over 10 years ago)
- Last Synced: 2024-04-25T11:03:03.744Z (about 1 year ago)
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gerricator
==========Command-line tool to create or update [Phabricator](http://phabricator.org/) diff from [Gerrit](https://code.google.com/p/gerrit/) change
Requirements
------------
* git
* arc
* ruby (> 2.0)Installation
------------```bash
gem install gerricator
gerricator init
editor ~/.config/gerricator/config.yml
```Examples
--------```bash
# push patchset 1 in gerrit change 2020 to phabricator
gerricator push 2020 1 # outputs differential id, ex. 'D201'# push patchset 3, update the same phabricator diff
gerricator push 2020 3# push latest patchset in change 2020
gerricator push 2020# does nothing because 2020#3 is already pushed
gerricator push 2020 3# you can also use long change-id
gerricator push Id7c5ef224f847422350ecbdaa8da397ffd929f9a# see debug logs
export VERBOSE=1
gerricator push 2020 2
```