From 09319cd79e3bee6a41bb76db739aef3f3644f19f Mon Sep 17 00:00:00 2001 From: nicole mazzuca Date: Fri, 29 May 2020 14:09:03 -0700 Subject: [vcpkg metrics] Allow someone to opt out after build (#11542) * [vcpkg metrics] start using json library Additionally, add floats to the JSON library since they're required. * [vcpkg metrics] allow users to disable metrics after the build Additionally, as a drive by, fix UUID generation * fix metrics data * code review --- scripts/bootstrap.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'scripts/bootstrap.sh') diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index d45305fb5..321a16e05 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -256,9 +256,15 @@ rm -rf "$vcpkgRootDir/vcpkg" cp "$buildDir/vcpkg" "$vcpkgRootDir/" if ! [ "$vcpkgDisableMetrics" = "ON" ]; then - echo "Telemetry" - echo "---------" - echo "vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running bootstrap-vcpkg.sh with -disableMetrics" - echo "Read more about vcpkg telemetry at docs/about/privacy.md" - echo "" + cat <