Vcpkg: Install a package with specific version?

Created on 25 Apr 2020  路  3Comments  路  Source: microsoft/vcpkg


Is your feature request related to a problem? Please describe.

  • This request isn't related to any existing problem.

Proposed solution

  • For example, extend the current triplet to contain version information: [email protected]:x64-windows.

Describe alternatives you've considered
ditto

Additional context

  • This feature is very essential when I'm considering using vcpkg as the default package management system of my company's future projects. If we can't control which version's package to install, we can't control the stability of our projects.
  • The latest version of a third-party package is NOT always a suitable version for every project. I believe the functionality to control the installed package's version is very important and necessary.
vcpkg-feature

Most helpful comment

Hello and thank you for the suggestion. We will be doing a more detailed announcement by the end of the week on our roadmap, but one of the top things on it is versioning support. We have received a lot of feedback about this in the past and we definitely want to address it.

All 3 comments

The trick ist to combine the command:
vcpkg x-history <portname>
with:
https://github.com/microsoft/vcpkg/blob/master/docs/specifications/ports-overlay.md
to fix a port to a certain version or simply wanting to have a customized build.
Maybe also relevant:
https://github.com/microsoft/vcpkg/blob/master/docs/examples/overlay-triplets-linux-dynamic.md

Hello and thank you for the suggestion. We will be doing a more detailed announcement by the end of the week on our roadmap, but one of the top things on it is versioning support. We have received a lot of feedback about this in the past and we definitely want to address it.

We recently published a product roadmap in our wiki. You can read the original announcement in our blog post.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

angelmixu picture angelmixu  路  3Comments

oahzuw picture oahzuw  路  3Comments

ghost picture ghost  路  3Comments

tzbo picture tzbo  路  3Comments

madkoala picture madkoala  路  3Comments