feat: handle repo defined in composer.json #1
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.32) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 131 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.292
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1"
general
weight: 0.35
cyril-flieller
Description
Helena's fork of php-libyear, evaluating the age of the libraries of the project. This fork permits it to look at custom libraries in satis and not just on Packagist
User Story
https://bedrock.tpondemand.com/entity/153767-poc-implement-libyear-using-helenas-fork
ORIGINAL TEXT :
We have the same need that explain in this issue, check dependencies which have custom repositories defined in composer.json file.
To do so, repositories url are taken from composer file or packagist url by default otherwise.
For each repository the packages.json file is called to know the url to call for getting package info.
Example with packagist :
https://repo.packagist.org/packages.json => two data are used
metadata-url&available packagewith
metadata-urlwe know the package url to get the package info : https://repo.packagist.org/p2/ecoapm/libyear.jsonand
available-packagewill avoid unnecessary call on repository we know the package is not available.