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

Allow whitespace in class expressions to make them (more) readable.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8.0
    • Component/s: Parsing
    • Labels:
      None

      Description

      Copying https://bug.cfengine.com/bugtracker/view.php?id=1056 to the new tracking system.

      Allowing whitespace in class expressions could make long class expressions more readable.

      For example:

      (ipv4_10_10_10|ipv4_10_10_11|ipv4_10_10_12)&(!epel_repo_is_installed)::

      ( ipv4_10_10_10 | ipv4_10_10_11 | ipv4_10_10_12 ) &
      ( ! epel_repo_is_installed ) ::

      One of the main goals of CFEngine 3 is to enhance Knowledge Management, and making long class expressions easier for human eyes to read would further that goal.

      This especially matters for long or complex class expressions (compound expressions).

      Thanks again for a great product.

      Best,
      Aleksey

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                atsaloli Aleksey Tsalolikhin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel