vcpkg/scripts
Victor Romero 2a42024b53
[vcpkg] Add commands to maintain and verify versions db integrity (#14999)
* [vcpkg] Add x-ci-verify-versions command

* Code cleanup

* Remove port version splitting from x-history

* Fix wrong message on success

* Parallelize versions file generator

* Use cpu_count()/2 to avoid crashes

* Check db SHA against local SHA

* Check baseline version with x-ci-verify-versions and make baseline generator much faster

* Implement x-add-version to update version db files

* Better checks for x-add-info and make x-ci-verify-versions silent on success

* Use find() instead of [] on maps

* Create version file if does not exist

* Allow redirection of ports/ and port_versions/

* add test ports

* WIP end-to-end tests

* Change pats in e2e tests

* Fix e2e args

* e2e once more

* Pass ersions feature flag to e2e

* Exit with code 1 if there are errors

* Files to test for failure cases

* Update test files

* Add test for x-add-version

* fix redirected ports in last test

* Add CI check (use dummy data)

* Add feature-flags=versions

* Ignore subdirectories inside ports

* Add --verify-git-trees switch

* [vcpkg] Fix build breaks

* [x-ci-verify-versions] PR comments

* [x-add-version] PR comments

* Fix merge conflicts

* Modify tests and pipeline

* Baselines should only have version-string

* Refactor x-add-version

* [vcpkg] Fix help message

* [vcpkg] Fix minor warnings

* `x-add-version --all` doesn't stop on first failure and reduced default verbosity

* [vcpkg] Fix default-baseline

* Load file instead of using paths provider

* Format

* Remove ci test

* Add fish port for testing

* Update version files

* Update fish port to cause SHA discrepancy

* Test for discrepancy between local SHA and declared SHA

* Missing = operator

* Check for error message since x-add-version exits with code 0

* Make x-add-version fail with non-zero exit code if not run with --all

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-01-07 18:04:11 -08:00
..
azure-pipelines [vcpkg] Add commands to maintain and verify versions db integrity (#14999) 2021-01-07 18:04:11 -08:00
boost [boost] update to 1.75.0 (#15090) 2020-12-23 17:16:42 -08:00
buildsystems Write manifest "vcpkg install" output to stdout (#15187) 2020-12-21 12:13:32 -08:00
cmake Update vcpkg_download_distfile.cmake (#15435) 2021-01-05 12:39:57 -08:00
detect_compiler Print more verbose compiler detection info (#14188) 2020-10-23 20:54:36 -07:00
e2e_ports [vcpkg registries] support versions (#15114) 2020-12-21 15:40:21 -08: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 [OpenCV] fix compatibility with VTK9 (#12785) 2020-12-11 14:16:29 -08:00
testing [vcpkg] Add commands to maintain and verify versions db integrity (#14999) 2021-01-07 18:04:11 -08:00
toolchains [mingw] Remove executable extension on non-Windows hosts (#15282) 2020-12-26 22:19:16 -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] Restore embedded git hash behind an option. (#15472) 2021-01-07 12:51:46 -08:00
bootstrap.sh [vcpkg bootstrap] Include "zip" as required apt dependency in bootstrap error message (#14803) 2020-12-03 14:12:40 -08:00
build_info.cmake [llvm] install tools in tools/llvm (#14399) 2020-11-12 17:31:34 -08:00
ci.baseline.txt [geotrans] update to version 3.8 (on-hold waiting for CI/VM port 21 for ftp to be opened or alternate host site) (#14412) 2021-01-05 12:05:15 -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
generateBaseline.py [vcpkg] Improve versioning files generators (#15172) 2021-01-05 14:36:46 -08:00
generatePortVersionsDb.py [vcpkg] Improve versioning files generators (#15172) 2021-01-05 14:36:46 -08:00
ports.cmake [vcpkg] Refactor end-to-end tests (#15081) 2020-12-15 10:26:00 -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 [vcpkg] VCPKG_ENV_PASSTHROUGH_UNTRACKED (#15115) 2020-12-17 11:35:08 -08:00
vcpkg.schema.json [vcpkg] Adhere to older draft schema to improve compatibility with editors (such as VS) (#15084) 2020-12-14 11:24:19 -08:00
vcpkgTools.xml [cmake] update to 3.19.2 (#14716) 2020-12-28 21:21:03 -08:00