Skip to content

Commit

Permalink
Merge branch 'bug2358' into buildbot-0.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Sep 9, 2012
2 parents 6bba209 + 7150732 commit fb9a969
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions master/buildbot/test/unit/test_changes_pb.py
Expand Up @@ -152,6 +152,15 @@ def check(_):
d.addCallback(check)
return d

def test_addChange_codebase(self):
cp = pb.ChangePerspective(self.master, None)
d = cp.perspective_addChange(dict(who="bar", files=[], codebase='cb'))
def check(_):
self.assertEqual(self.added_changes,
[ dict(author="bar", files=[], codebase='cb') ])
d.addCallback(check)
return d

def test_addChange_prefix(self):
cp = pb.ChangePerspective(self.master, 'xx/')
d = cp.perspective_addChange(
Expand Down
8 changes: 4 additions & 4 deletions master/docs/manual/cfg-changesources.rst
Expand Up @@ -445,19 +445,19 @@ execution on buildslaves.

The :bb:chsrc:`PBChangeSource` is created with the following arguments.

`port`
``port``
which port to listen on. If ``None`` (which is the default), it
shares the port used for buildslave connections.

`user`
``user``
The user account that the client program must use to connect. Defaults to
``change``

`passwd`
``passwd``
The password for the connection - defaults to ``changepw``. Do not use
this default on a publicly exposed port!

`prefix`
``prefix``
The prefix to be found and stripped from filenames delivered over the
connection, defaulting to ``None``. Any filenames which do not start with
this prefix will be removed. If all the filenames in a given Change are
Expand Down

0 comments on commit fb9a969

Please sign in to comment.