Merge lp:~adeuring/launchpad/expectations-bug-556499-model into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 10976 |
Proposed branch: | lp:~adeuring/launchpad/expectations-bug-556499-model |
Merge into: | lp:launchpad |
Diff against target: |
421 lines (+199/-4) 16 files modified
lib/lp/bugs/doc/bug-reported-acknowledgement.txt (+122/-0) lib/lp/bugs/interfaces/bugtarget.py (+10/-0) lib/lp/registry/configure.zcml (+8/-3) lib/lp/registry/interfaces/projectgroup.py (+10/-0) lib/lp/registry/model/distribution.py (+1/-0) lib/lp/registry/model/distributionsourcepackage.py (+22/-0) lib/lp/registry/model/distroseries.py (+5/-0) lib/lp/registry/model/product.py (+1/-0) lib/lp/registry/model/productseries.py (+5/-0) lib/lp/registry/model/projectgroup.py (+1/-0) lib/lp/registry/model/sourcepackage.py (+5/-0) lib/lp/registry/stories/webservice/xx-distribution-source-package.txt (+2/-1) lib/lp/registry/stories/webservice/xx-distribution.txt (+1/-0) lib/lp/registry/stories/webservice/xx-distroseries.txt (+1/-0) lib/lp/registry/stories/webservice/xx-project-registry.txt (+4/-0) lib/lp/registry/stories/webservice/xx-source-package.txt (+1/-0) |
To merge this branch: | bzr merge lp:~adeuring/launchpad/expectations-bug-556499-model |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | code | Approve | |
Review via email: mp+27052@code.launchpad.net |
Description of the change
This branch was originally written by intellectronica. He was not able to land it, so I ran ec2 test on it in order to get it merged.
This test run rsulted in a number of failures; most of them are webservice related: The new property bug_reported_
Also, I added the still missing property lp.registry.
I could not figure out a good test for it: doc/bug-
tests: all the changed tests, and
./bin/test -t paches-view.txt
(this page test failed due to the missing property DSP.bug_
no lint
The diff against Tom's lastest work:
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -147,6 +147,27 @@
+ def _get_bug_
+ """See `IBugTarget`."""
+ dsp_in_db = self._self_
+ if dsp_in_db is not None:
+ return dsp_in_
+ return None
+
+ def _set_bug_
+ """See `IBugTarget`."""
+ dsp_in_db = self._self_
+ if dsp_in_db is None:
+ dsp_in_db = DistributionSou
+ dsp_in_
+ dsp_in_
+ Store.of(
+ dsp_in_
+
+ bug_reported_
+ _get_bug_
+ _set_bug_
+
def _get_max_
"""See `IHasBugs`."""
dsp_in_db = self._self_
@@ -505,6 +526,7 @@
bug_
+ bug_reported_
max_bug_heat = Int()
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -9,7 +9,8 @@
... name='mozilla-
>>> print pretty(
- {u'bug_
+ {u'bug_
+ u'bug_reporting
u'
u'
u'http_etag': u'...',
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -23,6 +23,7 @@
all_
archive_
archives_
+ bug_reported_
bug_
bug_
cdimage_
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -60,6 +60,7 @@
active_
u'http://
all_
+ bug_reported_
bug_
changeslist: <email address hidden>'
date_created: u'2006-
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -64,6 +64,7 @@
active: True
active_
all_
+ bug_reported_
bug_
bug_
date_created: u'...'
@@ -150,6 +151,7 @@
active_
all_
brand_link: u'http://
+ bug_reported_
bug_
bug_
bug_
@@ -212,6 +214,7 @@
active_
all_
brand_link: u'http://
+ bug_reported_
bug_
bug_
bug_
@@ -861,6 +864,7 @@
active_
all_
branch_link: u'http://
+ bug_reported_
bug_
date_created: u'...'
display_name: u'foobadoo'
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -29,6 +29,7 @@
... name='evolution
>>> pprint_
+ bug_reported_
bug_
displayname: u'evolution in Ubuntu Hoary'
distributi
r=me on the changes on top of intellectronica's branch