cpan-testers / cpantesters-api

An API in to data held by CPAN Testers: Test reports and CPAN uploads
Other
4 stars 4 forks source link

Add report field to allow linking reports to other reports #33

Open preaction opened 6 years ago

preaction commented 6 years ago

We should have a way to link different reports together for various reasons. The most common reason will be "same underlying issue", but another reason could be "caused by upstream issue" or "causes downstream issue".

We need to add a new links array to the report JSON format. Each entry in the array should be a link object with the following keys:

The causes/caused_by may not be that useful: There are systems in place to prevent reports from downstream modules from being submitted if an upstream module fails its tests, but those may not always work.

These links will likely not be filled in by reporters, but will be filled-in later by users on the website.