Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5007

New "Coding Rules" space

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4
    • Component/s: Rules, Web
    • Labels:
      None

      Description

      SonarQube needs a dedicated page to quickly and directly access rules without having to go through quality profiles for this. This page should be a search page that allows to search for rules using the given criteria:

      • Name
      • Key
      • Description or Rule Note
      • Language
      • Repository (including "manual" for manual rules)
      • Severity
      • Status
      • Tags
      • Available since
      • Quality Profile
      • Inheritance

      The result of this search engine must offer the following features:

      • sort rules by:
        • creation date (default: display newest ones first)
        • name
      • display rules with all their details:
        • similar to what's on the quality profile pages
        • , but with also:
          • the tags of the rule
          • the quality profile(s) on which the rule is activated (with actions to change parameters on the profiles)

      Note that for all modification actions, the "Administer Quality Profiles" permission is mandatory.

      On backend side, technically speaking, this means that:

      • we need to add some missing information in the rule index:
        • description
        • quality profiles on which a rule is activated
      • we need to find the correct way to write the implementation of the WS while keeping in mind that we'll need to add facets for SONAR-5012

        Attachments

          Issue Links

          1.
          Create form with all the criteria to search for a rule SONAR-5133 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          2.
          Display the list of found rules on a left side bar SONAR-5134 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          3.
          Bulk action on found rules SONAR-5135 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          4.
          Display details of a rule and actions relating to it SONAR-5136 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          5.
          Display quality profiles on which a rule is activated and related actions SONAR-5137 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          6.
          On "Coding Rules" space, display the distribution of rules on several axis SONAR-5012 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          7.
          Keep a "quality profile" context when one is selected in the form SONAR-5164 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          8.
          Provide a new "/api/rules/search" WS SONAR-5237 Sub-task Closed Stéphane Gamard (Inactive) Major
          9.
          Provide a new "/api/rules/show" WS SONAR-5238 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          10.
          Create a new "/api/qualityprofiles/activate_rule" WS SONAR-5241 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          11.
          Create a new "/api/qualityprofiles/deactivate_rule" WS SONAR-5242 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          12.
          Web service to revert an active rule to its parent definition SONAR-5244 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          13.
          Create a new "/api/active_rules/bulk_deactivate" WS SONAR-5246 Sub-task Closed OLD - Jean-Baptiste Lièvremont (Inactive) Major
          14.
          Create intemporal key for quality profiles SONAR-5342 Sub-task Closed Unassigned Major

            Activity

              People

              Assignee:
              jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: