-
Notifications
You must be signed in to change notification settings - Fork 24
Aggregate Scorecards metrics on a new package release #440
Copy link
Copy link
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/stack-guidanceCategorizes an issue or PR as relevant to SIG Stack Guidance.Categorizes an issue or PR as relevant to SIG Stack Guidance.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/stack-guidanceCategorizes an issue or PR as relevant to SIG Stack Guidance.Categorizes an issue or PR as relevant to SIG Stack Guidance.
Type
Projects
Status
🆕 New
This issue is part of the following EPIC: #434
2. Compute metrics for packages present in Thoth's database that will serve as a basis for a global software stack quality score
Taking the example of OSSF Scorecards, we already aggregate this information in prescriptions which are used directly by the adviser. However, the aggregation logic present in prescriptions-refresh-job only updates prescriptions for packages already present in the repository. We could either aggregate Scorecards data for more packages using the OSSF BigQuery dataset or have our own tool that computes Scorecards metrics on a new package release, which could be integrated directly into package-update-job for instance. This would most likely consist in a simple script querying the GitHub API and computing the metrics on the project's last release commit.
Aggregate Scorecards metrics on a new package release using one of the two methods above
For the corresponding ADR proposal on how to aggregate the Scorecard data, see #439
Next steps: