Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3627

Macro for bug fixed

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Evaluation
    • Labels:
      None

      Description

      Currently (as of 3.17.0), we have macros for things relating to CFEngine versions and features. It would be nice if there were macros related to bug fixes, for example:

      @if bug_fixed( CFE-3622 )
        do it this way
      @endif
      @if bug_not_fixed( CFE-3622 )
        do it that way
      @endif
      

      This could be helpful when writing policy to maintain consistency across various versions as bugfixes can change behavior. It could also be helpful for better communicating sections of policy that are related to specific issues so that further archaeology can be done.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel