compose-spec / compose-go

Reference library for parsing and loading Compose YAML files
https://compose-spec.io
Apache License 2.0
350 stars 109 forks source link

Reset extends #648

Closed ndeloof closed 2 months ago

ndeloof commented 2 months ago

This introduces loadYamlFile to load a single compose file, running most of the processing. !reset tags collected by a post-processor is returned to caller. It is used when running the recursive extends processing outside the main loading-and-merge pipeline

fixes https://github.com/docker/compose/issues/11937

jhrotko commented 2 months ago

that's a big change! (nice) did you try running compose e2e tests against this branch?

ndeloof commented 2 months ago

that's a big change!

actually, I "just" extracted a long block into a new function. Github code review doesn't make this easy to notice

tested on https://github.com/docker/compose/pull/11950