[Buildbot-commits] [buildbot/buildbot] 8bab60: ChangeSources: implement the resource type in term...

GitHub noreply at github.com
Tue May 7 01:41:19 UTC 2013


  Branch: refs/heads/nine
  Home:   https://github.com/buildbot/buildbot
  Commit: 8bab6038342d562b5fa57c36e8f9c164dfab9509
      https://github.com/buildbot/buildbot/commit/8bab6038342d562b5fa57c36e8f9c164dfab9509
  Author: Jared Grubb <jgrubb at apple.com>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M README.md
    M master/buildbot/changes/base.py
    M master/buildbot/changes/bonsaipoller.py
    M master/buildbot/changes/gerritchangesource.py
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/changes/hgpoller.py
    M master/buildbot/changes/p4poller.py
    M master/buildbot/changes/pb.py
    M master/buildbot/changes/svnpoller.py
    A master/buildbot/data/changesources.py
    M master/buildbot/data/masters.py
    A master/buildbot/db/changesources.py
    A master/buildbot/db/migrate/versions/029_add_changesources_table.py
    M master/buildbot/db/model.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_changes_base.py
    M master/buildbot/test/unit/test_changes_bonsaipoller.py
    M master/buildbot/test/unit/test_changes_gerritchangesource.py
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_changes_p4poller.py
    M master/buildbot/test/unit/test_changes_pb.py
    M master/buildbot/test/unit/test_changes_svnpoller.py
    M master/buildbot/test/unit/test_config.py
    A master/buildbot/test/unit/test_data_changesources.py
    M master/buildbot/test/unit/test_data_masters.py
    M master/buildbot/test/unit/test_data_schedulers.py
    A master/buildbot/test/unit/test_db_changesources.py
    A master/buildbot/test/unit/test_db_migrate_versions_029_add_changesources_table.py
    M master/buildbot/test/unit/test_db_schedulers.py
    M master/buildbot/test/unit/test_status_web_change_hooks_poller.py
    M master/buildbot/test/util/changesource.py
    M master/buildbot/test/util/pbmanager.py
    M master/buildbot/test/util/validation.py
    M master/docs/developer/data.rst
    M master/docs/developer/db.rst
    A master/docs/developer/rtype-changesource.rst
    M master/docs/developer/rtype-scheduler.rst

  Log Message:
  -----------
  ChangeSources: implement the resource type in terms of the new data interfaces

This is modelled fairly closely to the Schedulers changes.

I've gone through all the CS classes and:

 - add a 'name' parameter, and generate one if it's not explicitly set. These will be used to 'claim' the CS for a particular master, so it needs to be meaningful in all cases.
 - use activate/deactivate to start and stop the CS. Usually this means just changing startService/stopService to activate/deactivate


  Commit: bb98d16dcdbcdd107126603c5ce9834c9bb4a113
      https://github.com/buildbot/buildbot/commit/bb98d16dcdbcdd107126603c5ce9834c9bb4a113
  Author: Jared Grubb <jgrubb at apple.com>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M master/buildbot/changes/bonsaipoller.py
    M master/buildbot/changes/gerritchangesource.py
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/changes/hgpoller.py
    M master/buildbot/changes/p4poller.py
    M master/buildbot/changes/pb.py
    M master/buildbot/changes/svnpoller.py
    M master/buildbot/db/changesources.py
    M master/buildbot/db/model.py

  Log Message:
  -----------
  ChangeSourceData: Address review comments


  Commit: 265b7d8633955af6541395de745937c2b5f31329
      https://github.com/buildbot/buildbot/commit/265b7d8633955af6541395de745937c2b5f31329
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-05-06 (Mon, 06 May 2013)

  Changed paths:
    M README.md
    M master/buildbot/changes/base.py
    M master/buildbot/changes/bonsaipoller.py
    M master/buildbot/changes/gerritchangesource.py
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/changes/hgpoller.py
    M master/buildbot/changes/p4poller.py
    M master/buildbot/changes/pb.py
    M master/buildbot/changes/svnpoller.py
    A master/buildbot/data/changesources.py
    M master/buildbot/data/masters.py
    A master/buildbot/db/changesources.py
    A master/buildbot/db/migrate/versions/029_add_changesources_table.py
    M master/buildbot/db/model.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_changes_base.py
    M master/buildbot/test/unit/test_changes_bonsaipoller.py
    M master/buildbot/test/unit/test_changes_gerritchangesource.py
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_changes_p4poller.py
    M master/buildbot/test/unit/test_changes_pb.py
    M master/buildbot/test/unit/test_changes_svnpoller.py
    M master/buildbot/test/unit/test_config.py
    A master/buildbot/test/unit/test_data_changesources.py
    M master/buildbot/test/unit/test_data_masters.py
    M master/buildbot/test/unit/test_data_schedulers.py
    A master/buildbot/test/unit/test_db_changesources.py
    A master/buildbot/test/unit/test_db_migrate_versions_029_add_changesources_table.py
    M master/buildbot/test/unit/test_db_schedulers.py
    M master/buildbot/test/unit/test_status_web_change_hooks_poller.py
    M master/buildbot/test/util/changesource.py
    M master/buildbot/test/util/pbmanager.py
    M master/buildbot/test/util/validation.py
    M master/docs/developer/data.rst
    M master/docs/developer/db.rst
    A master/docs/developer/rtype-changesource.rst
    M master/docs/developer/rtype-scheduler.rst

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


  Commit: 529ca8bebfa2b5bbc0bb4198c26e87c98f0f3ae0
      https://github.com/buildbot/buildbot/commit/529ca8bebfa2b5bbc0bb4198c26e87c98f0f3ae0
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-05-06 (Mon, 06 May 2013)

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

  Log Message:
  -----------
  fix pyflakes


Compare: https://github.com/buildbot/buildbot/compare/b03f8053326f...529ca8bebfa2


More information about the Commits mailing list