commit | 40d47c51319086c38326bd6dba6f7082c6cde779 | [log] [tgz] |
---|---|---|
author | Marc-Antoine Ruel <maruel@google.com> | Thu Sep 07 21:35:51 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 07 21:35:51 2023 +0000 |
tree | edd13336fce0a4383c6134c31ffd00f74511bfcf | |
parent | 466ad1a12fd4c16795826b2fcf60744815366b6a [diff] |
[engine] Use nice path names in cache Switch from "dep%i" to the url @ version, similar to how Go modules caches work. Improve testing behavior to be deterministic. This is a requirement for both vendoring and local cache support. Ran "go mod vendor" to add golang.org/x/mod/module as a vendored packaged. Change-Id: I013dce2d6b51566348cfb6b99db3fe8079e64df6 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/912735 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Marc-Antoine Ruel <maruel@google.com> Reviewed-by: Oliver Newman <olivernewman@google.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
Planned features/changes, in descending order by priority:
shac.textproto
shac.star
files.shac
cache directory that checks can write toctx.scm
glob
arguments to ctx.scm.{all,affected}_files()
functions for easier filtering⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.