melexis / sphinx-coverity-extension

Sphinx plugin to generate Coverity defects report or table in reStructuredText documentation. Coverity report is then personally styled while data integrity is guaranteed.
GNU General Public License v3.0
5 stars 2 forks source link

Provide ability to re-link the TRACEABILITY_ITEM_ID #63

Closed JasperCraeghs closed 2 years ago

JasperCraeghs commented 2 years ago

If the item ID matched by TRACEABILITY_ITEM_ID_REGEX is incorrect, e.g. it does not exist in the collection of traceability items, you can configure the plugin to link to the desired item ID instead. Add the item ID returned by Coverity as a key to the Python dictionary TRACEABILITY_ITEM_ID_REGEX and the desired item ID as value. Example:

  TRACEABILITY_ITEM_RELINK = {
      "STATIC_DEVIATE-MISRA_RULE_1_0": "STATIC_DEVIATE-MISRA_1_0",
  }

Closes #62