Skip to content

Comments

Add [Vcpkg] version service#8923

Merged
repo-ranger[bot] merged 2 commits intobadges:masterfrom
njakob:vcpkg-version
Feb 20, 2023
Merged

Add [Vcpkg] version service#8923
repo-ranger[bot] merged 2 commits intobadges:masterfrom
njakob:vcpkg-version

Conversation

@njakob
Copy link
Contributor

@njakob njakob commented Feb 19, 2023

Adds a new version service for Vcpkg packages and fixes #5816.

All the data regarding Vcpkg can be found in its public repository microsoft/vcpkg and therefore does not require any extra authentication than GitHub. Besides, you can find more information about its structure in the following documentation.

For example, /vcpkg/v/entt would extract the following data and you can find a visual representation on https://vcpkg.link/ports/entt (community project built by myself).

entt

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2023

Messages
📖 ✨ Thanks for your contribution to Shields, @njakob!

Generated by 🚫 dangerJS against 1f40f96


t.create('gets the port version of entt')
.get('/entt.json')
.expectBadge({ label: 'vcpkg', message: isSemver })
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Not all ports have a semantic version as it depends on the underlying package (see documentation). However, Entt port does in this specific case.

@calebcartwright calebcartwright added the service-badge New or updated service badge label Feb 19, 2023
Copy link
Member

@chris48s chris48s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Solid first contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

service-badge New or updated service badge

Development

Successfully merging this pull request may close these issues.

Badge request: vcpkg

3 participants