microsoft / microsoft/vcpkg-tool

Feature Request: --abi-tools-use-exact-versions should also consider the version of the vcpkg-tool it self.

Open
#2,002 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
607
Forks
368
Avg merge
5d 13m
Merged PRs (30d)
12

Description

Since the hash of the vcpkg-tool is included in the ABI hash, one needs to use the same version of the vcpkg-tool for caching to work.
abi-tools-use-exact-versions was introduced to handle this for external tools like cmake etc, It should also handle this for the vcpkg tool it self.

Ideally it should auto update the vcpkg-tool, otherwise giving and error and requesting the user to run bootstrap.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the implementation of abi-tools-use-exact-versions and how the vcpkg-tool version enters the ABI hash. Verify the existing cache behavior, then define the handling for mismatched versions: automatic update or an error asking the user to run bootstrap. Done means matching vcpkg-tool versions are handled consistently for caching.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.