Closed diogoteles08 closed 1 year ago
Issue was exposed/discussed in https://github.com/AcademySoftwareFoundation/openexr/pull/1535 cc @cary-ilm
It looks like the badge is for github.com/openexr/openexr
, but scorecard uses the current URL to look up, which fails.
@david-a-wheeler If this maintainer changes their project's GitHub URL on bestpractices.dev, would https://bestpractices.coreinfrastructure.org/projects.json
reflect those changes?
@raghavkaul - it's supposed to reflect those changes! I took a look, here's what I see so far:
OpenEXR is at https://www.bestpractices.dev/en/projects/2799, with these fields:
I requested the JSON data at https://www.bestpractices.dev/projects/2799.json and received this in the JSON:
homepage_url: "https://www.openexr.com",
repo_url: "https://github.com/openexr/openexr"
So the JSON and website data are consistent. I notice those repo URLs redirect to https://github.com/AcademySoftwareFoundation/openexr. That should be okay.
If you edited the repo field and it didn't "stick", let me know & I'll fix it. We're a little picky about repo URL changes, because there are some attacks that can exploit that.
Thanks David - @diogoteles08 , if the maintainer could update their best practices page, that would be ideal - I can't see a great way for Scorecard to follow the redirect backwards.
Oops, looks like the form did not get updated when we moved the repo to the AcademySoftwareFoundation GitHub organization. I've updated that url, and the other entries that were out of date.
No problem!! It looks like the badge entry was updated without incident. As far as I can tell all is well. Is there anything else I can help with? Or can we close this issue?
I can confirm scorecard now detects the repo's passing badge. So, closing.
Describe the bug Scorecard is failing to detect the CII Best Practices Badge for the project github.com/AcademySoftwareFoundation/openexr.
Reproduction steps
Expected behavior The project should receive a 5/10 on the CII Best Practices check, as they have a passing badge.