Giter Club home page Giter Club logo

Comments (13)

leoarnold avatar leoarnold commented on July 24, 2024 1

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.

from feedback.

leoarnold avatar leoarnold commented on July 24, 2024 1

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

from feedback.

pboling avatar pboling commented on July 24, 2024 1

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

from feedback.

pboling avatar pboling commented on July 24, 2024

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

from feedback.

mindlace avatar mindlace commented on July 24, 2024

ok, here are some badgers:

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

from feedback.

pboling avatar pboling commented on July 24, 2024

@theflow What say you?

from feedback.

theflow avatar theflow commented on July 24, 2024

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.

from feedback.

pboling avatar pboling commented on July 24, 2024

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

  • Average age of open Depfu PRs in days, months, or years
  • Average age between open and close of Depfu PRs in days, months, or years
  • Number of Depfu PRs merged (@leoarnold 's idea)
  • Number of open Depfu PRs (not merged)

from feedback.

pboling avatar pboling commented on July 24, 2024

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.

from feedback.

theflow avatar theflow commented on July 24, 2024

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

  • ignoring patch releases (so it only counts as outdated if you're at least a minor version behind)
  • and/or allowing a certain amount (25%) of dependencies to be outdated

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!

from feedback.

leoarnold avatar leoarnold commented on July 24, 2024

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.

from feedback.

pboling avatar pboling commented on July 24, 2024

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

from feedback.

theflow avatar theflow commented on July 24, 2024

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

from feedback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.