aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.sh
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-05-29 14:09:03 -0700
committerGitHub <noreply@github.com>2020-05-29 14:09:03 -0700
commit09319cd79e3bee6a41bb76db739aef3f3644f19f (patch)
tree36e6b5bd5c17268edc062aa9c462f47fc4f400cf /scripts/bootstrap.sh
parenta64dc07690bc8806e717e190f62eb58e198b599c (diff)
downloadvcpkg-09319cd79e3bee6a41bb76db739aef3f3644f19f.tar.gz
vcpkg-09319cd79e3bee6a41bb76db739aef3f3644f19f.zip
[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
Diffstat (limited to 'scripts/bootstrap.sh')
-rw-r--r--scripts/bootstrap.sh16
1 files changed, 11 insertions, 5 deletions
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 <<EOF
+Telemetry
+---------
+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 the bootstrap-vcpkg script with -disableMetrics,
+passing --disable-metrics to vcpkg on the command line,
+or by setting the VCPKG_DISABLE_METRICS environment variable.
+
+Read more about vcpkg telemetry at docs/about/privacy.md
+EOF
fi