Does vcpkg provide tools or commands to automate or simplify the process of updating your ports in an overlay registry? #39566
Unanswered
dennisferron
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Please stop missing overlay ports and (git) registries. Do not use the term "vcpkg repo" when referring to a custom git registry. The steps in the tutorial aren't in a suitable order. As an abstract guideline:
The first step is not related to vcpkg. (Automate as you like.) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created an overlay port (Edit: just realized I typed port here when I meant "overlay registry" or "custom registry" - I'm still unsure the terminology) (forked from North Wind Traders):
https://github.com/dennisferron/vcpkg-registry
I found the process for updating your ports when you update your upstream libraries to be difficult to understand and error prone. The best documentation I could find about it is here:
https://decovar.dev/blog/2022/10/30/cpp-dependencies-with-vcpkg/
Based on that source, and synthesizing bits and pieces such as Reddit r/cpp comments, I came up with this explanation of the process:
https://github.com/dennisferron/antlr4-testrig-runner/blob/main/HOW_TO_UPDATE_VCPKG_PORT.md
It's still so long, so many manual steps, that I can't figure out a way to shorten this further to fit in a space appropriate for this question. (Hence why I provide links instead.)
My first question is, do I have this right - what I've written in my how-to at the link, above?
Secondly, are there tools or vcpkg commands I should be aware of that automate some of the steps of this process?
I'm actually working on a tool to automate some or all of it, but I wanted to make sure I'm not duplicating functionality that exists. And, obviously, that I have the steps right in the first place.
Beta Was this translation helpful? Give feedback.
All reactions