Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Josh Cooper commented on PUP-10093 Re: Add a rewrap(Any, Callable) function to make using Sensitive easier I think this would be beneficial, but we don't have plans on adding this in the near term. Please reopen if this is desirable. Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.328237.157026849.23805.1620064620126%40Atlassian.JIRA.
Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Reid Vandewiele commented on PUP-10093 Re: Add a rewrap(Any, Callable) function to make using Sensitive easier I'm curious to see an example of what a user would have to do to get benefit from this. I.e. a user story, and a Puppet manifest or code snippet demonstrating how rewrap() helps. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.328237.157026849.133439.1612460940135%40Atlassian.JIRA.
Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Josh Cooper updated an issue Puppet / PUP-10093 Add a rewrap(Any, Callable) function to make using Sensitive easier Change By: Josh Cooper Epic Link: PUP- 9637 8587 Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.328237.157026849.80630.1591484820155%40Atlassian.JIRA.
Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Josh Cooper updated an issue Puppet / PUP-10093 Add a rewrap(Any, Callable) function to make using Sensitive easier Change By: Josh Cooper Sprint: Coremunity Grooming Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.328237.157026849.58649.1575655740261%40Atlassian.JIRA.
Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Jorie Tappa updated an issue Puppet / PUP-10093 Add a rewrap(Any, Callable) function to make using Sensitive easier Change By: Jorie Tappa Team: Coremunity Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.328237.157026849.132281.1570474560247%40Atlassian.JIRA.
Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Rob Braden updated an issue Puppet / PUP-10093 Add a rewrap(Any, Callable) function to make using Sensitive easier Change By: Rob Braden Sprint: Coremunity Grooming Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.328237.157026849.131784.1570467900224%40Atlassian.JIRA.
Jira (PUP-10093) Add a rewrap(Any, Callable) function to make using Sensitive easier
Title: Message Title Henrik Lindberg created an issue Puppet / PUP-10093 Add a rewrap(Any, Callable) function to make using Sensitive easier Issue Type: New Feature Assignee: Unassigned Created: 2019/10/05 2:41 AM Priority: Normal Reporter: Henrik Lindberg It is difficult in some situations to use Sensitive values: A Sensitive may be nested somewhere in a hash/array When logic accepts Variant[Sensitive[T], Sensitive] user has to check and jump through hoops to do the right thing. A function rewrap(Any $v) would do the following. If called with a Sensitive (anywhere recursively) it would unwrap all in the structure and call a given lambda with the now clear text value/structure. The result from the lambda is then wrapped in a Sensitive if there was a Sensitive value in the input. If the function is given something that does not contain a Sensitive, the the value is passed through, and the result is not Sensitive. This is similar to PUP-10092 where this would be built into interpolation, and PUP-8969 for the same in EPP. Having the rewrap function makes a lot of sense since interpolation is not the only processing needed involving Sensitive values. Add Comment