Closed autobolt closed 6 years ago
I meant to post this as myself, not a machine user. #RiseOfTheMachines.
ok, here are some badgers:
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.
@theflow What say you?
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.
Agreed. The metric of the badge should be carefully considered. Some ideas, of which a badge could integrate one or more:
"Number of open Depfu PRs (not merged)" could come off as shaming the maintainers.
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.
Ok, I've implemented a few prototypes:
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.
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.
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!
I am very much in love with the count badge. ☑️
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.
To shorten, all of the badges could use Depfu
on the left side instead of dependencies
.
This is done: https://depfu.com/blog/rethinking-the-dependencies-badge
Are there badges already? If so, can we have your badges integrated with shields.io?