Merge lp:~stub/launchpad/dbpolicy-syntax into lp:launchpad
Proposed by
Stuart Bishop
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
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) | Approve | ||
Review via email: mp+19854@code.launchpad.net |
Commit message
Turn database policies into Python context managers for use with the 'with' statement
To post a comment you must log in.
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!).