Take codebase in consideration when doing a 'copy' or 'export' checkout.
Rename the 'path' argument of the MasterShellCommand 'workdir'
wait for the logs are created before finishing the step

There is a race condition between addLogs calls, and the end of the step.

for oldStyleSteps, this matters, because the subsequent addStderr, are only called
at the end of the step, so we must wait for log are created before continuing

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Fix platform dependant path building.
integration test for trac #2951

add a test for the case which the db is too slow to complete the newLog before end of the step

if I revert previous commit, I get the error reported by benallard

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/ptardy/dev/bb/buildbot-heroku/buildbot/master/buildbot/process/buildstep.py", line 157, in next
    self._catchup()
  File "/Users/ptardy/dev/bb/buildbot-heroku/buildbot/master/buildbot/process/buildstep.py", line 159, in _catchup
    self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute 'append'

buildbot.test.integration.test_custom_buildstep.RunSteps.test_OldStyleCustomBuildStepSlowDB
buildbot.test.integration.test_custom_buildstep.RunSteps.test_OldStyleCustomBuildStepSlowDB
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/ptardy/dev/bb/buildbot-heroku/buildbot/master/buildbot/process/buildstep.py", line 135, in gotAsync
    self._catchup()
  File "/Users/ptardy/dev/bb/buildbot-heroku/buildbot/master/buildbot/process/buildstep.py", line 159, in _catchup
    self.step._start_unhandled_deferreds.append(d)
exceptions.AttributeError: 'NoneType' object has no attribute 'append'

buildbot.test.integration.test_custom_buildstep.RunSteps.test_OldStyleCustomBuildStepSlowDB

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
add easy makefile for installing hooks

not sure if we need rst docs for that, I anyway commented the makefile

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Make the tests more realistic
Fix path to doc.
Fix formatting of the README
Update doc and release note
Switch back to something that looks more like the original.
Add test, and fix the code ;)
Merge pull request #1298 from benallard/patch-2

master: fix path to the installation doc
Merge pull request #1291 from benallard/patch-3

master/svn: Take codebase in consideration when doing a 'copy' or 'export' checkout.
Merge pull request #1297 from tardyp/hooks

add easy makefile target for installing hooks
use a hook, rather than time, in the tests
run the hook only in non optimized mode

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Merge pull request #1295 from benallard/mastershell_workdir

Rename the 'path' argument of the MasterShellCommand 'workdir'

- All other steps take a workdir
- The path argument is not mentioned in the doc
  - Even worse, the doc has an example: command="cd dir; do stuff"
- As the test show, the one that wrote it believed it would become the PATH.
Make a full sentence !
Convert BitBucket hook's project from a list to a string