[Buildbot] #2138: ability to plug-in new slave-side commands
Buildbot trac
trac at buildbot.net
Sat Jun 7 19:49:27 UTC 2014
#2138: ability to plug-in new slave-side commands
------------------------+-----------------------
Reporter: dustin | Owner:
Type: enhancement | Status: assigned
Priority: major | Milestone: 0.8.+
Version: 0.8.5 | Resolution:
Keywords: simple |
------------------------+-----------------------
Changes (by dustin):
* keywords: docs => simple
* owner: dustin =>
* status: new => assigned
Old description:
> Some users would like to be able to add additional slave-side Command
> subclasses, both for performance and flexibility.
>
> Right now, you can do this from `buildbot.tac`:
> {{{
> from buildslave.commands.registry import commandRegistry
> commandRegistry['mycommand'] = 'my.module.CommandClass'
> }}}
>
> This should be pretty easy to document, and should be tested manually to
> ensure there are no sharp edges or other gotchas.
New description:
Some users would like to be able to add additional slave-side Command
subclasses, both for performance and flexibility.
Right now, you can do this from `buildbot.tac`:
{{{
from buildslave.commands.registry import commandRegistry
commandRegistry['mycommand'] = 'my.module.CommandClass'
}}}
This should be pretty easy to document, and should be tested manually to
ensure there are no sharp edges or other gotchas.
--
Comment:
Really, this should be done with setuptools entry_points so that you just
have to 'pip install' some package and the commands magically appear.
--
Ticket URL: <http://trac.buildbot.net/ticket/2138#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list