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

(PDK-1523) Refactor filesystem operations to use PDK::Util::Filesystem #799

Merged
merged 24 commits into from
Nov 13, 2019

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Nov 7, 2019

Refactor all filesystem operations to use the PDK::Util::Filesystem wrapper module. RuboCop cops with autocorrect have been added for all the methods to ensure that there is no future drift (File.open is the only cop without autocorrect as it requires a human to examine the intent of the block).

@coveralls
Copy link

coveralls commented Nov 7, 2019

Coverage Status

Coverage increased (+0.02%) to 91.79% when pulling d419c56 on rodjek:pdk-1523 into 3ac48ed on puppetlabs:master.

@rodjek rodjek marked this pull request as ready for review November 12, 2019 03:31
@rodjek rodjek requested a review from a team as a code owner November 12, 2019 03:31
Copy link
Contributor

@glennsarti glennsarti left a comment

Choose a reason for hiding this comment

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

One question but looks awesome!

lib/pdk/report.rb Show resolved Hide resolved
Copy link
Contributor

@glennsarti glennsarti left a comment

Choose a reason for hiding this comment

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

Shipz it!

@rodjek rodjek merged commit f5fdf1a into puppetlabs:master Nov 13, 2019
@rodjek rodjek deleted the pdk-1523 branch November 13, 2019 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants