scorecard/clients
Stephen Augustus (he/him) 7956ff4fe7
Miscellaneous refactors to ease downstream consumption (#1645)
* checker: Add `NewLogger` constructor for `DetailLogger` impl
* checker: Add `NewRunner` constructor for `Runner`
* cmd: Update to use refactored packages
* cmd: Move command flags and validation into an `options` package
* cmd: Move client accessors to `githubrepo` package
* cmd: Move policy and enabled checks to `policy` package
* cmd: Move results formatting to `format` package
* checker: Prefer `Set` prefixes for setters
* checker: Use `DetailLogger` return value for `NewLogger()`
* checker: Add `GetClients` accessor
* Move `FormatResults` to `pkg/`
* checks: Add getter for all checks

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-27 02:09:21 +00:00
..
githubrepo Miscellaneous refactors to ease downstream consumption (#1645) 2022-02-27 02:09:21 +00:00
localdir Add validation for commit-based APIs (#1635) 2022-02-14 22:24:35 +00:00
mockclients Add support for commit-based Scorecard (#1613) 2022-02-07 19:03:36 -08:00
branch.go 🐛 Fix branch protection results (#1252) 2021-11-16 17:27:27 +00:00
checkruns.go Add RepoClient API for ListCheckRunsForRef (#948) 2021-09-01 17:43:53 +00:00
cii_blob_client.go Fix golangci-lint issues 2022-02-19 15:56:34 -06:00
cii_client.go Use blob-based CII client in cron job (#1284) 2021-11-19 08:02:06 +11:00
cii_http_client.go Use blob-based CII client in cron job (#1284) 2021-11-19 08:02:06 +11:00
cii_response.go Use blob-based CII client in cron job (#1284) 2021-11-19 08:02:06 +11:00
commit.go Remove ListMergedPRs API (#1566) 2022-02-03 00:01:35 +00:00
contributor.go Use RepoClient API for Contributors check (#854) 2021-08-13 18:13:43 +00:00
issue.go Not considering an issue as having activity if closed recently (#1531) 2022-01-25 21:59:03 -08:00
pull_request.go Remove ListMergedPRs API (#1566) 2022-02-03 00:01:35 +00:00
release.go Use ListReleases API for BranchProtection check (#937) 2021-08-30 17:52:08 -07:00
repo_client.go Add validation for commit-based APIs (#1635) 2022-02-14 22:24:35 +00:00
repo.go Remove isScorecardRepo (#1236) 2021-11-10 20:13:12 +00:00
search.go Use RepoClient.Search API in SAST check (#857) 2021-08-16 17:34:10 +00:00
statuses.go CI-Tests: look for test-related strings in target urls as well (#1374) 2021-12-08 17:34:28 +00:00
user.go 🐛 Issue activity only counts if done by a maintainer (#1515) 2022-01-24 16:12:54 +00:00
vulnerabilities.go Migrate to v4 2022-01-12 14:12:09 -06:00
workflows.go Use RepoClient API for Packaging check (#940) 2021-09-01 01:05:34 +00:00