Open josesimoes opened 7 years ago
I'm not that familiar with these services. Could you provide more context and links?
ping @maartenba @Daniel15
@paulmelnikow this a service provided by MyGet (for which you already have a few badges applicable to the Nuget feed: version, download count, etc).
You can check the details here. (not sure if this is enough....)
(pinging @maartenba @Daniel15 as requested)
It's an Atom-based feed, endpoints documented here: http://docs.myget.org/docs/reference/feed-endpoints#Vsix-compatible_feed_endpoints
Sample feed: https://www.myget.org/F/credentialproviders/vsix
Where www
is the tenant parameter (can be e.g. somecompany
and credentialproviders
is the feed name.
/cc @xavierdecoster
What would these badges show? Put another way, would they be new badges, or modifications to existing badges?
What would these badges show?
The same as their equivalents from the VS marketplace: download count or version
would they new badges, or modifications to existing badges?
New badges. The current ones (for MyGet) are showing details about the Nuget packages not the VSIX packages.
Sounds reasonable to me. I guess there's no existing badges that call VSIX APIs?
@daniel15 Yes there are! Visual Studio market place has been very recently added. :wink:
Hey guys! Any plans to add this? 😃
Hey @josesimoes, just wanted to put out there that Shields is a community project, and that means you can help make this happen! 👐 We have a great tutorial and welcome anyone who would like to dig into this! Our maintainer team is happy to provide guidance on the API design and provide assistance with the implementation. We've had many first-time contributors who don't use JavaScript and have tried to make the first-time contributing experience as straightforward as possible.
A good place to start on the MyGet badges is by reading this code:
https://github.com/badges/shields/blob/master/services/nuget/nuget-v3-service-family.js
which is used for both NuGet and MyGet.
If you decide to dig in, feel free to post here as you encounter questions!
I'm able to use a dynamic badge.
For example:
data type: xml
label: myget
url: https://www.myget.org/F/credentialproviders/vsix
query: /*[local-name(.)='feed']/*[local-name(.)='entry'][1]/*[local-name(.)='Vsix']/*[local-name(.)='Version']
Result:
Was trying to use the MyGet badge for the Vsix feed but couldn't make it work. Could you please clarify if this is supported or not? Since VS marketplace is now, it seems that it would make sense to have this one too...