[PUP-8605] Move sort function from stdlib to puppet Created: 2018/03/23  Updated: 2018/09/19  Resolved: 2018/08/03

Status: Closed
Project: Puppet
Component/s: Docs
Affects Version/s: None
Fix Version/s: PUP 6.0.0

Type: Improvement Priority: Normal
Reporter: Henrik Lindberg Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Epic Link: stdlib to pup
Sub-team: Language
Team: Platform Core
Release Notes: New Feature
Release Notes Summary: The {{sort()}} function has been moved from stdlib to puppet. The function now also accepts a lambda for the purpose of using a custom compare.
QA Risk Assessment: Needs Assessment

 Description   

Move functions unique, reject, and sort() from stdlib to puppet and update them to use the 4.x function API. The new implementation must be backwards compatible but may add new features.

The reject() function is not essential since there is a more powerful and general filter() function in puppet. Will not move that function. The unique() function has already been moved to puppet.



 Comments   
Comment by Josh Cooper [ 2018/08/03 ]

This passed CI awhile ago, resolving.

Comment by Josh Cooper [ 2018/08/03 ]

Helen Campbell, Thomas Honey could you verify that stdlib contains the deprecation warnings Henrik Lindberg mentioned?

Generated at Tue Jul 14 04:13:12 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.