mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 17:07:53 +03:00
The GitHub API supports conditional requests https://docs.github.com/en/rest/overview/resources-in-the-rest-api#conditional-requests https://github.com/google/go-github supports Conditional requests https://github.com/google/go-github#conditional-requests As we are scaling more and more projects this would add a lot of value. Initial run fetches information using `httpcache` as a middleware, which caches the HTTP response initially in a large disk (PVC), probably move to Redis later as a cache instead of disk. Subsequent `cron runs` will utilize the `httpcache` for checking content modification and load it from the cache if it isn't modified, which reduces the hitting the Rate Limit of the GitHub API.
23 lines
812 B
Modula-2
23 lines
812 B
Modula-2
module github.com/ossf/scorecard
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/bradleyfalzon/ghinstallation v1.1.1
|
|
github.com/golang/protobuf v1.4.3 // indirect
|
|
github.com/google/go-github/v32 v32.1.0
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/naveensrinivasan/httpcache v1.2.1
|
|
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
|
github.com/onsi/ginkgo v1.15.0
|
|
github.com/onsi/gomega v1.10.5
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/shurcooL/githubv4 v0.0.0-20200928013246-d292edc3691b
|
|
github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a // indirect
|
|
github.com/spf13/cobra v1.1.3
|
|
go.uber.org/zap v1.16.0
|
|
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
|
|
)
|