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

long syntax for device mapping #676

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

ndeloof
Copy link
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
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
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
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
8 checks passed
@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