Added a 'glob' command to the slave.

Can be used to retrieve a list of files from the slave that match
a given pattern. (This is somewhat more portable than using shell
expansion.)
Custom steps can use this command to add filenames to a property
of the build where they may be later picked up by an uploading step.

RemoteCommand('glob', dict(path='[Bb]uild[Bb]ot-*', workdir='wkdir'))
pep8 (so close)
Git: Fix initial clone with gerrit changes

git clone --branch only works with refs under refs/heads/* and
refs/tags/*, not arbitrary refs. But the Gerrit step will give us a
ref of the form refs/changes/*, since that is where gerrit stores the
submitted changes for us to build.

There appears to be no way to get an arbitrary ref with 'git clone',
as you can with --branch; at least, none I can see. So instead, just
do a regular clone, and run the normal _fetch routine afterwards,
which will fetch the relevant ref and check it out for us.

This bug is mentioned in bug #2485, though #2485 itself is a different
bug.
GerritStatusPush: Fix labels with gerrit >=2.6

Fixes #2550. Gerrit versions 2.6 and newer do not accept the
--verified option if the Verified label does not exist in All-Projects
in the gerrit configuration. Instead, we must give the --label option.
So, use --label for --verified and --code-review so we can work with
all gerrit installations.

While the --code-review option does still work, so does the --label
approach. It seems more likely that --label is more likely to work in
the future than --code-review, so we'll just go with the safer route.

In order to still support older gerrit installations (which do not
support the --label option), query the gerrit installation version
whenever we submit a review. Cache this version query for 10 minutes,
so we do not ask the gerrit server every single time for its version.
GerritStatusPush: Add per-buildset status updates

Currently GerritStatusPush will submit an update/review to gerrit
immediately when each builder in a buildset finishes building. It is
usually more useful to just get one update, containing information
about all of the builds in that buildset. So, allow GerritStatusPush
to do that, configurable via the new summaryCB constructor argument. A
default summaryCB is also provided: defaultSummaryCB.

If neither reviewCB nor summaryCB are explicitly provided in the
configuration, default to sending out the new "summary" reviews.
However, if reviewCB was explicitly provided, default to sending out
the old-style per-build reviews, and not sending out the new "summary"
reviews. This allows for older configurations to not see an unexpected
change in behavior, but completely new configurations are likely to
see the probably more useful "summary" reviews.

Since much of this functionality is already implemented in
MailNotifier, extract the relevant code into the new
BuildSetSummaryNotifierMixin, and make both MailNotifier and
GerritStatusPush use it. Document the new mixin class.

Also add tests for GerritStatusPush, to test the new behavior, and for
BuildSetSummaryNotifierMixin, to test that the mixin itself works
properly. Modify the unit tests for MailNotifier to accomodate the
refactoring.
Fix step None bug

Step text might be None sometimes when the step is failed.
It broke the build detail page. Check the screenshot attached.
https://trello-attachments.s3.amazonaws.com/520e20a062ccc3b70d0029d0/52a1ca4124eaaa752a005976/21abdc7f2b56df6af1244653e3bbd0e1/build_detail_bug.png
Merge smokingkapor/buildbot:master (PR #1061)
Ignore decoding errors in atom/rss feeds; fixes #951
Merge branch 'master' into nine
remove use of MutableMapping, not in Python 2.5
Merge branch 'master' into nine
Do not catch GeneratorExit exception

On buildbot 0.8.8 in rare conditions, we hit:

File "/data/buildbot/twisted/internet/threads.py", line 49, in deferToThreadPool
      threadpool.callInThreadWithCallback(onResult, f, *args, **kwargs)
    File "/data/buildbot/twisted/python/threadpool.py", line 148, in callInThreadWithCallb
ack
      self.q.put(o)
    File "//usr/lib/python2.7/Queue.py", line 138, in put
      self.not_empty.notify()
    File "//usr/lib/python2.7/threading.py", line 392, in notify
      for waiter in waiters:
  --- <exception caught here> ---
    File "/data/buildbot/buildbot/process/buildstep.py", line 605, in _startStep_3
      result = yield defer.maybeDeferred(self.start)
  exceptions.GeneratorExit:

this applies the fix from http://trac.buildbot.net/ticket/2395#comment:10 to master/buildbot/process/buildstep.py
Merge chantra/buildbot:fb-master (PR #1063)
added BitbucketPullrequestPoller changes source

The BitbucketPullrequestPoller polls a Bitbucket repository (merucrial
or git) for new or updated pull requests.

* master/buildbot/changes/bitbucket.py: added
added BitbucketPullrequestPoller documentation

* master/docs/manual/cfg-changesources.rst: added documentation
* master/docs/relnotes/index.rst: added release note
Merge branch 'master' into nine
On solaris use the tail in /usr/xpg4/bin/tail insteaf of /usr/bin/tail which does not support the -n option
Merge madazone/buildbot:upstream-master (PR #1065)
apply 09749e7 to master
fix BitbucketPullrequestPoller issues