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

Add history about return type change for and(), not(), or() ...

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 3.18.0, 3.19.0
    • Fix Version/s: 3.18.1, 3.19.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      In CFE-3470 for 3.17.0 these functions return types changed from string to boolean, while the docs do reflect the return type correctly, it's missing history indicating when that changed happened.

      e.g:

      [root@hub masterfiles]# curl -s https://docs.cfengine.com/docs/3.15/reference-functions-and.html | tr '><' ' ' | awk '/Return type/ {print $(NF-3)}'
      string
      [root@hub masterfiles]# curl -s https://docs.cfengine.com/docs/3.16/reference-functions-and.html | tr '><' ' ' | awk '/Return type/ {print $(NF-3)}'
      string
      [root@hub masterfiles]# curl -s https://docs.cfengine.com/docs/3.17/reference-functions-and.html | tr '><' ' ' | awk '/Return type/ {print $(NF-3)}'
      boolean
      [root@hub masterfiles]# curl -s https://docs.cfengine.com/docs/3.18/reference-functions-and.html | tr '><' ' ' | awk '/Return type/ {print $(NF-3)}'
      boolean
      

        Attachments

        1. screenshot-1.png
          118 kB
          Nick Anderson
        2. screenshot-2.png
          85 kB
          Nick Anderson

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: