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

Allow overlap in module mounts #6146

Closed
bep opened this issue Jul 30, 2019 · 1 comment
Closed

Allow overlap in module mounts #6146

bep opened this issue Jul 30, 2019 · 1 comment
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Jul 30, 2019

While testing this I have found the current implementation a little limiting. I think even some of the examples I have written would not work.

Currently, the following works fine:

[module]

  [[module.mounts]]
    source = "a"
    target = "content/blog"

  [[module.mounts]]
    source = "b"
    target = "content/docs"

In this example, the content/blog would be masked by the content mount and would be ineffective.

[module]

  [[module.mounts]]
    source = "a"
    target = "content/blog"

  [[module.mounts]]
    source = "b"
    target = "content"

The above is obviously not perfect and needs to be fixed.

@bep bep changed the title Allow one level of overlap in module mounts Allow overlap in module mounts Jul 30, 2019
@bep bep self-assigned this Jul 30, 2019
@bep bep added this to the v0.56.3 milestone Jul 30, 2019
bep added a commit to bep/hugo that referenced this issue Jul 30, 2019
bep added a commit to bep/hugo that referenced this issue Jul 30, 2019
bep added a commit to bep/hugo that referenced this issue Jul 30, 2019
bep added a commit to bep/hugo that referenced this issue Jul 30, 2019
@bep bep closed this as completed in edf9f0a Jul 31, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant