Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize escape functions #1238

Merged
merged 1 commit into from
May 16, 2022

Conversation

smortex
Copy link
Collaborator

@smortex smortex commented Apr 27, 2022

Quoting #1235 (comment)

What's with these functions using the old API?

Let's fix this!

@smortex smortex requested a review from a team as a code owner April 27, 2022 23:02
@puppet-community-rangefinder
Copy link

batch_escape is a function

that may have no external impact to Forge modules.

powershell_escape is a function

that may have no external impact to Forge modules.

shell_escape is a function

Breaking changes to this file MAY impact these 6 modules (near match):

batch_escape is a function

that may have no external impact to Forge modules.

powershell_escape is a function

that may have no external impact to Forge modules.

shell_escape is a function

Breaking changes to this file MAY impact these 6 modules (near match):

This module is declared in 318 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

ekohl
ekohl previously approved these changes Apr 27, 2022
@smortex
Copy link
Collaborator Author

smortex commented Apr 27, 2022

Cc @alexjfisher

This is a quick test to check what needs to be done when modernizing a function. I am about to be AFK for a few weeks but will be happy to help migrate more functions when I am back 😉

Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM
Thanks for the work :)

@david22swan david22swan merged commit 25b0fbd into puppetlabs:main May 16, 2022
@smortex smortex deleted the modernize-escape-functions branch May 16, 2023 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants