A set of plugins for PolyGerrit, Gerrit's web interface.
Plugin | Purpose |
---|---|
ent | Display the hierarchy of patches pending review. |
fff | Browse the current patchset file listing by pressing F. |
TBD
You will need Docker and Node.js to be available.
Start Gerrit:
docker-compose up
Gerrit should become available at http://localhost:8080
Build the plugin artifacts:
# one-off:
npm install && npm run build
# or, keep building:
npm install && npm start
Add your public SSH key to the Administrator account in the SSH Settings panel and verify you can connect to Gerrit via SSH:
ssh -p 29418 admin@localhost gerrit
ssh -p 29418 admin@localhost gerrit [arguments]
Or use the helper bin/gerrit.sh
which invokes the above for you:
bin/gerrit.sh [arguments]
Install gerrit-seed:
gem install gerrit-seed
Use the provided seed:
gerrit-seed < share/git/banana.yml
If you want to remove the sample data, use this:
gerrit-unseed < share/git/banana.yml
Clone the sample plugin share/sample-plugin
into src/[name]
, restart
your build runner, and start amending the source files as needed.
cp -rf share/sample-plugin src/meme &&
echo 'Gerrit.install(() => { console.log("hi!") })' >> src/meme/index.js &&
npm run build &&
open http://localhost:8080
Have fun!
- TheIvoryFalcon for the Old Bramble Beard artwork
- King Lulu Deer for the F Letter Block artwork