[Buildbot-commits] [buildbot/buildbot] a3c21f: refactor db.state connector to have a synchronous ...
GitHub
noreply at github.com
Thu Feb 26 17:35:59 UTC 2015
Branch: refs/heads/master
Home: https://github.com/buildbot/buildbot
Commit: a3c21f3a96073149464a823357a39231c9656b90
https://github.com/buildbot/buildbot/commit/a3c21f3a96073149464a823357a39231c9656b90
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/buildbot/db/state.py
Log Message:
-----------
refactor db.state connector to have a synchronous api
Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>
Commit: 7b290830bfbd4e51c9b06c2e258290208d77fb2f
https://github.com/buildbot/buildbot/commit/7b290830bfbd4e51c9b06c2e258290208d77fb2f
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
A master/buildbot/db/dbconfig.py
A master/buildbot/test/unit/test_db_dbconfig.py
M master/buildbot/test/util/db.py
M master/docs/developer/database.rst
A master/docs/manual/cfg-dbconfig.rst
M master/docs/manual/configuration.rst
M master/setup.py
Log Message:
-----------
add dbconfig
DbConfig is an utility for master.cfg to get easy key/value storage in the buildbot database
DbConfig can get and store any jsonable object to the db for use by other masters or separate ui plugins to edit them.
The design is voluntary simplistic, the focus is on the easy use.
Example ::
from buildbot.plugins import util, buildslave
dbConfig = util.DbConfig(c['db']['db_url'], basedir)
slaves = dbConfig.get("slaves")
c['slaves'] = [
buildslave.BuildSlave(slave['name'], slave['passwd'],
properties=slave.get('properties')),
for slave in slaves
]
Commit: 8a0aaf1fab70cead1b18b4c8d160a22c63d6fd59
https://github.com/buildbot/buildbot/commit/8a0aaf1fab70cead1b18b4c8d160a22c63d6fd59
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/buildbot/db/dbconfig.py
M master/buildbot/test/unit/test_db_dbconfig.py
M master/setup.py
Log Message:
-----------
fix dbconfig api and add more unit tests
Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>
Commit: b8b2cb963bacc2fe44acbf8d1cd6dbf05ccccc06
https://github.com/buildbot/buildbot/commit/b8b2cb963bacc2fe44acbf8d1cd6dbf05ccccc06
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/docs/manual/cfg-dbconfig.rst
Log Message:
-----------
enhance doc
Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>
Commit: 4f7cef3136d34d585cfcca9d0c0a1550f2af21bd
https://github.com/buildbot/buildbot/commit/4f7cef3136d34d585cfcca9d0c0a1550f2af21bd
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/buildbot/db/connector.py
Log Message:
-----------
enhance the message about db upgrade
Now people can just copy paste the command
Commit: 0c1a59d0e08e1cf420126c76e718c04725915805
https://github.com/buildbot/buildbot/commit/0c1a59d0e08e1cf420126c76e718c04725915805
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/buildbot/db/dbconfig.py
M master/buildbot/test/unit/test_db_dbconfig.py
Log Message:
-----------
dbconfig: support the case where the db is not initialized
Instead of just crashing, return the default value or KeyError
buildbot db init code will explain how to create the tables
Commit: 2196751da643ab563ea5d3dc528fafd085a94489
https://github.com/buildbot/buildbot/commit/2196751da643ab563ea5d3dc528fafd085a94489
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/buildbot/db/dbconfig.py
M master/buildbot/test/unit/test_db_dbconfig.py
Log Message:
-----------
support case for trash db_url
Commit: c6cac92abb33cfc4ad8bfd8125a43d5487f06e1c
https://github.com/buildbot/buildbot/commit/c6cac92abb33cfc4ad8bfd8125a43d5487f06e1c
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/docs/manual/cfg-dbconfig.rst
Log Message:
-----------
enhance doc
Commit: 48787841221a69be6d583163e7929c665181b5c8
https://github.com/buildbot/buildbot/commit/48787841221a69be6d583163e7929c665181b5c8
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
Changed paths:
M master/buildbot/config.py
M master/buildbot/db/dbconfig.py
Log Message:
-----------
factorize db_url parsing code
Commit: 05cc1b9260d06a1ca9e8b2a615ac5324105d061b
https://github.com/buildbot/buildbot/commit/05cc1b9260d06a1ca9e8b2a615ac5324105d061b
Author: Mikhail Sobolev <mss at mawhrin.net>
Date: 2015-02-26 (Thu, 26 Feb 2015)
Changed paths:
M master/buildbot/config.py
M master/buildbot/db/connector.py
A master/buildbot/db/dbconfig.py
M master/buildbot/db/state.py
A master/buildbot/test/unit/test_db_dbconfig.py
M master/buildbot/test/util/db.py
M master/docs/developer/database.rst
A master/docs/manual/cfg-dbconfig.rst
M master/docs/manual/configuration.rst
M master/setup.py
Log Message:
-----------
Merge pull request #1548 from tardyp/dbconfig
Dbconfig
Compare: https://github.com/buildbot/buildbot/compare/fb435b24092b...05cc1b9260d0
More information about the Commits
mailing list