depfu / feedback

🤔 Question, bugs and feedback for Depfu
https://depfu.com
MIT License
9 stars 4 forks source link

I miss badges. Can we have badges? #3

Closed autobolt closed 6 years ago

autobolt commented 6 years ago

Are there badges already? If so, can we have your badges integrated with shields.io?

pboling commented 6 years ago

I meant to post this as myself, not a machine user. #RiseOfTheMachines.

mindlace commented 6 years ago

ok, here are some badgers:

https://www.youtube.com/watch?v=NL6CDFn2i3I

leoarnold commented 6 years ago

Since Depfu does not show up among the contributers to the repository (on GitHub that is) it would be nice to show off (i.e. free advertisement for Depfu, hint-hint) with a badge. Maybe one that counts the number of Depfu PRs merged.

Also, GitLab acquired Gemnasium, so GitHubbers might be on the lookout for a working alternative (i.e. Depfu) soon.

pboling commented 6 years ago

@theflow What say you?

theflow commented 6 years ago

I can make something happen :)

Just never a big fan of the Gemnasium badge, since it would should as "Outdated" pretty much all the time.

pboling commented 6 years ago

Agreed. The metric of the badge should be carefully considered. Some ideas, of which a badge could integrate one or more:

leoarnold commented 6 years ago

"Number of open Depfu PRs (not merged)" could come off as shaming the maintainers.

pboling commented 6 years ago

Shaming, sure, but perhaps also motivating? The goal as I see it would be to spur community involvement among those who depend on a project, by alerting people to the state of the project. It will also help people who are not yet depending on a project to be able to make a more informed decision about whether or not to adopt / invest in a project.

theflow commented 6 years ago

Ok, I've implemented a few prototypes:

badges

Overview Badge

Pretty straightforward and similar to what's already out there: shows up-to-date, outdated, insecure for runtime dependencies. I was thinking about making the outdated less harsh by

I think it doesn't really matter that a few are outdated, because as a user I want the library to just care about updating from time-to-time.

Count Badge

I like the simplicity of this one. Same rule ignoring patch releases as above. I also like that it immediately gives you an idea how many dependencies this library uses.

Depfu

This is very Depfu specific and doesn't really tell a user much about the state of dependencies. But maybe more of a "I'm using Depfu" badge?

Let me know what you folks think!

pboling commented 6 years ago

I am very much in love with the count badge. ☑️

leoarnold commented 6 years ago

The prototype of the "Depfu" badge is way longer than the usual badges and therefore a little odd. And the "Overview" badge is indistinguishable from the Gemnasium badge to me.

pboling commented 6 years ago

To shorten, all of the badges could use Depfu on the left side instead of dependencies.

theflow commented 6 years ago

This is done: https://depfu.com/blog/rethinking-the-dependencies-badge