VCPKG Asset Caching for company internal assets #42791
-
Hi, I use the Microsoft official VCPKG registry as my default registry and a company internal VCPKG registry for our internal ports/libraries. A vcpkg-configuration.json could typically look like this:
All ports except those prefixed with "company-" will be fetched from the official registry. I have started to try out VCPKG asset caching and it works perfectly! But I have noticed that VCPKG only caches the external assets and no assets from our company internal git repositories pointed out by the ports in our internal registry is pushed to the cache. That is perfectly fine because we are in control of the internal assets but I see nothing in the documentation about this. I just wonder if someone can confirm this behavior. So, is it by design to not put our company internal assets in the asset cache, and if so, how does VCPKG make the difference? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Are you using vcpkg_from_git in your internal ports? |
Beta Was this translation helpful? Give feedback.
Then that is your answer. vcpkg_from_git is not part of the asset caching. There is no SHA512 which could be used.