Shields: C# dependencies based on NuGet

Created on 29 Nov 2018  路  5Comments  路  Source: badges/shields

:clipboard: Description
It will be nice to get status of dependencies like Libraries.io for GitHub for C# projects based on NuGet

  • Which service is this badge for?
    C# NuGet dependencies
  • What sort of information should this badge show?
    "dependencies | 3 out of date" or "dependencies | up to date"

:link: Data

question

All 5 comments

Hi, thanks for this suggestion!

We've been having terrible luck with the libraries.io API. It's extremely slow. We want to render badges in < 1 second. When we take longer than 3 seconds, GitHub will give up and show a broken image. I've been thinking about deprecating the libraries.io badge until we can find a better solution.

This information doesn't change all that often, so maybe we can put some kind of caching in front of libraries.io. That's been discussed in #1545.

Another option is reaching out to Libraries about adding a downstream cache. It would greatly improve their service. We use Cloudflare for that, which costs us nothing.

The librariesio API is running much faster now. Maybe they added a cache!

Just found that we already have badge for nuget dependencies
It is 'Libraries,io for releases' under Dependencies group BUT looks like it has limitation.

If I use this:
https://libraries.io/api/nuget/EntityFramework?api_key=e72d1cfe1e4083b0f23397231eab8b17
https://img.shields.io/librariesio/release/nuget/EntityFramework.svg
all works fine

But when I use package with dot in name like: Newtonsoft.Json or Aurochses.Runtime than badge is not avaliable
https://img.shields.io/librariesio/release/nuget/Newtonsoft.Json.svg
but libraries.io show all as expected
https://libraries.io/api/nuget/Newtonsoft.Json?api_key=e72d1cfe1e4083b0f23397231eab8b17

Can you please check and help me?

Ah, thanks for sorting that out. I pushed a fix for that issue in #2434:

http://shields-staging-pr-2434.herokuapp.com/librariesio/release/nuget/Newtonsoft.Json.svg

@paulmelnikow thank you! Waiting for release

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sinedied picture sinedied  路  28Comments

paladox picture paladox  路  72Comments

bryanveloso picture bryanveloso  路  37Comments

Undistraction picture Undistraction  路  31Comments

yvele picture yvele  路  33Comments