[Buildbot-commits] [Buildbot] #2481: CopyDirectory missing from buildbot.steps.slave in 0.8.7p1
Buildbot trac
trac at buildbot.net
Sun Mar 31 18:04:26 UTC 2013
#2481: CopyDirectory missing from buildbot.steps.slave in 0.8.7p1
-----------------------------+---------------------------------
Reporter: bhristov | Owner:
Type: defect | Status: new
Priority: patches-accepted | Milestone: undecided
Version: 0.8.7p1 | Keywords: steps, slaves, copy
-----------------------------+---------------------------------
Working on Ubuntu 12.04, I did pip install buildbot --upgrade to get the
latest version (0.8.7p1). It installs in /usr/local/lib/python2.7/dist-
packages/buildbot, and is successful (typing buildbot --version prints
0.8.7p1).
However, when I try to add a CopyDirectory step to one of my builers, I
get
Traceback (most recent call last):
...
File "/var/lib/buildbot/masters/master.cfg", line 116, in <module>
from buildbot.steps.slave import CopyDirectory
exceptions.ImportError: cannot import name CopyDirectory
Indeed, inspecting the source of buildbot/steps/slave.py reveals that
CopyDirectory is not there, contrary to what documentation states and to
what is seen on your repository
(https://github.com/buildbot/buildbot/blob/master/master/buildbot/steps/slave.py)
I copied the definition from the repository to the file in my library and
it now works but it might cause more problems if this omission is not
rectified or mentioned in the docs.
--
Ticket URL: <http://trac.buildbot.net/ticket/2481>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list