[Buildbot-commits] [buildbot/buildbot] 9bdc51: Log queries during upgrade tests, and compare inde...

noreply at github.com noreply at github.com
Wed Nov 30 03:38:38 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot

  Commit: 9bdc51d8054550e67d4131d48c4047cc290f0d41
      https://github.com/buildbot/buildbot/commit/9bdc51d8054550e67d4131d48c4047cc290f0d41
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/buildbot/test/integration/test_upgrade.py

  Log Message:
  -----------
  Log queries during upgrade tests, and compare indexes

Note that this fails: none of the changes or schedulers indexes exist
after upgrade with SQLite (Which is the only DB that the upgrade tests
use).  Hand verification shows that they do exist with MySQL and
Postgres.


  Commit: ae887a9dacbf22711f848352f308860ed07b4017
      https://github.com/buildbot/buildbot/commit/ae887a9dacbf22711f848352f308860ed07b4017
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/buildbot/db/migrate/versions/016_restore_buildrequest_indices.py
  A master/buildbot/db/migrate/versions/017_restore_other_indices.py
  M master/buildbot/test/unit/test_db_migrate_versions_016_restore_buildrequest_indices.py
  A master/buildbot/test/unit/test_db_migrate_versions_017_restore_other_indices.py

  Log Message:
  -----------
  more index fixes

This restores changes_author changes_branch changes_category
changes_revision changes_when_timestamp name_and_class that were
accidentally deleted on SQLite, and also fixes the uniqueness constraint
on users.identifier.


  Commit: de15bdf49ee3920c18b2eddb6e56ca3df4025245
      https://github.com/buildbot/buildbot/commit/de15bdf49ee3920c18b2eddb6e56ca3df4025245
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/buildbot/test/integration/test_upgrade.py
  M master/buildbot/test/util/db.py

  Log Message:
  -----------
  try an empty upgrade of the real db, too, and give better diffs of indexes


  Commit: de676629f55a012553d90e12811f1000a1a569fc
      https://github.com/buildbot/buildbot/commit/de676629f55a012553d90e12811f1000a1a569fc
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/buildbot/db/migrate/versions/017_restore_other_indices.py
  M master/buildbot/db/model.py

  Log Message:
  -----------
  move object_identity index into a separate index object


  Commit: 758743661897250985341f3e3132424cb88e3138
      https://github.com/buildbot/buildbot/commit/758743661897250985341f3e3132424cb88e3138
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/buildbot/db/migrate/versions/017_restore_other_indices.py
  M master/buildbot/db/model.py
  M master/buildbot/test/integration/test_upgrade.py
  M master/buildbot/test/unit/test_db_migrate_versions_017_restore_other_indices.py

  Log Message:
  -----------
  fixes for all supported database engines


  Commit: 127a9fe523c786f73f6b6d1f4543eca659ba7fe4
      https://github.com/buildbot/buildbot/commit/127a9fe523c786f73f6b6d1f4543eca659ba7fe4
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/docs/developer/database.rst

  Log Message:
  -----------
  mention new tests and implied_indexes in docs


  Commit: 3d8126969e61ef579fc12545b0d844354bf9eaf4
      https://github.com/buildbot/buildbot/commit/3d8126969e61ef579fc12545b0d844354bf9eaf4
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2011-11-29 (Tue, 29 Nov 2011)

  Changed paths:
    M master/buildbot/db/migrate/versions/016_restore_buildrequest_indices.py
  A master/buildbot/db/migrate/versions/017_restore_other_indices.py
  M master/buildbot/db/model.py
  M master/buildbot/test/integration/test_upgrade.py
  M master/buildbot/test/unit/test_db_migrate_versions_016_restore_buildrequest_indices.py
  A master/buildbot/test/unit/test_db_migrate_versions_017_restore_other_indices.py
  M master/buildbot/test/util/db.py
  M master/docs/developer/database.rst

  Log Message:
  -----------
  Merge branch 'index-tests'

* index-tests:
  mention new tests and implied_indexes in docs
  fixes for all supported database engines
  move object_identity index into a separate index object
  try an empty upgrade of the real db, too, and give better diffs of indexes
  more index fixes
  Log queries during upgrade tests, and compare indexes

Fixes #2158


Compare: https://github.com/buildbot/buildbot/compare/2aa97b8...3d81269




More information about the Commits mailing list