Skip to content

update PDK template and workflows#1629

Open
h0tw1r3 wants to merge 15 commits into
puppetlabs:mainfrom
h0tw1r3:pdk
Open

update PDK template and workflows#1629
h0tw1r3 wants to merge 15 commits into
puppetlabs:mainfrom
h0tw1r3:pdk

Conversation

@h0tw1r3

@h0tw1r3 h0tw1r3 commented May 2, 2024

Copy link
Copy Markdown

@h0tw1r3 h0tw1r3 force-pushed the pdk branch 2 times, most recently from 29da24a to 72fd570 Compare May 3, 2024 07:22
h0tw1r3 added 3 commits May 4, 2024 15:13
* remove the x86_64 binaries that should not have been added to the repo
* mysql_login_path is not supported by MariaDB so skip related tests if
  the test host doesn't have the binary.
@h0tw1r3 h0tw1r3 force-pushed the pdk branch 6 times, most recently from 915caa1 to 7c6c0c8 Compare May 9, 2024 19:59
@h0tw1r3 h0tw1r3 marked this pull request as ready for review May 16, 2024 18:31
@h0tw1r3 h0tw1r3 requested a review from alexjfisher as a code owner May 16, 2024 18:31
Comment thread .github/workflows/labeller.yml
Comment thread .rubocop.yml
Ramesh7
Ramesh7 previously approved these changes May 31, 2024

@Ramesh7 Ramesh7 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Reviewed the changes and looks good to me except minor cosmetic comments.

@bastelfreak @smortex can you please also have quick look?

Ramesh7
Ramesh7 previously approved these changes May 31, 2024

@smortex smortex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good overall. I added inline comments for 2 tiny things that we may want to think about adjusting.

Comment thread types/package_ensure.pp Outdated
Comment thread spec/classes/mysql_params_spec.rb Outdated
context "on #{os}" do
let(:facts) { facts }

it { is_expected.to compile }

@smortex smortex Jun 10, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would expect a private class to not compile 😄 (the commit message of this change is about tests and private classes)

It happen that the class is marked as private in the API but does not call assert_private()… Do we want to make sure private classes are not directly call and add assert_private() to all classes with @api private? (I would say yes, as far as I am concerned, but have not checked if this can cause trouble).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I would expect a private class to not compile 😄 (the commit message of this change is about tests and private classes)

Removed

It happen that the class is marked as private in the API but does not call assert_private()… Do we want to make sure private classes are not directly call and add assert_private() to all classes with @api private? (I would say yes, as far as I am concerned, but have not checked if this can cause trouble).

Makes sense to me, but this change is intended to be maintenance only, with no potentially breaking changes.
I'll open another PR for that.

@h0tw1r3 h0tw1r3 force-pushed the pdk branch 2 times, most recently from 9e28543 to 10fd765 Compare June 16, 2024 10:19
@h0tw1r3 h0tw1r3 requested a review from Ramesh7 June 16, 2024 10:20
@h0tw1r3

h0tw1r3 commented Jun 24, 2024

Copy link
Copy Markdown
Author

@Ramesh7 addressed issues, can you review and merge please?

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.

3 participants