Merge lp:~thekorn/launchpad/affects_in_interleaved_activitylog into lp:launchpad/db-devel

Proposed by Markus Korn
Status: Merged
Merged at revision: not available
Proposed branch: lp:~thekorn/launchpad/affects_in_interleaved_activitylog
Merge into: lp:launchpad/db-devel
Diff against target: 41 lines (+23/-0)
2 files modified
lib/lp/bugs/browser/bugtask.py (+1/-0)
lib/lp/bugs/stories/bugs/xx-bug-activity.txt (+22/-0)
To merge this branch: bzr merge lp:~thekorn/launchpad/affects_in_interleaved_activitylog
Reviewer Review Type Date Requested Status
Paul Hummer (community) code Approve
Review via email: mp+16261@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Markus Korn (thekorn) wrote :

This branch adds changes to the affects field of a task to the interleaved activity log, by showing changes like:
 "affects: mozilla-firefox (Ubuntu) → linux-source-2.6.15 (Ubuntu)"
The related bugreport has a preview as a screenshot.

Revision history for this message
Paul Hummer (rockstar) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/lp/bugs/browser/bugtask.py'
--- lib/lp/bugs/browser/bugtask.py 2009-12-12 00:27:49 +0000
+++ lib/lp/bugs/browser/bugtask.py 2009-12-17 00:23:14 +0000
@@ -866,6 +866,7 @@
866 'summary',866 'summary',
867 'tags',867 'tags',
868 'visibility',868 'visibility',
869 'affects',
869 bugtask_change_re,870 bugtask_change_re,
870 ]871 ]
871872
872873
=== modified file 'lib/lp/bugs/stories/bugs/xx-bug-activity.txt'
--- lib/lp/bugs/stories/bugs/xx-bug-activity.txt 2009-10-23 18:07:36 +0000
+++ lib/lp/bugs/stories/bugs/xx-bug-activity.txt 2009-12-17 00:23:14 +0000
@@ -277,3 +277,25 @@
277 status:277 status:
278 Confirmed → New278 Confirmed → New
279 --------279 --------
280
281If a target of a bug task is changed the old and new value will be shown.
282
283 >>> admin_browser.open(
284 ... 'http://bugs.launchpad.dev/ubuntu/+source/mozilla-firefox/+bug/'
285 ... '1/+editstatus')
286 >>> admin_browser.getControl(
287 ... 'Package').value = 'linux-source-2.6.15'
288 >>> admin_browser.getControl("Save Changes").click()
289 >>> print_comments(admin_browser.contents)
290 Sample Person
291 ...
292 Foo Bar
293 wrote
294 ...
295 --------
296 Foo Bar
297 ...
298 affects:
299 mozilla-firefox (Ubuntu) → linux-source-2.6.15 (Ubuntu)
300 --------
301

Subscribers

People subscribed via source and target branches

to status/vote changes: