__init__(self,
repourl,
branch=' master ' ,
workdir=None,
pollinterval=600,
gitbin=' git ' ,
usetimestamps=True,
category=None,
project='
' )
(Constructor)
| source code
|
@type repourl: string
@param repourl: the url that describes the remote repository,
e.g. git@example.com:foobaz/myrepo.git
@type branch: string
@param branch: the desired branch to fetch, will default to 'master'
@type workdir: string
@param workdir: the directory where the poller should keep its local repository.
will default to <tempdir>/gitpoller_work
@type pollinterval: int
@param pollinterval: interval in seconds between polls, default is 10 minutes
@type gitbin: string
@param gitbin: path to the git binary, defaults to just 'git'
@type usetimestamps: boolean
@param usetimestamps: parse each revision's commit timestamp (default True), or
ignore it in favor of the current time (to appear together
in the waterfall page)
@type category: string
@param category: catergory associated with the change. Attached to
the Change object produced by this changesource such that
it can be targeted by change filters.
@type project string
@param project project that the changes are associated to. Attached to
the Change object produced by this changesource such that
it can be targeted by change filters.
|