Skip to content

normalize implicit dependencies set by service:xx references#409

Merged
ndeloof merged 1 commit intocompose-spec:masterfrom
ndeloof:normalize_deps
May 26, 2023
Merged

normalize implicit dependencies set by service:xx references#409
ndeloof merged 1 commit intocompose-spec:masterfrom
ndeloof:normalize_deps

Conversation

@ndeloof
Copy link
Copy Markdown
Collaborator

@ndeloof ndeloof commented May 24, 2023

this moves code that existed in docker/compose directly into the Normalize phase so that we get an homogeneous compose model loaded for all commands.

Used by docker/compose#10602

Copy link
Copy Markdown
Member

@milas milas left a comment

Choose a reason for hiding this comment

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

Awesome 👍🏻

return "", false
}

func explicitDependsOn(service *types.ServiceConfig) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: kinda vague name, maybe inferImplicitDependencies?

Copy link
Copy Markdown
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

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

Great 👍 thanks @ndeloof

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof merged commit b1d62b4 into compose-spec:master May 26, 2023
@ndeloof ndeloof deleted the normalize_deps branch May 26, 2023 14:20
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.

3 participants