Skip to content

[issue] proposal about boost version. #1792

@tianchen-liu

Description

@tianchen-liu

Hello vcpkg tool team,

I’ve read the article about resolving the version override issue for Boost boost-version.

In my opinion, the current solution for handling cascade version overrides is not very elegant.

After reviewing some of the version control code in vcpkg-tool, I would like to suggest an alternative: supporting wildcard names in the overrides section. For example:

{
  "name": "boost-*",
  "version": "1.80.0"
}

As a first and simple step, supporting * would already cover most cases where cascade dependencies occur. This is because sub-packages from the same package group typically share a common name prefix. The same approach would also work for packages like qt-*.
From an implementation perspective, vcpkg-tool would only need to add a version override check during the dependency resolution process.

Additionally, it would be reasonable to restrict the * to appear only after a -, in order to avoid unintended matches (e.g., boo* potentially affecting unrelated package names).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions