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

Add !include syntax support for config file reading. #87

Merged
merged 3 commits into from
Jun 21, 2016

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Jun 21, 2016

Switched yaml decode function for config file readers to the one from Data.Yaml.Include that supports !include syntax.
This change should be backwards compatible and should allow for multi package projects to mutually reuse config files.

@snoyberg
Copy link
Owner

Can you add a minor version bump in the .cabal file and make an update to the ChangeLog explaining the new behavior?

@lehins
Copy link
Contributor Author

lehins commented Jun 21, 2016

@snoyberg, most certainly. Done.

@@ -1,5 +1,5 @@
name: yaml
version: 0.8.17.2
version: 0.8.17.3
Copy link
Owner

Choose a reason for hiding this comment

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

This is a patch bump. Since this is a potentially surprising change in behavior, I'd rather a minor version bump (which can be tracked via Cabal CPP macros). In this case: 0.8.18.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, haven't even thought of that.

Copy link
Owner

Choose a reason for hiding this comment

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

It takes getting bitten by it many times to start thinking about it :)

@snoyberg snoyberg merged commit 5f520f4 into snoyberg:master Jun 21, 2016
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.

2 participants