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

Support multiple file includes and include cycles in include section #804

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasyip
Copy link

@jasyip jasyip commented Nov 18, 2023

Previously, include sections had to be lists of size 1 and never properly addressed other sizes. Include cycles were possible to cause infinite loops. This commit supports including multiple compose files and can detect cyclic include behavior. This commit also parses each included file only once as an optimization.

Previously, include sections had to be lists of size 1 and never
properly addressed other sizes. Include cycles were possible to cause
infinite loops. This commit supports including multiple compose
files and can detect cyclic include behavior. This commit also
parses each included file only once as an optimization.

Signed-off-by: Jason Yip <[email protected]>
Copy link
Collaborator

@p12tic p12tic left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

Please add unit tests (pytests directory) and automatic integration tests (tests directory).

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

2 participants