From 0bd6351c3304133ea4e05f6b8d297ad607ea140c Mon Sep 17 00:00:00 2001 From: donoghuc Date: Tue, 2 Apr 2024 14:30:58 -0700 Subject: [PATCH] (maint) Turn off analytics submissions Collecting analytics is now turned off by default. !removal * **Stop collecting bolt analytics** ([#3293](#3293)) Bolt no longer collects analytics by default. --- documentation/analytics.md | 5 +++-- documentation/bolt_installing.md | 4 ---- lib/bolt/config.rb | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/documentation/analytics.md b/documentation/analytics.md index a288ce2a1e..f45ff1d998 100644 --- a/documentation/analytics.md +++ b/documentation/analytics.md @@ -1,7 +1,8 @@ # Analytics Bolt collects data about how you use it to help the Bolt team make decisions -about how to improve it. You can opt out of providing this data. +about how to improve it. You can opt out of providing this data. Analytics is +disabled by default. ## Opt out of data collection @@ -12,7 +13,7 @@ or by setting an environment variable. To disable data collection, set `analytics: false` in your [configuration file](configuring_bolt.md). This option is supported in the system-wide, -user-level, and project configuration files. +user-level, and project configuration files. `false` is the default value. ```yaml # bolt-defaults.yaml diff --git a/documentation/bolt_installing.md b/documentation/bolt_installing.md index 1f98912f5e..516b55d0b4 100644 --- a/documentation/bolt_installing.md +++ b/documentation/bolt_installing.md @@ -1,9 +1,5 @@ # Installing Bolt -> Bolt automatically collects data about how you use it. If you want to opt -> out of providing this data, you can do so. For more information, see -> [Opt out of data collection](analytics.md#opt-out-of-data-collection). - Packaged versions of Bolt are available for several Linux distributions, macOS, and Microsoft Windows. diff --git a/lib/bolt/config.rb b/lib/bolt/config.rb index 385708c335..05d0964a75 100644 --- a/lib/bolt/config.rb +++ b/lib/bolt/config.rb @@ -169,7 +169,7 @@ def initialize(project, config_data, overrides = {}) @config_files = [] default_data = { - 'analytics' => true, + 'analytics' => false, 'apply-settings' => {}, 'color' => true, 'compile-concurrency' => Etc.nprocessors,