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

chore(tr): add option to resolve rpc to install dep source #360

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -2385,6 +2385,11 @@ type unresolved_subproject
errors: sca_error list;
}

type resolve_dependencies_params <python decorator="dataclass(frozen=True)"> = {
dependency_sources: dependency_source list;
download_dependency_source_code: bool;
}

(* Resolution can either succeed or fail, but in either case errors can be
* produced (e.g. one resolution method might fail while a worse one succeeds,
* lockfile parsing might partially fail but recover and still produce results).
Expand Down Expand Up @@ -2466,7 +2471,7 @@ type function_call <python decorator="dataclass(frozen=True)"> = [
the RPC pipe.
*)
| CallValidate of fpath
| CallResolveDependencies of dependency_source list
| CallResolveDependencies of resolve_dependencies_params
| CallUploadSymbolAnalysis of ((* token *) string * (* scan_id *) int * symbol_analysis)
| CallDumpRulePartitions of dump_rule_partitions_params
| CallGetTargets of scanning_roots
Expand Down
16 changes: 12 additions & 4 deletions semgrep_output_v1.jsonschema

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion semgrep_output_v1.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 34 additions & 3 deletions semgrep_output_v1.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 22 additions & 3 deletions semgrep_output_v1.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

165 changes: 162 additions & 3 deletions semgrep_output_v1_j.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading