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

Fix issue where .manifest files didn't register as roots #1081

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

anderseknert
Copy link
Member

We previously traversed the path downwards, so if we had foo/bar/.manifest and foo/bar/baz was provided, we would not find foo/bar as a root. Now search for manifests from the root.

Fixes #1077

@anderseknert anderseknert force-pushed the manifest-root-unrecognized branch 2 times, most recently from af52c86 to 15baf3d Compare September 9, 2024 14:07
@anderseknert anderseknert reopened this Sep 9, 2024
@anderseknert anderseknert force-pushed the manifest-root-unrecognized branch from 15baf3d to 52c30f9 Compare September 9, 2024 14:14
We previously traversed the path downwards, so if we had
`foo/bar/.manifest` and `foo/bar/baz` was provided, we would
not find `foo/bar` as a root. Now search for manifests from the
root.

Fixes #1077

Signed-off-by: Anders Eknert <anders@styra.com>
@charlieegan3 charlieegan3 force-pushed the manifest-root-unrecognized branch from 52c30f9 to 86895bc Compare September 9, 2024 15:41
@charlieegan3 charlieegan3 merged commit a562087 into main Sep 9, 2024
4 checks passed
@charlieegan3 charlieegan3 deleted the manifest-root-unrecognized branch September 9, 2024 15:47
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
We previously traversed the path downwards, so if we had
`foo/bar/.manifest` and `foo/bar/baz` was provided, we would
not find `foo/bar` as a root. Now search for manifests from the
root.

Fixes StyraInc#1077

Signed-off-by: Anders Eknert <anders@styra.com>
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.

A .manifest file is not recognized as a project root by the new file templating
2 participants