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

[layout] Make build-time filesystem layout explicit #23

Merged
merged 1 commit into from
Aug 2, 2020

Conversation

csweichel
Copy link
Collaborator

Prior to this change the build-time filesystem layout was created implicitly from the package names. This method breaks for nested workspaces where package names differ depending on their context.

This makes built-time layout explicit by introducing a "layout" section in the package description. If no explicit layout is set, leeway will fall back to its prior behaviour and use the dependency's filesystem safe name. This mechanism is implemented during linking s.t. the build-time layout stays stable across nested workspaces.

leeway describe has been updated accordingly to show the layout.
leeway vet finds layout path clashes if two dependencies occupy the same path at build-time.

Prior to this change the build-time filesystem layout was created
implicitly from the package names. This method breaks for nested
workspaces where package names differ depending on their context.

This makes built-time layout explicit by introducing a "layout" section
in the package description. If no explicit layout is set, leeway will
fall back to its prior behaviour and use the dependency's filesystem
safe name. This mechanism is implemented during linking s.t. the
build-time layout stays stable across nested workspaces.

`leeway describe` has been updated accordingly to show the layout.
`leeway vet` finds layout path clashes if two dependencies occupy the
same path at build-time.
@csweichel csweichel merged commit b80280b into master Aug 2, 2020
@csweichel csweichel deleted the cw/explicit-layout branch August 2, 2020 10:53
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.

1 participant