Opened 7 years ago

Last modified 4 years ago

#2138 assigned enhancement

ability to plug-in new slave-side commands

Reported by: dustin Owned by:
Priority: major Milestone: 0.9.+
Version: 0.8.5 Keywords: simple

Description (last modified by dustin)

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.

Change History (7)

comment:1 Changed 7 years ago by Dustin J. Mitchell

add tests for svn command failures in svnpoller

Refs #2138. It doesn't fix this bug, but at least tests the obvious suspects.

Changeset: 1ea56daebbf37c337040dea43156ee51f1c1e16a

comment:2 Changed 7 years ago by dustin

Er, wrong bug - should have been #2183.

comment:3 Changed 6 years ago by tom.prince

  • Milestone changed from 0.8.6 to 0.8.7

comment:4 Changed 6 years ago by tom.prince

  • Milestone changed from 0.8.7 to 0.8.+

comment:5 Changed 6 years ago by dustin

  • Keywords docs added

comment:6 Changed 4 years ago by dustin

  • Description modified (diff)
  • Keywords simple added; docs removed
  • Owner dustin deleted
  • Status changed from new to assigned

Really, this should be done with setuptools entry_points so that you just have to 'pip install' some package and the commands magically appear.

comment:7 Changed 4 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.