[Buildbot-commits] [buildbot/buildbot] 9861c9: Add buildsets to the data API

GitHub noreply at github.com
Sat Oct 6 02:38:55 UTC 2012


  Branch: refs/heads/nine
  Home:   https://github.com/buildbot/buildbot
  Commit: 9861c99491677b8273c1a276d34448a1236a0a77
      https://github.com/buildbot/buildbot/commit/9861c99491677b8273c1a276d34448a1236a0a77
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    A master/buildbot/data/buildsets.py
    M master/buildbot/data/connector.py
    M master/buildbot/master.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/buildrequest.py
    M master/buildbot/process/properties.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/schedulers/dependent.py
    M master/buildbot/schedulers/forcesched.py
    M master/buildbot/schedulers/timed.py
    M master/buildbot/schedulers/triggerable.py
    M master/buildbot/schedulers/trysched.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    A master/buildbot/test/unit/test_data_buildsets.py
    M master/buildbot/test/unit/test_data_connector.py
    M master/buildbot/test/unit/test_master.py
    M master/buildbot/test/unit/test_schedulers_base.py
    M master/buildbot/test/unit/test_schedulers_dependent.py
    M master/buildbot/test/unit/test_schedulers_forcesched.py
    M master/buildbot/test/unit/test_schedulers_timed_NightlyTriggerable.py
    M master/buildbot/test/unit/test_schedulers_triggerable.py
    M master/buildbot/test/util/scheduler.py
    M master/buildbot/test/util/types/__init__.py
    M master/buildbot/test/util/types/buildsets.py
    M master/docs/developer/data.rst
    A master/docs/developer/rtype-buildset.rst

  Log Message:
  -----------
  Add buildsets to the data API

* addBuildset moved from master to a data update method
* schedulers updated to match (note that the addBuildsetForXxx methods
  are staying in BaseScheduler)
* assertBuildsets can skip asserting on buildsets.  This is ugly, but
  once everything else is in the data API, can be straightened out.


  Commit: f919b5bd3be50eb4a51d4b5191ff9626c8cc6efa
      https://github.com/buildbot/buildbot/commit/f919b5bd3be50eb4a51d4b5191ff9626c8cc6efa
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/schedulers/trysched.py

  Log Message:
  -----------
  use ascii2unicode, rather than .decode('utf-8')

..and use unicode literals


  Commit: dee9e8fbf25a4e203dda9b33311a4160acf14b40
      https://github.com/buildbot/buildbot/commit/dee9e8fbf25a4e203dda9b33311a4160acf14b40
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/test/fake/fakedb.py

  Log Message:
  -----------
  handle bsid==None in assertBuildset


  Commit: 3b4aa6efe1ccfec5b7b0cde7a856753d47411ab3
      https://github.com/buildbot/buildbot/commit/3b4aa6efe1ccfec5b7b0cde7a856753d47411ab3
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/test/unit/test_master.py

  Log Message:
  -----------
  fix typo


  Commit: d2d79cffde5a67466fa490768fb2d37666ad095d
      https://github.com/buildbot/buildbot/commit/d2d79cffde5a67466fa490768fb2d37666ad095d
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/test/unit/test_data_buildsets.py

  Log Message:
  -----------
  Test fixes per tomprince's review

* add docstrings for test utils in test_data_buildsets.py
* use symbols for arbitrary epoch timestamps


  Commit: 73812b74f16146e06482804303c5f3c64804c72c
      https://github.com/buildbot/buildbot/commit/73812b74f16146e06482804303c5f3c64804c72c
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/test/unit/test_schedulers_dependent.py

  Log Message:
  -----------
  add docstrings and factor out fake messages in Dependent tests


  Commit: 5ba76849844b9f6692b0534ae31b2c06926e61c0
      https://github.com/buildbot/buildbot/commit/5ba76849844b9f6692b0534ae31b2c06926e61c0
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/schedulers/trysched.py

  Log Message:
  -----------
  fixup! use ascii2unicode, rather than .decode('utf-8')


  Commit: 39e17318e63c4731b3b28e5852637afa33aa3aef
      https://github.com/buildbot/buildbot/commit/39e17318e63c4731b3b28e5852637afa33aa3aef
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_data_buildsets.py
    M master/buildbot/test/unit/test_schedulers_base.py

  Log Message:
  -----------
  refactor base scheduler tests to not use assertBuildset


  Commit: ed70aab0baf741ed343b0e11728e8cc94390adf3
      https://github.com/buildbot/buildbot/commit/ed70aab0baf741ed343b0e11728e8cc94390adf3
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/schedulers/base.py
    M master/buildbot/schedulers/timed.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_data_buildsets.py
    M master/buildbot/test/unit/test_schedulers_dependent.py
    M master/buildbot/test/unit/test_schedulers_forcesched.py
    M master/buildbot/test/unit/test_schedulers_timed_NightlyTriggerable.py
    M master/buildbot/test/unit/test_schedulers_triggerable.py
    M master/buildbot/test/unit/test_schedulers_trysched.py
    M master/buildbot/test/util/interfaces.py
    M master/buildbot/test/util/scheduler.py

  Log Message:
  -----------
  Factor out buildset addition testing

Only test schedulers' calls to the BaseScheduler addBuildsetForXxx
methods.


  Commit: db1680302f17265ce30f226942a5b57bab0852dd
      https://github.com/buildbot/buildbot/commit/db1680302f17265ce30f226942a5b57bab0852dd
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    A master/buildbot/data/buildsets.py
    M master/buildbot/data/connector.py
    M master/buildbot/master.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/buildrequest.py
    M master/buildbot/process/properties.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/schedulers/dependent.py
    M master/buildbot/schedulers/forcesched.py
    M master/buildbot/schedulers/timed.py
    M master/buildbot/schedulers/triggerable.py
    M master/buildbot/schedulers/trysched.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    A master/buildbot/test/unit/test_data_buildsets.py
    M master/buildbot/test/unit/test_data_connector.py
    M master/buildbot/test/unit/test_master.py
    M master/buildbot/test/unit/test_schedulers_base.py
    M master/buildbot/test/unit/test_schedulers_dependent.py
    M master/buildbot/test/unit/test_schedulers_forcesched.py
    M master/buildbot/test/unit/test_schedulers_timed_NightlyTriggerable.py
    M master/buildbot/test/unit/test_schedulers_triggerable.py
    M master/buildbot/test/unit/test_schedulers_trysched.py
    M master/buildbot/test/util/interfaces.py
    M master/buildbot/test/util/scheduler.py
    M master/buildbot/test/util/types/__init__.py
    M master/buildbot/test/util/types/buildsets.py
    M master/docs/developer/data.rst
    A master/docs/developer/rtype-buildset.rst

  Log Message:
  -----------
  Merge branch '9/buildset-rtype' into nine


  Commit: 6861c1b6894bfe04e83197f736d4668c863663c5
      https://github.com/buildbot/buildbot/commit/6861c1b6894bfe04e83197f736d4668c863663c5
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M master/buildbot/steps/python.py
    M master/buildbot/test/unit/test_steps_python.py

  Log Message:
  -----------
  Merge branch 'nine' of github.com:buildbot/buildbot into nine


Compare: https://github.com/buildbot/buildbot/compare/75d175517234...6861c1b6894b


More information about the Commits mailing list