Next: Writing a Change Poller, Up: Writing Change Sources
A custom change source must implement
The easiest way to do this is to subclass
buildbot.changes.base.ChangeSource, implementing the
method to describe the instance.
ChangeSource is a Twisted service, so
you will need to implement the
methods to control the means by which your change source receives
When the class does receive a change, it should create a
buildbot.changes.changes.Change object and call
self.parent.addChange(ch) to submit it to the buildmaster.
You will probably also want to set
compare_attrs to the list of object
attributes which Buildbot will use to compare one change source to another when
reconfiguring. During reconfiguration, if the new change source is different
from the old, then the old will be stopped and the new started.