Skip to content

long syntax for device mapping#676

Merged
ndeloof merged 1 commit intocompose-spec:mainfrom
ndeloof:device_mapping
Aug 21, 2024
Merged

long syntax for device mapping#676
ndeloof merged 1 commit intocompose-spec:mainfrom
ndeloof:device_mapping

Conversation

@ndeloof
Copy link
Copy Markdown
Collaborator

@ndeloof ndeloof commented Aug 19, 2024

introduce long syntax for device mapping, to help disambiguate path with colons

closes docker/compose#12052

@ndeloof ndeloof requested review from glours and jhrotko August 19, 2024 09:20
@ndeloof
Copy link
Copy Markdown
Collaborator Author

ndeloof commented Aug 19, 2024

cc @idsulik

Source string `yaml:"source,omitempty" json:"source,omitempty"`
Target string `yaml:"target,omitempty" json:"target,omitempty"`
Permissions string `yaml:"permissions,omitempty" json:"permissions,omitempty"`
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Missing Extension? From compse-spec you defined the pattern for Extensions

name: load-device-mapping
services:
test:
devices:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you also introduce the test case for the object/map case (with an extension)?

@ndeloof ndeloof force-pushed the device_mapping branch 3 times, most recently from a9798f8 to cafb985 Compare August 19, 2024 14:12
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested a review from jhrotko August 20, 2024 11:54
@ndeloof ndeloof merged commit e2590ce into compose-spec:main Aug 21, 2024
@ndeloof ndeloof deleted the device_mapping branch August 21, 2024 13:23
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.

Many colons in serial path worked before, but stopped working a week or so ago[BUG] <title>

2 participants