alanshaw / david-www

:eyeglasses: David helps keep your Node.js project dependencies up to date.
https://david-dm.org
MIT License
731 stars 131 forks source link

Support non-default branches #426

Closed nponeccop closed 4 years ago

nponeccop commented 5 years ago

Sometimes more than 1 version of a package is maintained (e.g. 2.x and 3.x). So we need separate badges for separate branches. What about supporting username/repo/branch in addition to username/repo ?

SalomonSmeke commented 4 years ago

If I'm understanding you correctly, support for this was added around 4 years ago:

https://davidiswatching.tumblr.com/post/112632310569/branches-and-tags

Here is a badge URL I use for my "dev" branch.

https://david-dm.org/SalomonSmeke/salomonsmeke.github.io/dev