Closed Bug 1041253 Opened 10 years ago Closed 10 years ago

Review request change summaries not mirrored to Bugzilla

Categories

(MozReview Graveyard :: General, defect)

Development/Staging
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcote, Unassigned)

References

Details

Attachments

(1 file)

If you include a comment when changing a review request, when, say, publishing a new patch, that comment is not mirrored over.

Example is https://reviewboard-dev.allizom.org/r/69/; when the review request was changed on July 18, 2014, 3:45 pm (off-topic: I think the server time is wrong...), the comment starting with "I noticed that ..." was not mirrored over when the new review flag was set.

Comments when closing a review request aren't mirrored over either (note that we should probably ensure that only the squashed request can be closed, and that it closes its dependent requests).
Blocks: 1021929
/r/77 - Bug 1041253 - [rbbz] Include change description when publishing review request.
Attachment #8459309 - Flags: review?(smacleod)
Looks fine to me. Just a comment about styling of the bugzilla comment we cross post.

::: pylib/rbbz/rbbz/extension.py
(Diff revision 1)
> +            comment += '\n%s' % review_request_draft.changedesc.text

if `review_request_draft.description` has a trailing new lines, this is fine.

If it does not though, could you add two new lines, so that we have a blank line between.

I also wonder if we should add some sort of title to this section when appending it. Maybe "Description of change:" or "Notes:"? I really don't feel strongly about this though, so only add it if you feel it's best.
Attachment #8459309 - Flags: review?(smacleod) → review+
::: pylib/rbbz/rbbz/extension.py
(Diff revision 1)
> +            comment += '\n%s' % review_request_draft.changedesc.text

> if `review_request_draft.description` has a trailing new lines, this is fine.

If it does not though, could you add two new lines, so that we have a blank line between.

I also wonder if we should add some sort of title to this section when appending it. Maybe "Description of change:" or "Notes:"? I really don't feel strongly about this though, so only add it if you feel it's best.
Fixed to add an extra newline if description doesn't end with a newline.

I don't think we need any extra title; it seems pretty clear, and updating patches in Bugzilla doesn't add any extra either.
Hm our comment formatting appears a bit broken, though... filed bug 1043737.
http://hg.mozilla.org/hgcustom/version-control-tools/rev/cba5e0c57f70
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: bugzilla.mozilla.org → Developer Services
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: