Skip to content

Commit 2bc0e2b

Browse files
authored
chore(lockfileless): Added rest of ManifestKinds (#301)
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
1 parent 5149397 commit 2bc0e2b

6 files changed

+402
-3
lines changed

semgrep_output_v1.atd

+12
Original file line numberDiff line numberDiff line change
@@ -1815,8 +1815,20 @@ type output_format = [
18151815

18161816
(* TODO: merge with Manifest_kind.ml *)
18171817
type manifest_kind = [
1818+
| RequirementsIn (* Manifest file for pip *)
1819+
| PackageJson
1820+
| Gemfile
1821+
| GoMod
1822+
| CargoToml
18181823
| PomXml
18191824
| BuildGradle
1825+
| ComposerJson
1826+
| NugetManifestJson
1827+
| PubspecYaml
1828+
| PackageSwift
1829+
| MixExs
1830+
| Pipfile
1831+
| PyprojectToml
18201832
]
18211833

18221834
type manifest = {

semgrep_output_v1.jsonschema

+16-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1.proto

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1.py

+229-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)