Open mlukasik-branch opened 1 year ago
Sure think this sounds good! Do you want to throw together a PR for something? :pray: Think that this could be it's own frontend plugin that provides a Widget or a Card for integrators to use?
Happy to make it happen.
this week I want to release its first version inside my company, next week collect feedback and then decide how to release it to our dear open source community.
also want to clarify with my company if they are interested releasing it under their brand (still open source naturally).
@mlukasik-branch Are you still working on this? This is something we'd love to take advantage of!
plugin has already been deployed and tested as part of my company internal backstage instance.
covered software catalog use caes by dedicated widget (gauge card)
3 ability to display menaingful error message if something goes wrong during data fetching from codecov.io
I will try to release its code to community this week for now without compatibility with newest backstage backend syste (released with backstage v1.18)
ping @mlukasik-branch :) moving this to the community plugins repo now which is a great home for contributions
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🔖 Summary
Dedicated widget inside software catalog entity view showing actual code coverage pulled from codecov.io
🌐 Project website (if applicable)
https://app.codecov.io/
✌️ Context
Simplest solution I propose is to:
API request:
GET https://codecov.io/api/v2/{service}/{owner_username}/repos/{repo_name}/coverage/?interval=30d&start_date={today}
sample response:
{ "count": 1, "next": null, "previous": null, "results": [ { "timestamp": "2023-04-02T00:00:00Z", "min": 60.93796, "max": 60.93796, "avg": 60.93796 } ], "total_pages": 1 }
👀 Have you spent some time to check if this plugin request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!