Commit 1888687
authored
chore(lfs): add resolution error for missing resource (#420)
A common error class for us in lockfileless is inaccessible resources
that are
needed for the build. This is typically caused by incomplete private
package
manager configuration, but could theoretically also be caused by a
package
manager misconfiguration. I believe that in all cases, there is not much
we can
do on our end. So this PR creates a new type of resolution error to
capture
these.
- [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!
- [x] Any accompanying changes in `semgrep-proprietary` are approved and
ready to merge once this PR is merged1 parent e2ba73a commit 1888687
File tree
7 files changed
+400
-2
lines changed7 files changed
+400
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2599 | 2599 | | |
2600 | 2600 | | |
2601 | 2601 | | |
| 2602 | + | |
| 2603 | + | |
2602 | 2604 | | |
2603 | 2605 | | |
2604 | 2606 | | |
| |||
2609 | 2611 | | |
2610 | 2612 | | |
2611 | 2613 | | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
2612 | 2625 | | |
2613 | 2626 | | |
2614 | 2627 | | |
| |||
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