Generate a change (usually using the command-line "buildbot sendchange" tool) without a ChangeSource.

User manual

API docs

Blog post from rhelmer@mozilla about using BuildbotSendchange to try out arbitrary patches, like BuildbotTry