old_contents: """Feature definitions for reviews."""
  
  from __future__ import unicode_literals
  
  from django.utils.translation import ugettext_lazy as _
  from djblets.features import Feature, FeatureLevel
  
  
  class GeneralCommentsFeature(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 = 'reviews.general_comments'
      name = _('General Comments')
      level = FeatureLevel.STABLE
      summary = _('Allow comments on review requests without an associated file '
                  'attachment or diff.')
  
  
  class StatusUpdatesFeature(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 = 'reviews.status_updates'
      name = _('Status Updates')
      summary = _('A way for external tools to do checks on a review request '
                  'and report the results of those checks.')
  
  
  general_comments_feature = GeneralCommentsFeature()
  status_updates_feature = StatusUpdatesFeature()
  
new_contents: """Feature definitions for reviews."""
  
  from __future__ import unicode_literals
  
  from django.utils.translation import ugettext_lazy as _
  from djblets.features import Feature, FeatureLevel
  
  
  class GeneralCommentsFeature(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 = 'reviews.general_comments'
      name = _('General Comments')
      level = FeatureLevel.STABLE
      summary = _('Allow comments on review requests without an associated file '
                  'attachment or diff.')
  
  
  class StatusUpdatesFeature(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 = 'reviews.status_updates'
      name = _('Status Updates')
      level = FeatureLevel.STABLE
      summary = _('A way for external tools to do checks on a review request '
                  'and report the results of those checks.')
  
  
  general_comments_feature = GeneralCommentsFeature()
  status_updates_feature = StatusUpdatesFeature()
  
subject: Mark status updates as stable.