[Buildbot-commits] [buildbot/buildbot] 815519: renamed SlaveOption class to CreateSlaveOption

GitHub noreply at github.com
Fri Apr 5 12:41:17 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 815519f2d10b7b7c495eec466b287aad15c44d8a
      https://github.com/buildbot/buildbot/commit/815519f2d10b7b7c495eec466b287aad15c44d8a
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M slave/buildslave/scripts/runner.py

  Log Message:
  -----------
  renamed SlaveOption class to CreateSlaveOption

CreateSlaveOption is a more descriptive name, and follows the
naming style of other subcommand's options classes.


  Commit: 7ced54fe5344bb877ec4d8ba654b3c6431974fd5
      https://github.com/buildbot/buildbot/commit/7ced54fe5344bb877ec4d8ba654b3c6431974fd5
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M slave/buildslave/monkeypatches/__init__.py
    A slave/buildslave/monkeypatches/testcase_assert.py
    M slave/buildslave/test/__init__.py

  Log Message:
  -----------
  add local assertRaisesRegexp() on python older then 2.7

When running tests on python older then 2.7, monkeypatch
unittest.TestCase class to include assertRaisesRegexp() method.


  Commit: 24ba3ffd534a66c90b6441906be04368de475a8a
      https://github.com/buildbot/buildbot/commit/24ba3ffd534a66c90b6441906be04368de475a8a
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M slave/buildslave/scripts/runner.py
    M slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  catch invalid numeric parameters to 'buildslave create-slave' command

When converting 'usepty', 'keepalive', 'maxdelay' and 'log-size' parameters
to ints, catch ValueError exceptions and print error message. This way it is
easier to troubleshoot incorrect parameters to create-slave command.


  Commit: 7ebed1efe42532982324ff6a6865eee41ade6ab4
      https://github.com/buildbot/buildbot/commit/7ebed1efe42532982324ff6a6865eee41ade6ab4
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M slave/buildslave/scripts/runner.py
    M slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  accept exactly 4 arguments to 'buildslave create-slave' command

Check that 'buildslave create-slave' command was invoked with exactly 4
arguments. Previously when create-slave was given more then 4 arguments, an
'ValueError: too many values to unpack' exception was raised.


  Commit: f19157bae5724c4decea254bfebbddf52610e856
      https://github.com/buildbot/buildbot/commit/f19157bae5724c4decea254bfebbddf52610e856
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  added unit tests on CreateSlaveOptions class

Test arguments parsing of valid 'buildslave create-slave' commands.


  Commit: 3ea680f22780bb45697fa46313dd536f726ced47
      https://github.com/buildbot/buildbot/commit/3ea680f22780bb45697fa46313dd536f726ced47
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  test '<master> not URL' error for 'buildslave create-slave' command


  Commit: c479cf2ba8138b323b6bbecf2aebfacee5a2c46d
      https://github.com/buildbot/buildbot/commit/c479cf2ba8138b323b6bbecf2aebfacee5a2c46d
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-04-05 (Fri, 05 Apr 2013)

  Changed paths:
    M slave/buildslave/monkeypatches/__init__.py
    A slave/buildslave/monkeypatches/testcase_assert.py
    M slave/buildslave/scripts/runner.py
    M slave/buildslave/test/__init__.py
    M slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  Merge branch 'create-slave-cli-args' of git://github.com/elmirjagudin/buildbot


Compare: https://github.com/buildbot/buildbot/compare/852c0dfbe07d...c479cf2ba813


More information about the Commits mailing list