Commit 74bee1e
authored
chore(sca): add rpc to match subprojects (#364)
Adds an RPC type that allows Python to ask Ocaml to match subprojects
based on a list of dependency source files.
This will allow us to switch to ocaml-based subproject matching
independently from the rest of file targeting.
- [x] I ran `make setup && make` to update the generated code after
editing a `.atd` file (TODO: have a CI check)
- [x] I made sure we're still backward compatible with old versions of
the CLI.
For example, the Semgrep backend need to still be able to *consume* data
generated by Semgrep 1.50.0.
See
https://atd.readthedocs.io/en/latest/atdgen-tutorial.html#smooth-protocol-upgrades
Note that the types related to the semgrep-core JSON output or the
semgrep-core RPC do not need to be backward compatible!1 parent 6edf9cf commit 74bee1e
File tree
7 files changed
+147
-3
lines changed7 files changed
+147
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2382 | 2382 | | |
2383 | 2383 | | |
2384 | 2384 | | |
| 2385 | + | |
2385 | 2386 | | |
2386 | 2387 | | |
2387 | 2388 | | |
| |||
2554 | 2555 | | |
2555 | 2556 | | |
2556 | 2557 | | |
| 2558 | + | |
2557 | 2559 | | |
2558 | 2560 | | |
2559 | 2561 | | |
| |||
2573 | 2575 | | |
2574 | 2576 | | |
2575 | 2577 | | |
| 2578 | + | |
2576 | 2579 | | |
2577 | 2580 | | |
2578 | 2581 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments