Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
docs: Improving and finalizing consent language (#770)
Browse files Browse the repository at this point in the history
* docs: Improving and finalizing consent language

It is important we get this language right since we are asking folks to
send data about their devstack usage. We ideated on this langauge in:
https://docs.google.com/document/d/1NSgnbxV_PC_zpkuvpLuGB5gx5m2fLyEx-6vi4A6fo24/edit

* Update scripts/send-metrics.py

Co-authored-by: Tim McCormack <[email protected]>

Co-authored-by: Tim McCormack <[email protected]>
  • Loading branch information
jinder1s and timmc-edx authored Jun 9, 2021
1 parent 2eec946 commit 774e406
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions scripts/send-metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,21 +338,23 @@ def do_opt_in():
.format(record=config['consent'])
)
return
# variables used to bold relevant text in the consent language below
MARKUP_BOLD = '\033[1m'
MARKUP_END = '\033[0m'

# NOTE: This is required for informed consent on the part of the users opting-in.
# The types of data collected cannot be expanded or changed without legal review.
print(
"Allow devstack to report anonymized usage metrics?\n"
"\n"
"This will report usage information to a team at edX so that "
"devstack improvements can be planned and evaluated. The metrics included are: "
"The make target, a timestamp, duration of command run, the git hash of the version of devstack, "
"whether or not this command was run on the master branch, the exit status of the command, "
"and an anonymous user ID. "
"You can opt out again at any time in order to "
"stop sending metrics.\n"
+ MARKUP_BOLD + "Allow devstack to report anonymized usage metrics?\n" + MARKUP_END +
"\n"
"Type 'yes' or 'y' to opt in, or anything else to cancel."
"This will report usage information to edX so that devstack improvements can be planned and evaluated. "
"The metrics and attributes to be collected by edX include an anonymous user ID and information about devstack command calls (e.g. make targets, exit codes, and command durations), "
"the OS, and git repo state."
"\n\n"
+ MARKUP_BOLD + "Type 'yes' or 'y' to opt in to reporting this information, or anything else to cancel. " + MARKUP_END +
"\n\n"
"You may withdraw this permission and stop sending such metrics at any time by running ‘make metrics-opt-out’."
)
answer = input()
print()
Expand Down

0 comments on commit 774e406

Please sign in to comment.