Skip to content

Commit

Permalink
Merge asashnov/buildbot:fix_name_for_deprecated_svn (PR #1849)
Browse files Browse the repository at this point in the history
+autopep8
  • Loading branch information
djmitche committed Sep 28, 2015
2 parents 6b883c1 + 21d4cc3 commit 1e8d544
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions slave/buildslave/commands/removed.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,30 @@


import buildslave

from buildslave.commands import base


class RemovedSourceCommand(base.SourceBaseCommand):

def start(self):
self.sendStatus(
{"header":
"slave-side source checkout for '%s' is no longer supported by "
"build slave of version %s\n" % (self.name, buildslave.version)})
"slave-side source checkout for '{0}' is no longer supported by "
"build slave of version {1}\n"
"\n"
"Since BuildBot 0.9 old source checkout method with logic on slave-side\n"
"buildbot.steps.source.{0} was removed (deprecated since BuildBot 0.8)\n"
"\n"
"Instead please use new method which has its logic on master-side and has unified params list.\n"
"Using the plugin infrastructure it's available as buildbot.plugins.{0}\n"
"\n"
.format(self.name, buildslave.version)})
self.sendStatus({"rc": 1})


class Svn(RemovedSourceCommand):
name = "git"
name = "SVN"


class Bk(RemovedSourceCommand):
Expand Down

0 comments on commit 1e8d544

Please sign in to comment.