Skip to content

(MODULES-3568) Move dig to dig44 and deprecate dig #618

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

Merged
merged 1 commit into from
Jul 13, 2016
Merged

(MODULES-3568) Move dig to dig44 and deprecate dig #618

merged 1 commit into from
Jul 13, 2016

Conversation

ntpttr
Copy link

@ntpttr ntpttr commented Jul 8, 2016

A new version of dig was introduced in Puppet 4.5.0 that
isn't compatible with the stdlib version of dig. To maintain
backwards compatibility and ensure that tests for stdlib aren't
broken, this patch renames dig to dig44 and adds a deprecation
warning to the stdlib dig function.

@ntpttr ntpttr closed this Jul 8, 2016
@ntpttr
Copy link
Author

ntpttr commented Jul 8, 2016

Triggered a recheck for failed gem installs in the CI

@ntpttr ntpttr reopened this Jul 8, 2016
@@ -293,7 +293,7 @@ Deletes all instances of the undef value from an array or hash. For example, `$h

Returns the difference between two arrays. The returned array is a copy of the original array, removing any items that also appear in the second array. For example, `difference(["a","b","c"],["b","c","d"])` returns ["a"]. *Type*: rvalue.

#### `dig`
#### `dig44`
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep the entry for the old dig() around and replace its description with the deprecation warning to reduce possible confusion.

Copy link
Author

Choose a reason for hiding this comment

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

Okay, added that back in.

@DavidS
Copy link
Contributor

DavidS commented Jul 8, 2016

Thanks for your contribution, @ntpttr! The travis check is failing on an unrelated issue, you can ignore that for now.

@tphoney
Copy link
Contributor

tphoney commented Jul 8, 2016

great work !

A new version of dig was introduced in Puppet 4.5.0 that
isn't compatible with the stdlib version of dig. To maintain
backwards compatibility and ensure that tests for stdlib aren't
broken, this patch renames dig to dig44 and adds a deprecation
warning to the stdlib dig function.
@ntpttr ntpttr closed this Jul 12, 2016
@ntpttr
Copy link
Author

ntpttr commented Jul 12, 2016

It looks like sone other PRs pass the ruby 1.9.3 check for some reason so rechecking again to see if it works

@ntpttr ntpttr reopened this Jul 12, 2016
@DavidS DavidS merged commit 9224143 into puppetlabs:master Jul 13, 2016
@DavidS
Copy link
Contributor

DavidS commented Jul 13, 2016

Thanks!

@ntpttr ntpttr deleted the fix/master/modules-3568 branch July 13, 2016 16:44
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.

4 participants