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

explicitly support Pulpcore 3.49 #352

Merged
merged 1 commit into from
Aug 14, 2024
Merged

explicitly support Pulpcore 3.49 #352

merged 1 commit into from
Aug 14, 2024

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Aug 14, 2024

No description provided.

@@ -8,7 +8,7 @@
# An optional value for gpgkey to be used for yumrepo, instead of the default.
# If an empty string is passed, gpgcheck will be disabled.
class pulpcore::repo (
Variant[Enum['nightly'], Pattern['^\d+\.\d+$']] $version = '3.39',
Variant[Enum['nightly'], Pattern['^\d+\.\d+$']] $version = '3.49',
Copy link
Member Author

Choose a reason for hiding this comment

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

does this make it a breaking change? 🤔

Copy link
Member

Choose a reason for hiding this comment

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

I don't see why it would

Copy link
Member Author

Choose a reason for hiding this comment

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

people using include pulpcore::repo will get upgraded to 3.49?

Copy link
Member

Choose a reason for hiding this comment

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

We should be able to safe drop 3.39 when the new katello get branched.

Copy link
Member

Choose a reason for hiding this comment

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

I'd say it technically is a backwards incompatible change: it's declared as a public API and changes behavior in something that would be surprising to me as a user.

Short term I'd prefer to not change this line to avoid a major version bump. Then after that we can drop the default version. Then we may need to add some fallback here:

version => fact('pulpcore_version'),

Because that's the biggest reason we have a default: so you can simply run beaker locally without specifying a version and still get some test suite to run. We could make that default to nightly.

Copy link
Member Author

Choose a reason for hiding this comment

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

ack, done

@ekohl ekohl added the Enhancement New feature or request label Aug 14, 2024
@ekohl ekohl merged commit 6c77235 into master Aug 14, 2024
23 checks passed
@ekohl ekohl deleted the pulpcore349 branch August 14, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants