Jump to >

reviewboard.reviews.signals

Signals related to review requests, reviews, and replies.

review_request_publishing = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review request is publishing.

Parameters:
review_request_published = <django.dispatch.dispatcher.Signal object>[source]

changedesc (reviewboard.changedescs.models.ChangeDescription) – The change description associated with the publish, if any.

review_request_closing = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review request is about to be closed.

Parameters:
  • user (django.contrib.auth.models.User) – The user closing the review request.
  • review_request (reviewboard.reviews.models.ReviewRequest) – The review request being closed.
  • close_type (unicode) – Describes how the review request is being closed. It is one of SUBMITTED or DISCARDED.
  • type (unicode) –

    Identical to close_type, but deprecated because type is a built-in.

    Deprecated since version 3.0: Deprecated in favour of close_type.

  • description (unicode) – The provided closing description.
  • rich_text (bool) – Whether or not the description is rich text (Markdown).
review_request_closed = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review request has been closed.

Parameters:
  • user (django.contrib.auth.models.User) – The user who closed the review request.
  • review_request (reviewboard.reviews.models.ReviewRequest) – The review request that was closed.
  • close_type (unicode) – Describes how the review request was closed. It is one of SUBMITTED or DISCARDED.
  • type (unicode) –

    Identical to close_type, but deprecated because type is a builtin.

    Deprecated since version 3.0: Deprecated in favour of close_type.

  • description (unicode) – The provided closing description.
  • rich_text (bool) – Whether or not the description is rich text (Markdown).
review_request_reopening = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review request is about to be reopened.

Parameters:
review_request_reopened = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review request has been reopened.

Parameters:
review_publishing = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review is being published.

Parameters:
review_ship_it_revoking = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a Ship It is about to be revoked from a review.

Listeners can raise a RevokeShipItError to stop the Ship It from being revoking.

Parameters:
  • user (django.contrib.auth.models.User) – The user who requested to revoke the Ship It.
  • review (reviewboard.reviews.models.review.Review) – The review that will have its Ship It revoked.
review_ship_it_revoked = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a Ship It has been revoked from a review.

Parameters:
  • user (django.contrib.auth.models.User) – The user who revoked the Ship It.
  • review (reviewboard.reviews.models.review.Review) – The review that had its Ship It revoked.
review_published = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a review has been published.

Parameters:
reply_publishing = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a reply to a review is being published.

Parameters:
reply_published = <django.dispatch.dispatcher.Signal object>[source]

Emitted when a reply to a review has ben published.

Parameters: