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

Use ** when passing options in subversion provider #12150

Merged
merged 1 commit into from Oct 7, 2021
Merged

Use ** when passing options in subversion provider #12150

merged 1 commit into from Oct 7, 2021

Conversation

tomhughes
Copy link
Contributor

@tomhughes tomhughes commented Oct 7, 2021

Description

Ruby 3 as used in chef 17 requires that the options be dereferenced with ** or they will be interpreted as an extra argument.

Without this change the subversion provider is totally broken in chef 17 and unable to do anything useful.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@tomhughes tomhughes requested review from a team as code owners October 7, 2021 18:36
Signed-off-by: Tom Hughes <tom@compton.nu>
@tas50 tas50 merged commit 57f8788 into chef:main Oct 7, 2021
@tas50
Copy link
Contributor

tas50 commented Oct 7, 2021

Thanks @tomhughes. Any chance OSM has a nice small subversion repo we could checkout in our Test Kitchen tests?

@tomhughes
Copy link
Contributor Author

Well https://svn.openstreetmap.org/ is still up at the moment though it's read only now - there are no immediate plans to shut it down completely.

I think the only place we actually use it in our cookbooks now is for wordpress - they have a git mirror for the core now but plugins and themes are still svn only.

tomhughes added a commit to tomhughes/openstreetmap-chef that referenced this pull request Oct 10, 2021
@tomhughes tomhughes deleted the subversion-options branch October 10, 2021 10:15
tomhughes added a commit to openstreetmap/chef that referenced this pull request Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants