[Buildbot-commits] [buildbot/buildbot] 0f7e5d: refactor users db connector
noreply at github.com
noreply at github.com
Mon Aug 8 15:37:37 UTC 2011
Branch: refs/heads/master
Home: https://github.com/buildbot/buildbot
Commit: 0f7e5dd307075c51c0665e44900046565c5fd7dd
https://github.com/buildbot/buildbot/commit/0f7e5dd307075c51c0665e44900046565c5fd7dd
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date: 2011-08-07 (Sun, 07 Aug 2011)
Changed paths:
M master/buildbot/db/migrate/versions/012_add_users_table.py
M master/buildbot/db/model.py
M master/buildbot/db/users.py
M master/buildbot/test/unit/test_db_users.py
Log Message:
-----------
refactor users db connector
With this change, the users connector does not encode any "smarts" about
users - it just stores unique users in the users table, along with
attributes of those users in teh users_info table. Users can be looked
up by attributes, and added if no matching attributes are found.
Commit: b260e22b498bee07ef2af9aa5f0c888528777c61
https://github.com/buildbot/buildbot/commit/b260e22b498bee07ef2af9aa5f0c888528777c61
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date: 2011-08-08 (Mon, 08 Aug 2011)
Changed paths:
M master/buildbot/db/changes.py
M master/buildbot/db/connector.py
A master/buildbot/db/migrate/versions/012_add_users_table.py
M master/buildbot/db/model.py
A master/buildbot/db/users.py
M master/buildbot/test/fake/fakedb.py
M master/buildbot/test/unit/test_db_changes.py
A master/buildbot/test/unit/test_db_users.py
M master/docs/cfg-global.texinfo
M master/docs/concepts.texinfo
Log Message:
-----------
Merge branch 'user_objects_db_commit'
* user_objects_db_commit:
refactor users db connector
fix pyflakes (many real bugs)
always return a list from changes.getChangeUids
check that getChangeUids can return multiple results
fix postgres compatibility
check that change_users is empty for addChange without a uid
fix typo
integrated users, users_info, and change_users tables to database
Compare: https://github.com/buildbot/buildbot/compare/b48732b...b260e22
More information about the Commits
mailing list