Using the patchbot

Exherbo receives many patches and to ensure that none are lost we use the IRC bot zebrapig to keep track of them. Patches can be submitted by anyone and will be reviewed and, if accepted, pushed to the relevant repositories.

You can upload your patch to a number of pastebins with the wgetpaste utility. zebrapig will currently recognise URLs from dpaste.com, ix.io and paste.pocoo.org. Make sure that links for the pastebin service you are using do not expire. Expired links will be removed.

There are three available commands.

!patchqueue !pq

Enqueue a patch. The format should be !pq <url> ::<repo> <optional description> (for example !pq http://paste.pocoo.org/raw/5090/ ::docs for a docs related patch). The URL should always return a raw/plaintext response and not HTML.

A patch series for one repository should be queued as one patch, so that committers don’t have to work out which patch depends on which other patch.

!patchdone !pd

Remove a patch. The format is !pd <text> and all patches that match <text> will be removed.

!patchlist !pl

Return the current list of patches. !pl <text> returns only those that match <text>. The bot also responds to this command in private (as pl).

You should always leave a short explanation if your patch is non-trivial.

Source code

The source code of zebrapig is available at git://git.freenode.net/eir.git.