Merge lp://staging/~brian-murray/launchpad/api-export-can-expire into lp://staging/launchpad

Proposed by Brian Murray
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~brian-murray/launchpad/api-export-can-expire
Merge into: lp://staging/launchpad
Diff against target: 30 lines (+4/-2)
2 files modified
lib/lp/bugs/interfaces/bug.py (+3/-2)
lib/lp/bugs/stories/webservice/xx-bug.txt (+1/-0)
To merge this branch: bzr merge lp://staging/~brian-murray/launchpad/api-export-can-expire
Reviewer Review Type Date Requested Status
Eleanor Berger (community) Approve
Review via email: mp+17801@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

This branch exports IBug.can_expire in the API.

Revision history for this message
Eleanor Berger (intellectronica) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/bugs/interfaces/bug.py'
2--- lib/lp/bugs/interfaces/bug.py 2009-12-09 20:48:01 +0000
3+++ lib/lp/bugs/interfaces/bug.py 2010-01-21 02:37:14 +0000
4@@ -271,11 +271,12 @@
5 "a message was sent to the bug reporter, and the bug is "
6 "associated with pillars that have enabled bug expiration."),
7 readonly=True)
8- can_expire = Bool(
9+ can_expire = exported(
10+ Bool(
11 title=_("Can the Incomplete bug expire if it becomes inactive? "
12 "Expiration may happen when the bug permits expiration, "
13 "and a bugtask cannot be confirmed."),
14- readonly=True)
15+ readonly=True))
16 date_last_message = exported(
17 Datetime(title=_('Date of last bug message'),
18 required=False, readonly=True))
19
20=== modified file 'lib/lp/bugs/stories/webservice/xx-bug.txt'
21--- lib/lp/bugs/stories/webservice/xx-bug.txt 2009-11-20 04:21:24 +0000
22+++ lib/lp/bugs/stories/webservice/xx-bug.txt 2010-01-21 02:37:14 +0000
23@@ -21,6 +21,7 @@
24 attachments_collection_link: u'http://.../bugs/11/attachments'
25 bug_tasks_collection_link: u'http://.../bugs/11/bug_tasks'
26 bug_watches_collection_link: u'http://.../bugs/11/bug_watches'
27+ can_expire: False
28 cves_collection_link: u'http://.../bugs/11/cves'
29 date_created: u'2007-03-15T20:33:56.678930+00:00'
30 date_last_message: None