Use builtin-baseline from vcpkg.json
See original GitHub issueI would suggest to support builtin-baseline
(reference). It could replace vcpkgGitCommitId
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Versioning - vcpkg - Read the Docs
To add an initial "builtin-baseline" , use vcpkg x-update-baseline --add-initial-baseline . To update baselines in a manifest, use vcpkg x-update-baseline .
Read more >Get Started with Versioning - vcpkg
vcpkg lets you take control of which version of packages to install in your projects using manifests. Using versions with manifests. Let's start...
Read more >Take control of your vcpkg dependencies with versioning ...
And lastly, we declare a “ builtin-baseline ”, the value of which is a commit SHA from the vcpkg repository. In our example,...
Read more >vcpkg - How to update a dependency to a specific git commit ...
commit all your changes to the vcpkg repository, modify your manifest file (vcpkg.json) builtin-baseline field to refer to the latest commit ...
Read more >[C++] Update vcpkg.json builtin-baseline - Apache
To support GCS I need to add this package to the cpp/vcpkg.json file. I also want to take advantage of features to keep...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, second point about hashing was unrelated, I added it because I mentioned vcpkg-configuration.json and noticed that run-vcpkg doesn’t hash it by default. Sorry for the confusion.
What I meant was that baseline commit can be specified in both vcpkg.json and vcpkg-configuration.json. In the second form it would look like this object inside root object in vcpkg-configuration.json:
So the logic that will look for commit id in vcpkg.json will also need to look in vcpkg-configuration.json. If both files have baseline commit, then vcpkg will use one provided in vcpkg-configuration.json.
@lukka Exactly!