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

manifest: Allow to configure directories to ignore while searching for manifests #239

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Jul 31, 2024

When using other build systems in the same directory, it is possible that the extension does not find manifests because it gets the first 1000 YAML and JSON files it encounters and none of them are manifests, resulting in the same problem as #229. A solution for that is to be able to configure which directories to ignore, so it is more likely that it will be able to get the manifests in the result.

The first commit is preparatory work for the second commit, to allow us to refresh the map of manifests when the config changes, thus avoiding to have to reload the extension to take those changes into account.

Tested locally.

@bilelmoussaoui bilelmoussaoui merged commit b93c769 into bilelmoussaoui:master Aug 18, 2024
4 checks passed
@bilelmoussaoui
Copy link
Owner

Thank you!

@SeaDve
Copy link
Collaborator

SeaDve commented Aug 19, 2024

I'm sorry I didn't have the chance to review it. I somehow didn't get a notification, or at least missed it.

@zecakeh zecakeh deleted the manifest-exclude-dirs branch August 19, 2024 07:08
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.

3 participants