Skip to content

Commit

Permalink
chore(lockfileless): Added rest of ManifestKinds (#301)
Browse files Browse the repository at this point in the history
This PR introduces the rest of the manifest kinds we support to the
`ManifestKind` type's possible values.

- [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.17.0.
See
https://atd.readthedocs.io/en/latest/atdgen-tutorial.html#smooth-protocol-upgrades
  • Loading branch information
SayyantR authored Oct 24, 2024
1 parent 5149397 commit 2bc0e2b
Show file tree
Hide file tree
Showing 6 changed files with 402 additions and 3 deletions.
12 changes: 12 additions & 0 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -1815,8 +1815,20 @@ type output_format = [

(* TODO: merge with Manifest_kind.ml *)
type manifest_kind = [
| RequirementsIn (* Manifest file for pip *)
| PackageJson
| Gemfile
| GoMod
| CargoToml
| PomXml
| BuildGradle
| ComposerJson
| NugetManifestJson
| PubspecYaml
| PackageSwift
| MixExs
| Pipfile
| PyprojectToml
]

type manifest = {
Expand Down
17 changes: 16 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.

230 changes: 229 additions & 1 deletion semgrep_output_v1.py

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

Loading

0 comments on commit 2bc0e2b

Please sign in to comment.