vcpkg/scripts
Victor Romero 6c9cda1635
[vcpkg] Implement VersionedPortfileProvider and BaselineProvider (#14123)
* WIP: Get versions from database files

* Fix formatting

* Provider inherits ResourceBase

* Correct versions JSON file location

* Fix formatting

* Fix formatting

* Fix include in versions.h

* Fetch port versions using git tree object

* Undo changes to x-history

* Remove unnecesary moves

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Extract Git manipulation code

* [WIP] Review comments

* [WIP] Review comments pt. 2

* [WIP] Review comments / fix formatting

* Generate baseline.json

* Extract deserializers from registries source file

* BaselineProvider initial implementation

* Modify gitignore

* Update .gitignore again

* Use JSON deserializer for versions db

* Lazy load baseline file

* Fetch baseline.json from baseline commit

* More git abstractions

* Clean up code

* Path helpers

* Formatting

* Move data into impl object

* Use implementation object for VersionedPortfileProvider

* Reuse cloned instance for checkouts

* Code cleanup and formatting

* Fix returning dangling reference

* Prepare to remove files in port_versions/

* Remove files in port_versions/

* Update .gitignore

* Some PR review comments

* Use StringView

* More StringView conversions

* More refactoring

* Make some implementation members private

* Functions for parsing baseline and version files

* Hide deserializers implementation

* Check for `versions` feature flag in registries.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-27 05:44:21 -08:00
..
azure-pipelines [vcpkg] Add experimental x-azblob binary provider (#13626) 2020-11-18 12:21:23 -08:00
boost [boost-locale] Replace VCPKG_TARGET_IS_WINDOWS in b2-options (#14502) 2020-11-25 11:26:33 -08:00
buildsystems [vcpkg msbuild] Fix the issues introduced in 13755 (#14772) 2020-11-25 12:45:36 -08:00
cmake [vcpkg_fixup_cmake_targets] Add NO_PREFIX_CORRECTION (#12215) 2020-11-25 12:06:25 -08:00
detect_compiler Print more verbose compiler detection info (#14188) 2020-10-23 20:54:36 -07:00
e2e_ports Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
get_cmake_vars [meson|scripts] update scripts (#12945) 2020-11-18 13:36:20 -08:00
ifw [vcpkg-export-ifw] Maintenance Tool 2017-10-05 21:24:32 +03:00
posh-vcpkg/0.0.1 [vcpkg] Initial commit of powershell integration 2017-10-14 01:45:28 -07:00
templates Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
test_ports [vcpkg_find_acquire_program] Cleanup and add CI testing (#12982) 2020-08-25 18:41:56 -07:00
testing/integrate-install [vcpkg] Fix MSBuild regressions #12062 and #12086. (#12257) 2020-07-08 15:08:17 -07:00
toolchains [vcpkg] initial openbsd (community) support (#14549) 2020-11-23 09:43:23 -08:00
addPoshVcpkgToPowershellProfile.ps1 [vcpkg, jsonnet, openssl-uwp] Enable use of the system powershell-core if it is present. (#13805) 2020-10-27 20:48:14 -07:00
bootstrap.ps1 [vcpkg] Merge the vcpkg metadata uploader into the vcpkg binary (#13421) 2020-09-11 13:52:18 -07:00
bootstrap.sh [vcpkg] initial openbsd (community) support (#14549) 2020-11-23 09:43:23 -08:00
build_info.cmake [llvm] install tools in tools/llvm (#14399) 2020-11-12 17:31:34 -08:00
ci.baseline.txt [icu] Add MSVC ARM64 support (#14186) 2020-11-18 14:09:34 -08:00
cleanEnvironmentHelper.ps1 #5248 make vcpkg buildable as 'system' user (#7038) 2019-06-25 21:45:02 -07:00
file_script.py [vcpkg-ci] Always publish file lists (#12384) 2020-07-13 12:14:51 -07:00
Generate-SpdxLicenseList.ps1 [vcpkg] VM Update (#12176) 2020-07-01 10:53:10 -07:00
generatePortVersionsDb.py [vcpkg] Implement VersionedPortfileProvider and BaselineProvider (#14123) 2020-11-27 05:44:21 -08:00
ports.cmake [vcpkg/scripts] Add a way to get cmake compiler settings/flags (#12936) 2020-11-10 09:52:02 -08:00
vcpkg_completion.bash [autocomplete] Add tab-completion support for bash 2018-12-13 14:02:02 -08:00
vcpkg_completion.fish [vcpkg] Add tab completion for Fish (#14206) 2020-11-02 17:25:43 -08:00
vcpkg_get_dep_info.cmake [vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601) 2020-02-03 14:22:52 -08:00
vcpkg_get_tags.cmake [many ports] Add supports (#12857) 2020-09-03 10:59:31 -07:00
vcpkg.schema.json [vcpkg] Add a schema file for vcpkg.json (#12178) 2020-07-13 11:34:15 -07:00
vcpkgTools.xml [cmake] upgrade to 3.18 (#12612) 2020-10-19 17:18:39 -07:00