Merge lp://staging/~rockstar/launchpad/no-duplicate-recipe-names into lp://staging/launchpad/db-devel
Proposed by
Paul Hummer
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 9408 | ||||
Proposed branch: | lp://staging/~rockstar/launchpad/no-duplicate-recipe-names | ||||
Merge into: | lp://staging/launchpad/db-devel | ||||
Prerequisite: | lp://staging/~rockstar/launchpad/remove-sourcepackage-from-recipe | ||||
Diff against target: |
14 lines (+10/-0) 1 file modified
database/schema/patch-2207-59-0.sql (+10/-0) |
||||
To merge this branch: | bzr merge lp://staging/~rockstar/launchpad/no-duplicate-recipe-names | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | rc | Approve | |
Björn Tillenius (community) | db/code | Needs Fixing | |
Stuart Bishop (community) | db | Approve | |
Aaron Bentley (community) | code | Approve | |
Review via email: mp+26080@code.staging.launchpad.net |
Description of the change
This branch makes sure that recipe names are unique among a single person's recipes. Aaron and I had assumed that this was so, but on his suspicion, we investigated. I wrote a test to make sure his suspicion was correct, and then wrote a db patch to be applied to make sure this is correct.
There will have to be a follow-up branch for the UI in recipe add/edit that catches the IntegrityError and puts an error in the form, but I wanted to keep this branch really simple.
To post a comment you must log in.
DB patch is good. patch-2207-59-0.sql