Jump to >

reviewboard.reviews.features

Feature definitions for reviews.

class ClassBasedActionsFeature(register=True)[source]

Bases: djblets.features.feature.Feature

A feature for class-based actions.

With this enabled, extensions may use the new class-based action classes instead of the old-style dict actions.

feature_id = u'reviews.class_based_actions'[source]
name = _(u'Class-Based Actions')[source]
level = 0[source]
summary = _(u'Allow using class-based actions with extension hooks.')[source]
class GeneralCommentsFeature(register=True)[source]

Bases: djblets.features.feature.Feature

A feature for general comments.

General comments allow comments to be created directly on a review request without accompanying file attachment or diff. These can be used to raise issues with the review request itself, such as its summary or description, or general implementation issues.

feature_id = u'reviews.general_comments'[source]
name = _(u'General Comments')[source]
level = 100[source]
summary = _(u'Allow comments on review requests without an associated file attachment or diff.')[source]
class IssueVerificationFeature(register=True)[source]

Bases: djblets.features.feature.Feature

A feature for issue verification.

Issue verification allows reviewers to mark that an issue requires verification before closing. In this case, the author of the change will be able to mark the issue as “Fixed”, but then the original author of the comment will need to verify it before the issue is closed.

feature_id = u'reviews.issue_verification'[source]
name = _(u'Issue Verification')[source]
level = 100[source]
summary = _(u'Allow comment authors to require that issues be verified by them before being closed')[source]
class StatusUpdatesFeature(register=True)[source]

Bases: djblets.features.feature.Feature

A feature for status updates.

A status update is a way for third-party tools to provide feedback on a review request. In the past, this was done just as a normal review. Status updates allow those tools (via some integration like Review Bot) to mark their state (such as pending, success, failure, or error) and then associate that with a review.

feature_id = u'reviews.status_updates'[source]
name = _(u'Status Updates')[source]
level = 100[source]
summary = _(u'A way for external tools to do checks on a review request and report the results of those checks.')[source]