Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Rename !include to !import-variables #91

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Conversation

happz
Copy link
Collaborator

@happz happz commented Nov 4, 2019

New name is more fitting, because we're actually not including anything
into the file itself, but importing a set of variables into the
namespace available to macros in the file. The old name also clashed
with the actual !include directive recommended to be used to include
data into the YAML structure, and we will need that directive one day,
therefore getting rid of ambiguity.

New name is more fitting, because we're actually not including anything
into the file itself, but importing a set of variables into the
namespace available to macros in the file. The old name also clashed
with the actual !include directive recommended to be used to include
data into the YAML structure, and we will need that directive one day,
therefore getting rid of ambiguity.
Copy link
Contributor

@thrix thrix left a comment

Choose a reason for hiding this comment

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

LGTM, politely noting this will break downstream config ...

@happz
Copy link
Collaborator Author

happz commented Nov 6, 2019

@thrix it will indeed break the configuration, AFAIK it's just us who are using this particular feature, and our tests will stop us from not fixing the configuration for sure.

@happz happz merged commit 7d856d3 into master Nov 6, 2019
@happz happz deleted the rename-include-variables branch January 22, 2020 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants