[Buildbot-commits] [buildbot/buildbot] c8f069: if db is empty, upgrade directly to the sqlalchemy...

GitHub noreply at github.com
Sat Nov 22 18:15:34 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: c8f069f4c7bf425fb41f28835455ba79188c2c77
      https://github.com/buildbot/buildbot/commit/c8f069f4c7bf425fb41f28835455ba79188c2c77
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M master/buildbot/db/migrate/versions/001_initial.py
    A master/buildbot/db/migrate_utils.py
    M master/buildbot/db/model.py

  Log Message:
  -----------
  if db is empty, upgrade directly to the sqlalchemy model

We now have lots of versions. The initial install takes lots of time
especially for pg or sqlite on a slow disk

If we detect no versioning, we just use sqlaclhemy to create the tables from
the model

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: 34e55c8a979c4c2c2bdc7a3924af59343e49293d
      https://github.com/buildbot/buildbot/commit/34e55c8a979c4c2c2bdc7a3924af59343e49293d
  Author: Mikhail Sobolev <mss at mawhrin.net>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M master/buildbot/db/migrate/versions/001_initial.py
    A master/buildbot/db/migrate_utils.py
    M master/buildbot/db/model.py

  Log Message:
  -----------
  Merge pull request #1377 from tardyp/dbcreation

if db is empty, upgrade directly to the sqlalchemy model


Compare: https://github.com/buildbot/buildbot/compare/326b8ff90d19...34e55c8a979c


More information about the Commits mailing list