Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8604

Move String functions upcase, downcase, capitalize, camelcase, lstrip, rstrip, strip, chop, chomp from stdlib to puppet

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: DOCS
    • Labels:
      None
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      The functions upcase(), downcase(), capitalize(), camelcase(), lstrip(), rstrip(), strip(), chop(), chomp(), and size() have been updated to the modern function API and the new versions are in Puppet and no longer requires stdlib). The functions are generally backwards compatible.
      Show
      The functions upcase(), downcase(), capitalize(), camelcase(), lstrip(), rstrip(), strip(), chop(), chomp(), and size() have been updated to the modern function API and the new versions are in Puppet and no longer requires stdlib). The functions are generally backwards compatible.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Move String functions upcase, downcase, capitalize, camelcase, lstrip, rstrip, strip, chop, chomp from stdlib to puppet and update them to the 4.x function API. The new implementations must be backwards compatible but may add new features.

      The length() function was added in PUP-8497 to override the function with the same name in stdlib.
      The size() function was however not moved and should be moved in this ticket since the 3.x stdlib implementation is broken for strings that can be converted to Float (it errors).

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  henrik.lindberg Henrik Lindberg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: