Skip to content

Conversation

@h0tw1r3
Copy link

@h0tw1r3h0tw1r3 commented May 2, 2024

@h0tw1r3h0tw1r3force-pushed the pdk branch 2 times, most recently from 29da24a to 72fd570CompareMay 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.
@h0tw1r3h0tw1r3force-pushed the pdk branch 6 times, most recently from 915caa1 to 7c6c0c8CompareMay 9, 2024 19:59
@h0tw1r3h0tw1r3 marked this pull request as ready for review May 16, 2024 18:31
@h0tw1r3h0tw1r3 requested a review from alexjfisher as a code ownerMay 16, 2024 18:31
Ramesh7
Ramesh7 previously approved these changes May 31, 2024
Copy link
Contributor

@Ramesh7Ramesh7 left a comment

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
Copy link
Contributor

@smortexsmortex left a comment

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.

context"on #{os}"do
let(:facts){facts}

it{is_expected.tocompile}
Copy link
Contributor

@smortexsmortexJun 10, 2024

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
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
Copy link
Author

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

@ikoniaikonia mentioned this pull request Oct 21, 2025
Sign up for freeto 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.

3 participants

@h0tw1r3@smortex@Ramesh7