README crev badge #450
Replies: 11 comments
-
I have definitely thought about it, but I just don't have time to do it right now. I think it could be a part of #334 . |
Beta Was this translation helpful? Give feedback.
-
Yes! I was just thinking the same thing :) #334 (comment) But I thought I'd spin the shield topic into its own issue in case @LucianoBestia was thinking of going in a different direction. |
Beta Was this translation helpful? Give feedback.
-
Yeap. But I think 90% of the problems and code would be the same. A background scrapper, local cache, maintaining some fixed list of reputable roots of trust and so on. So I think it would be best if more people teamed up (it usually leads to better results anyway). |
Beta Was this translation helpful? Give feedback.
-
This is a good idea. I will look around to understand how badge/shield works. |
Beta Was this translation helpful? Give feedback.
-
@LucianoBestia This might be a good place to start: https://shields.io/endpoint |
Beta Was this translation helpful? Give feedback.
-
I added badges to my web service. See it working here: The markdown code is: [![crev_count](
https://bestia.dev/cargo_crev_web/badge/crev_count/reader_for_microxml.svg
)](https://bestia.dev/cargo_crev_web/crate/reader_for_microxml) |
Beta Was this translation helpful? Give feedback.
-
@LucianoBestia That's really cool! 😁 I think you should get rid of the word "count" as it is implied. May I suggest that you show a percentage like this This will allow developers to get a sense of progress towards being dependency review complete ( I think that would be enough information to pack into a badge! I understand that a percentage might be harder to calculate because it involves inspecting each repository. Please let me know what you think of this sort of idea! |
Beta Was this translation helpful? Give feedback.
-
The cargo crev data does not have information about dependencies. These are in cargo.toml that I don't collect. I cannot make something like 'cargo crev verify'. I can only answer what reviews exist for that specific crate. But not for its dependencies and their recursive dependencies like 'verify' does. |
Beta Was this translation helpful? Give feedback.
-
I imagine this web app to inform the developer about a crate before they choose to use it in their project. This step is now missing in the eco-system. And I think it is a critical step when building a project. If you start with the wrong dependency is very hard to change it later. So my 2 primary questions are:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
It looks great. |
Beta Was this translation helpful? Give feedback.
-
Have you guys considered a badge/shield for crev? It could work something like this:
This should increase crev's visibility and spread awareness of the tool.
A shield could provide a succinct summary.
Beta Was this translation helpful? Give feedback.
All reactions