Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [Vcpkg] version service #8923

Merged
merged 2 commits into from Feb 20, 2023
Merged

Add [Vcpkg] version service #8923

merged 2 commits into from Feb 20, 2023

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 Accepted and actionable changes, features, and bugs 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 Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Badge request: vcpkg
3 participants