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

Deprecation warning for legacy package promises is too aggressive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8.0
    • Component/s: Promise type: packages
    • Labels:
      None
    • Platform:
      Windows, Linux

      Description

      As of 3.7 when legacy package promises are used there is a verbose level log that indicates the package promise will be obsolete. This leads users (mentioned several times on the mailing list) to believe that the old implementation will cease working as of 3.8. This causes much concern because the new packages promise implementation does not yet have package modules covering many of the legacy package methods in the standard library.

      Of note:

      • zypper
      • msi
      • emerge
      • pip
      • npm
      • brew
      • ips
      • smartos
      • opencsw
      • solaris
      • freebsd
      • freebsd ports
      • pacman
      • alpinelinux

      For this reason I suggest softening the log message to indicate the intention of forward development to be done with the new implementation, but that the old implementation will continue to work.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel