[Buildbot-commits] [buildbot/buildbot] 7d3a8b: move addSourceStampSet to the SourceStampConnector

GitHub noreply at github.com
Tue Dec 25 00:13:44 UTC 2012


  Branch: refs/heads/9/sourcestamps
  Home:   https://github.com/buildbot/buildbot
  Commit: 7d3a8bbe746ccb9aee54cd20a9338eb0805746ac
      https://github.com/buildbot/buildbot/commit/7d3a8bbe746ccb9aee54cd20a9338eb0805746ac
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-12-09 (Sun, 09 Dec 2012)

  Changed paths:
    M master/buildbot/db/connector.py
    M master/buildbot/db/sourcestamps.py
    R master/buildbot/db/sourcestampsets.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/schedulers/trysched.py
    M master/buildbot/sourcestamp.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/unit/test_db_sourcestamps.py
    R master/buildbot/test/unit/test_db_sourcestampsets.py
    M master/buildbot/test/util/scheduler.py
    M master/docs/developer/database.rst

  Log Message:
  -----------
  move addSourceStampSet to the SourceStampConnector


  Commit: 7147a007205aa90b79c719d0000847d12055e624
      https://github.com/buildbot/buildbot/commit/7147a007205aa90b79c719d0000847d12055e624
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2012-12-24 (Mon, 24 Dec 2012)

  Changed paths:
    M README.md
    M master/buildbot/clients/debug.py
    M master/buildbot/clients/tryclient.py
    M master/buildbot/data/buildsets.py
    M master/buildbot/data/changes.py
    M master/buildbot/data/connector.py
    A master/buildbot/data/sourcestamps.py
    M master/buildbot/db/base.py
    M master/buildbot/db/buildsets.py
    M master/buildbot/db/changes.py
    A master/buildbot/db/migrate/versions/026_sourcestamps_refactor.py
    M master/buildbot/db/model.py
    M master/buildbot/db/sourcestamps.py
    M master/buildbot/interfaces.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/buildrequest.py
    M master/buildbot/process/debug.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
    R master/buildbot/sourcestamp.py
    M master/buildbot/status/build.py
    M master/buildbot/status/builder.py
    M master/buildbot/status/buildrequest.py
    M master/buildbot/status/web/grid.py
    M master/buildbot/status/words.py
    M master/buildbot/steps/trigger.py
    M master/buildbot/test/fake/fakedata.py
    M master/buildbot/test/fake/fakedb.py
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/fake/fakemq.py
    M master/buildbot/test/integration/test_upgrade.py
    M master/buildbot/test/regressions/test_import_unicode_changes.py
    M master/buildbot/test/regressions/test_oldpaths.py
    M master/buildbot/test/regressions/test_shell_command_properties.py
    R master/buildbot/test/regressions/test_sourcestamp_revision.py
    M master/buildbot/test/scenarios/base.py
    M master/buildbot/test/unit/test_changes_changes.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_data_builders.py
    M master/buildbot/test/unit/test_data_buildsets.py
    M master/buildbot/test/unit/test_data_changes.py
    M master/buildbot/test/unit/test_data_connector.py
    M master/buildbot/test/unit/test_data_masters.py
    A master/buildbot/test/unit/test_data_sourcestamps.py
    M master/buildbot/test/unit/test_db_builders.py
    M master/buildbot/test/unit/test_db_buildrequests.py
    M master/buildbot/test/unit/test_db_builds.py
    M master/buildbot/test/unit/test_db_buildsets.py
    M master/buildbot/test/unit/test_db_changes.py
    M master/buildbot/test/unit/test_db_masters.py
    A master/buildbot/test/unit/test_db_migrate_versions_026_sourcestamps_refactor.py
    M master/buildbot/test/unit/test_db_schedulers.py
    M master/buildbot/test/unit/test_db_sourcestamps.py
    M master/buildbot/test/unit/test_master.py
    M master/buildbot/test/unit/test_process_builder.py
    M master/buildbot/test/unit/test_process_buildrequest.py
    M master/buildbot/test/unit/test_process_users_manual.py
    M master/buildbot/test/unit/test_process_users_users.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
    R master/buildbot/test/unit/test_sourcestamp.py
    M master/buildbot/test/unit/test_status_build.py
    M master/buildbot/test/unit/test_status_client.py
    M master/buildbot/test/unit/test_status_mail.py
    M master/buildbot/test/unit/test_status_master.py
    M master/buildbot/test/unit/test_steps_trigger.py
    A master/buildbot/test/unit/test_test_util_validation.py
    R master/buildbot/test/unit/test_test_util_verifier.py
    M master/buildbot/test/util/connector_component.py
    M master/buildbot/test/util/db.py
    M master/buildbot/test/util/scheduler.py
    R master/buildbot/test/util/types/__init__.py
    R master/buildbot/test/util/types/builders.py
    R master/buildbot/test/util/types/buildsets.py
    R master/buildbot/test/util/types/changes.py
    R master/buildbot/test/util/types/masters.py
    R master/buildbot/test/util/types/schedulers.py
    A master/buildbot/test/util/validation.py
    R master/buildbot/test/util/verifier.py
    A master/buildbot/util/pickle_prereqs.py
    M master/docs/developer/data.rst
    M master/docs/developer/database.rst
    M master/docs/developer/rtype-buildset.rst
    M master/docs/developer/rtype-change.rst
    A master/docs/developer/rtype-sourcestamp.rst
    M master/docs/manual/cfg-builders.rst
    M master/docs/manual/cmdline.rst
    M master/docs/manual/customization.rst
    M master/docs/relnotes/index.rst

  Log Message:
  -----------
  Sourcestamps refactor (WARNING!)

WARNING: this breaks the existing status hierarchy; in particular,
   BuildStatus.getSourceStamps now returns nothing.  It's all
   downhill from here!

Sourcestampsets are gone; instead, buildsets have a collection of
changes (roughly equivalent to the existing sourcestampsets, but treated
as a simple many:many relationship instead); each change has one
sourcestamp, and sourcestamps are uniquely identified.

More importantly, SourceStamps are gone!  The class has moved to the
pickle_prereqs module for use when importing pickles, but is otherwise
gone from Buildbot.  This has required significant changes to the
process classes.

All of this begins to break the status hierarchy, which will disappear
by the end of the nine process anyway.  In particular,
BuildStatus.getSourceStamps now always returns [].

This commit also introduces a new method of validating data types,
allowing more flexible specification of nested types.


Compare: https://github.com/buildbot/buildbot/compare/7d3a8bbe746c^...7147a007205a


More information about the Commits mailing list