You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the script encounters an error, it stops the process. Ideally, it should log the error and continue with the following repository.
This is not a convenient experience, especially when processing a huge number of repositories.
Command:
go run .\cmd\criticality_score -gcp-project-id=[Project ID] ".\output\repos.txt"
repos.txt content
https://github.com/404/repo-not-found -- A non-existent repo URL; the script will stop the process here
https://github.com/babel/babel -- And this one will not be processed
Output
> go run .\cmd\criticality_score -gcp-project-id=[Project ID] ".\output\repos.txt"
2023-08-03 12:28:10.466 INFO Preparing default scorer
2023-08-03 12:28:11.827 INFO deps.dev signal source enabled
2023-08-03 12:28:12.386 WARN Repo cannot be collected {"worker": 0, "url": "https://github.com/404/repo-not-found", "error": "repo failed: not found: https://github.com/404/repo-not-found"}
main.main.func1
C:/Dev/Projects/Personal/GitHub/criticality_score_go/cmd/criticality_score/main.go:210
github.com/ossf/criticality_score/internal/workerpool.WorkerPool.func1
C:/Dev/Projects/Personal/GitHub/criticality_score_go/internal/workerpool/workerpool.go:36
The text was updated successfully, but these errors were encountered:
When the script encounters an error, it stops the process. Ideally, it should log the error and continue with the following repository.
This is not a convenient experience, especially when processing a huge number of repositories.
Command:
repos.txt content
Output
The text was updated successfully, but these errors were encountered: