Merge lp:~stub/launchpad/dbpolicy-syntax into lp:launchpad
Proposed by
Stuart Bishop
on 2010-02-22
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-02-22 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~stub/launchpad/dbpolicy-syntax |
| Merge into: | lp:launchpad |
| Diff against target: |
211 lines (+160/-0) 5 files modified
lib/canonical/launchpad/doc/db-policy.txt (+126/-0) lib/canonical/launchpad/doc/storm.txt (+5/-0) lib/canonical/launchpad/ftests/test_system_documentation.py (+4/-0) lib/canonical/launchpad/webapp/dbpolicy.py (+11/-0) lib/canonical/launchpad/webapp/interfaces.py (+14/-0) |
| To merge this branch: | bzr merge lp:~stub/launchpad/dbpolicy-syntax |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2010-02-22 | Approve on 2010-02-22 | |
|
Review via email:
|
|||
Commit Message
Turn database policies into Python context managers for use with the 'with' statement
To post a comment you must log in.
| Stuart Bishop (stub) wrote : | # |
lp:~stub/launchpad/dbpolicy-syntax
updated
on 2010-02-22
- 10357. By Stuart Bishop on 2010-02-22
-
Interfaces don't have self arguments
- 10358. By Stuart Bishop on 2010-02-22
-
typos
review:
Approve

People have been asking how to get scripts making use of the slave databases (yay!). This can already be done, but I'm taking the opportunity to improve the syntax of installing database policies and thus nicer, readable documentation (yay!).