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

Set minimum version of puppetlabs/stdlib to 4.25.1 #260

Merged
merged 1 commit into from
Oct 23, 2018
Merged

Set minimum version of puppetlabs/stdlib to 4.25.1 #260

merged 1 commit into from
Oct 23, 2018

Conversation

SeanHood
Copy link

puppetlabs/stdlib 4.6.0 is a non-existent version. This change was introduced in 898eae4 and subsequently the rest of the commit removed in 5de2e01. This change is to roll back the minimum required version of stdlib to 4.25.1. I have ran a test against that here: https://travis-ci.org/SeanHood/puppet-katello/jobs/444994576. .fixtures.yml needed to be changed to allow for this, hence missing from this commit.

The reason behind this change is that a handful of modules still have a requirement on < 5.0.0. This module doesn't use any of the newly introduced functions in that release.

puppetlabs/stdlib 4.6.0 is a non-existant version. This change was
introduced in
898eae4
and subsequently the rest of the commit removed in
5de2e01#diff-2f383a197b1a428561b364755701d60e
this change is to roll back the minimum required version of stdlib to
4.25.1 I have ran a test against that here:
https://travis-ci.org/SeanHood/puppet-katello/jobs/444994576.
.fixtures.yml needed to be changed to allow for this, hence missing from
this commit.

The reason behind this change is that a handful of modules still have a
requirement on < 5.0.0. This module doesn't use any of the newly
introduced functions in that release.
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I think the correct lower bound for this module is 4.13.0 but I don't mind 4.25.1 either.

@SeanHood
Copy link
Author

SeanHood commented Oct 23, 2018

I ran some tests to figure out the oldest it will take and it looks to be 4.25.0 (based on current tests) due to the use of Stdlib::Fqdn. You can see this in this failed test here: https://travis-ci.org/SeanHood/puppet-katello/jobs/445105438#L1012

4.25.0 and 4.25.1 both pass, you can see all branches I've tested here: https://travis-ci.org/SeanHood/puppet-katello/branches

Edit: I could amend my PR for 4.25.0 or leave it as is.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Technically that's not from this module but from another. That should have the 4.25.0 requirement. A full dependency solver should pick that up but let's just merge this. We might tighten types in this module as well (like Stdlib::Port and Stdlib::Fqdn).

@ekohl ekohl merged commit ff03439 into theforeman:master Oct 23, 2018
@ekohl ekohl changed the title Allow puppetlabs/stdlib => 4.25.1 Set minimum version of puppetlabs/stdlib to 4.25.1 Oct 31, 2018
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