Merge lp:~wgrant/launchpad/sprb-new-model-columns into lp:launchpad/db-devel
Proposed by
William Grant
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Tim Penhey | ||||||||
Approved revision: | not available | ||||||||
Merged at revision: | not available | ||||||||
Proposed branch: | lp:~wgrant/launchpad/sprb-new-model-columns | ||||||||
Merge into: | lp:launchpad/db-devel | ||||||||
Prerequisite: | lp:~wgrant/launchpad/sprbu-columns-to-sprb | ||||||||
Diff against target: |
355 lines (+89/-61) 9 files modified
.bzrignore (+1/-0) database/sampledata/current-dev.sql (+0/-7) database/sampledata/current.sql (+0/-7) database/schema/security.cfg (+0/-2) lib/lp/buildmaster/model/buildbase.py (+29/-1) lib/lp/code/model/sourcepackagerecipebuild.py (+13/-19) lib/lp/soyuz/doc/build.txt (+1/-1) lib/lp/soyuz/model/build.py (+1/-24) lib/lp/soyuz/tests/test_build.py (+44/-0) |
||||||||
To merge this branch: | bzr merge lp:~wgrant/launchpad/sprb-new-model-columns | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+19172@code.launchpad.net |
Commit message
Drop SourcePackageRe
To post a comment you must log in.
This branch extends the prerequisite DB branch by adding the new dependencies, upload_log and pocket columns to the SourcePackageRe cipeBuild model class. It also moves Build.storeUplo adLog onto BuildBase, where it can be used by SPRB.
I had to alter BuildBase. storeBuildInfo to explicitly turn the dependencies str into a unicode, since plain Storm is less forgiving than its SQLObject compatibility layer. Since the method didn't appear to be tested anywhere, I've added some unit tests for the dependencies behaviour.