Package buildbot :: Package status :: Package web :: Package hooks :: Module github
[frames] | no frames]

Module github

source code

github_buildbot.py is based on git_buildbot.py

github_buildbot.py will determine the repository information from the JSON HTTP POST it receives from github.com and build the appropriate repository. If your github repository is private, you must add a ssh key to the github repository for the user who initiated the build on the buildslave.

Classes
  fixedOffset
fixed offset timezone
Functions
 
convertTime(myTestTimestamp) source code
 
getChanges(request, options=None)
Reponds only to POST events and starts the build process
source code
 
process_change(payload, user, repo, repo_url)
Consumes the JSON as a python object and actually starts the build.
source code
Variables
  __package__ = 'buildbot.status.web.hooks'
Function Details

getChanges(request, options=None)

source code 

Reponds only to POST events and starts the build process

:arguments:
    request
        the http request object

process_change(payload, user, repo, repo_url)

source code 

Consumes the JSON as a python object and actually starts the build.

:arguments:
    payload
        Python Object that represents the JSON sent by GitHub Service
        Hook.