vcpkg-tool/include/vcpkg-test
Billy O'Neal c05f470eb2
Accept arbitrary version formats in overrides. (#1329)
* Accept arbitrary version formats in overrides.

We accidentally implemented the overrides deserializer to reject non-relaxed-versions in "overrides", despite the original intent that overrides are scheme-less. Note how the original schema:

https://github.com/microsoft/vcpkg-tool/pull/1209

, and original documentation:

https://github.com/microsoft/vcpkg-docs/pull/159

said everything should be accepted here.

Also fix our example printing when we're asking users to add overrides to ensure it is valid JSON.

* Implement preferring putting the port-version into the version text.

* Rename GenericVersionDeserializer to BaselineVersionTagDeserializer.
2024-03-01 22:40:33 +00:00
..
mockcmakevarprovider.h Allow overrides to select ports that aren't in the baseline. (#1109) 2023-06-23 15:54:41 -07:00
util.h Accept arbitrary version formats in overrides. (#1329) 2024-03-01 22:40:33 +00:00