Merge lp:~brian-murray/launchpad/api-export-heat into lp:launchpad/db-devel

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

This exports a bug's heat in the API.

Revision history for this message
Eleanor Berger (intellectronica) wrote :

r=me

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 2010-01-13 10:07:51 +0000
3+++ lib/lp/bugs/interfaces/bug.py 2010-01-19 21:52:16 +0000
4@@ -296,9 +296,9 @@
5 value_type=Reference(schema=IPerson),
6 readonly=True))
7
8- heat = Int(
9- title=_("The 'heat' of the bug"),
10- required=False, readonly=True)
11+ heat = exported(
12+ Int(title=_("The 'heat' of the bug"),
13+ required=False, readonly=True))
14
15 # Adding related BugMessages provides a hook for getting at
16 # BugMessage.visible when building bug comments.
17
18=== modified file 'lib/lp/bugs/stories/webservice/xx-bug.txt'
19--- lib/lp/bugs/stories/webservice/xx-bug.txt 2009-11-20 04:21:24 +0000
20+++ lib/lp/bugs/stories/webservice/xx-bug.txt 2010-01-19 21:52:16 +0000
21@@ -29,6 +29,7 @@
22 description: u"I've had problems when switching..."
23 duplicate_of_link: None
24 duplicates_collection_link: u'http://.../bugs/11/duplicates'
25+ heat: 0
26 id: 11
27 messages_collection_link: u'http://.../bugs/11/messages'
28 name: None

Subscribers

People subscribed via source and target branches

to status/vote changes: