diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2020-05-29 14:09:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 14:09:03 -0700 |
| commit | 09319cd79e3bee6a41bb76db739aef3f3644f19f (patch) | |
| tree | 36e6b5bd5c17268edc062aa9c462f47fc4f400cf /scripts/bootstrap.sh | |
| parent | a64dc07690bc8806e717e190f62eb58e198b599c (diff) | |
| download | vcpkg-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.sh | 16 |
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 |
