Add [Vcpkg] version service#8923
Merged
repo-ranger[bot] merged 2 commits intobadges:masterfrom Feb 20, 2023
Merged
Conversation
Contributor
njakob
commented
Feb 19, 2023
|
|
||
| t.create('gets the port version of entt') | ||
| .get('/entt.json') | ||
| .expectBadge({ label: 'vcpkg', message: isSemver }) |
Contributor
Author
There was a problem hiding this comment.
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.
chris48s
approved these changes
Feb 20, 2023
Member
chris48s
left a comment
There was a problem hiding this comment.
Nice. Solid first contribution 👍
This was referenced Feb 23, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/enttwould extract the following data and you can find a visual representation on https://vcpkg.link/ports/entt (community project built by myself).