addChange(self,
author=None,
files=None,
comments=None,
is_dir=0,
links=None,
revision=None,
when_timestamp=None,
branch=None,
category=None,
revlink='
' ,
properties={ } ,
repository='
' ,
project='
' ,
_reactor=reactor)
| source code
|
Add a Change with the given attributes to the database; returns a
Change instance via a deferred. All arguments are keyword arguments.
- Parameters:
author (unicode string) - the author of this change
files - a list of filenames that were changed
comments - user comments on the change
is_dir - deprecated
links (list of unicode strings) - a list of links related to this change, e.g., to web viewers or
review pages
revision (unicode string) - the revision identifier for this change
when_timestamp (datetime instance or None) - when this change occurred, or the current time if None
branch (list of unicode strings) - the branch on which this change took place
category (unicode string) - category for this change (arbitrary use by Buildbot users)
revlink (unicode string) - link to a web view of this revision
properties (dictionary, where values are tuples of (value, source). At the
moment, the source must be 'Change' , although this
may be relaxed in later versions.) - properties to set on this change
repository (unicode string) - the repository in which this change took place
project (unicode string) - the project this change is a part of
_reactor - for testing
- Returns:
- new change's ID via Deferred
|