Skip to content

Commit

Permalink
feat(lfs): Added .csproj Manifest Kind (#325)
Browse files Browse the repository at this point in the history
Added interface for C# Solution Manifest (`.csproj`)

- [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!
  • Loading branch information
SayyantR authored Dec 4, 2024
1 parent 24830ff commit c992c98
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 3 deletions.
2 changes: 2 additions & 0 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,8 @@ type manifest_kind
| ConanFileTxt
(* conanfile.py - https://docs.conan.io/2.9/reference/conanfile.html *)
| ConanFilePy
(* .csproj - https://docs.microsoft.com/en-us/dotnet/core/tools/csproj *)
| Csproj
]

type manifest
Expand Down
3 changes: 2 additions & 1 deletion semgrep_output_v1.jsonschema

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

2 changes: 1 addition & 1 deletion semgrep_output_v1.proto

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

21 changes: 20 additions & 1 deletion semgrep_output_v1.py

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

5 changes: 5 additions & 0 deletions semgrep_output_v1.ts

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

7 changes: 7 additions & 0 deletions semgrep_output_v1_j.ml

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

0 comments on commit c992c98

Please sign in to comment.