2020-08-21 19:54:36 +02:00
|
|
|
# SPDX-FileCopyrightText: no
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
#
|
2017-11-01 14:10:25 +01:00
|
|
|
# Settings for various kinds of tracking that Distributions can
|
|
|
|
# enable. Distributions looking at tracking should be aware of
|
|
|
|
# the privacy (and hence communications) impact of that tracking,
|
|
|
|
# and are advised to consult the Mozilla and KDE policies on
|
|
|
|
# privacy and user tracking.
|
|
|
|
#
|
|
|
|
# There are three areas of tracking (-configuration) supported
|
|
|
|
# by Calamares It is up to individual Distributions to create
|
|
|
|
# suitable backends / configuration scripts for each. The
|
|
|
|
# different areas are:
|
|
|
|
#
|
|
|
|
# install: This is "phone home" functionality at the end of the
|
|
|
|
# install process. When enabled, it contacts the given
|
|
|
|
# URL. The URL can contain the special token $MACHINE,
|
|
|
|
# which is replaced by the machine-id of the installed
|
|
|
|
# system (if available, blank otherwise).
|
|
|
|
#
|
|
|
|
# machine: This enables machine-level tracking on a (semi-)
|
|
|
|
# continuous basis. It is meant to keep track of installed
|
|
|
|
# systems and their continued use / updating.
|
|
|
|
#
|
|
|
|
# user: This area enables user-level tracking, along the lines
|
|
|
|
# of the KDE User Telemetry Policy. It enables specific
|
|
|
|
# collection of data at a user- and application-level,
|
|
|
|
# possibly including actions done in an application.
|
|
|
|
# For the KDE environment, this enables user tracking
|
|
|
|
# with the appropriate framework, and the KDE User Telemetry
|
|
|
|
# policy applies.
|
|
|
|
#
|
2017-11-21 13:51:30 +01:00
|
|
|
# Each area has a key *enabled*. If the area is enabled, it is shown to
|
2020-06-17 14:52:48 +02:00
|
|
|
# the user. This defaults to false, which means no tracking would be
|
2017-11-21 13:51:30 +01:00
|
|
|
# configured or enabled by Calamares.
|
2017-11-01 14:10:25 +01:00
|
|
|
#
|
2017-11-08 13:46:33 +01:00
|
|
|
# Each area has a key *policy*, which is a Url to be opened when
|
|
|
|
# the user clicks on the corresponding Help button for an explanation
|
|
|
|
# of the details of that particular kind of tracking. If no policy
|
2020-06-17 11:30:12 +02:00
|
|
|
# is set, that tracking style is disabled. The example policy links
|
|
|
|
# go to Calamares' generic user manual (which is a terrible idea
|
|
|
|
# for distro's: you have GDPR obligations under most of these tracking
|
|
|
|
# styles, so do your homework).
|
2017-11-08 13:46:33 +01:00
|
|
|
#
|
2017-11-01 14:10:25 +01:00
|
|
|
# Each area may have other configuration keys, depending on the
|
|
|
|
# area and how it needs to be configured.
|
2017-11-21 13:51:30 +01:00
|
|
|
#
|
|
|
|
# Globally, there are two other keys:
|
|
|
|
#
|
|
|
|
# policy: (optional) url about tracking settings for this distro.
|
|
|
|
# default: (optional) level to enable by default
|
|
|
|
#
|
2017-08-29 14:00:37 +02:00
|
|
|
---
|
2017-11-21 13:51:30 +01:00
|
|
|
# This is the global policy; it is displayed as a link on the page.
|
|
|
|
# If blank or commented out, no link is displayed on the tracking
|
2020-06-17 11:30:12 +02:00
|
|
|
# page. You **must** provide policy links per-area as well.
|
2019-12-03 12:24:47 +01:00
|
|
|
policy: "https://github.com/calamares/calamares/wiki/Use-Guide#installation-tracking"
|
2017-11-21 13:51:30 +01:00
|
|
|
|
2020-06-17 14:52:48 +02:00
|
|
|
# This is the default area to enable for tracking. If commented out,
|
2017-11-21 13:51:30 +01:00
|
|
|
# empty, or otherwise invalid, "none" is used, so no tracking by default.
|
2020-06-17 14:52:48 +02:00
|
|
|
# Setting an area here also checks the areas before it (install, machine,
|
|
|
|
# then user) by default -- subject to those areas being enabled at all.
|
|
|
|
# default: user
|
2017-08-29 14:00:37 +02:00
|
|
|
|
2017-11-01 14:10:25 +01:00
|
|
|
# The install area has one specific configuration key:
|
|
|
|
# url: this URL (remember to include the protocol, and prefer https)
|
|
|
|
# is fetched (with a GET request, and the data discarded) at
|
2017-11-08 15:35:49 +01:00
|
|
|
# the end of the installation process. The following tokens
|
|
|
|
# are replaced in the url (possibly by blank strings, or by 0).
|
|
|
|
# - $CPU (cpu make and model)
|
|
|
|
# - $MEMORY (amount of main memory available)
|
|
|
|
# - $DISK (total amount of disk attached)
|
|
|
|
# Typically these are used as GET parameters, as in the example.
|
2017-11-01 14:10:25 +01:00
|
|
|
#
|
|
|
|
# Note that phone-home only works if the system has an internet
|
|
|
|
# connection; it is a good idea to require internet in the welcome
|
|
|
|
# module then.
|
2017-08-29 14:00:37 +02:00
|
|
|
install:
|
2017-11-06 16:47:57 +01:00
|
|
|
enabled: false
|
2019-12-03 12:24:47 +01:00
|
|
|
policy: "https://github.com/calamares/calamares/wiki/Use-Guide#installation-tracking"
|
2020-06-17 14:52:48 +02:00
|
|
|
url: "https://example.com/install.php?c=$CPU&m=$MEMORY"
|
2017-11-01 14:10:25 +01:00
|
|
|
|
|
|
|
# The machine area has one specific configuration key:
|
|
|
|
# style: This string specifies what kind of tracking configuration
|
2020-06-17 14:52:48 +02:00
|
|
|
# needs to be done. See below for valid styles.
|
2020-06-17 11:30:12 +02:00
|
|
|
#
|
2020-06-17 14:52:48 +02:00
|
|
|
# Available styles:
|
|
|
|
# - *updatemanager* replaces the literal string "${MACHINE_ID}" with the contents of
|
2020-06-17 11:30:12 +02:00
|
|
|
# /etc/machine-id, in lines starting with "URI" in the file /etc/update-manager/meta-release
|
2017-11-01 14:10:25 +01:00
|
|
|
machine:
|
2017-11-06 16:47:57 +01:00
|
|
|
enabled: false
|
2020-06-17 10:18:08 +02:00
|
|
|
style: updatemanager
|
2020-06-17 11:30:12 +02:00
|
|
|
policy: "https://github.com/calamares/calamares/wiki/Use-Guide#machine-tracking"
|
2017-08-29 14:00:37 +02:00
|
|
|
|
2020-06-17 14:52:48 +02:00
|
|
|
# The user area has one specific configuration key:
|
|
|
|
# style: This string specifies what kind of tracking configuration
|
|
|
|
# needs to be done. See below for valid styles.
|
|
|
|
#
|
|
|
|
# Available styles:
|
|
|
|
# - *kuserfeedback* sets up KUserFeedback tracking (applicable to the KDE
|
|
|
|
# Plasma Desktop) for each KUserFeedback area listed in *areas*.
|
2017-11-01 14:10:25 +01:00
|
|
|
user:
|
2017-11-06 16:47:57 +01:00
|
|
|
enabled: false
|
2020-06-17 14:52:48 +02:00
|
|
|
style: kuserfeedback
|
|
|
|
areas: [ PlasmaUserFeedback ]
|