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

Better way to handle repositories with lots of submodules #360

Open
varungandhi-src opened this issue May 31, 2023 · 0 comments
Open

Better way to handle repositories with lots of submodules #360

varungandhi-src opened this issue May 31, 2023 · 0 comments

Comments

@varungandhi-src
Copy link
Contributor

varungandhi-src commented May 31, 2023

Given the state of dependency management in C++, some repositories rely on git submodules for consuming 3rd party dependencies. For example, the boost monorepo has 161 submodules. The Espressif IoT Development Framework has 22 submodules.

At the moment, scip-clang doesn't have any awareness about git submodules. In principle, we could make use of the submodule structure to generate indexes for every package at once (assuming all code is indexed by a top-level compile_commands.json), and either provide a JSON file or a shell script which can be further used to invoke src CLI to upload indexes for all the relevant packages.

(Note: This issue is currently just an "idea", waiting to collect some more input on if this would be useful and what exactly would be needed.)

@varungandhi-src varungandhi-src added the enhancement New feature or request label May 31, 2023
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant