-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow controlling telemetry via the ODO_TRACKING_CONSENT
environment variable
#6258
Allow controlling telemetry via the ODO_TRACKING_CONSENT
environment variable
#6258
Commits on Oct 31, 2022
-
Add support for ODO_TRACKING_CONSENT env variable
Co-authored-by: Armel Soro <asoro@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 54d5273 - Browse repository at this point
Copy the full SHA 54d5273View commit details -
Replace deprecated 'ODO_DISABLE_TELEMETRY' env var with 'ODO_TRACKING…
…_CONSENT' in integration tests
Configuration menu - View commit details
-
Copy full SHA for de7c17c - Browse repository at this point
Copy the full SHA de7c17cView commit details -
Log environment of process launched with 'helper_run' in integration …
…tests `odo` behavior might be altered based on certain environment variables. So this is to help debug future issues that might happen. Because the process environment also contains the current OS environment, we purposely limit the content to variables prefixed with 'ODO_' or particular ones (like 'TELEMETRY_CALLER').
Configuration menu - View commit details
-
Copy full SHA for 5758651 - Browse repository at this point
Copy the full SHA 5758651View commit details -
Test conflicting situations when using both 'ODO_DISABLE_TELEMETRY' a…
…nd 'ODO_TRACKING_CONSENT'
Configuration menu - View commit details
-
Copy full SHA for f227bd2 - Browse repository at this point
Copy the full SHA f227bd2View commit details -
Disable golangci-lint 'staticcheck' check about using the deprecated …
…'segment.DisableTelemetryEnv' However, due to [1], line-based directives do not seem to be working.
Configuration menu - View commit details
-
Copy full SHA for 80740f6 - Browse repository at this point
Copy the full SHA 80740f6View commit details -
Make ODO_TRACKING_CONSENT env var take precedence over the ConsentTel…
…emetry preference See [1] for more context. [1] https://github.com/redhat-developer/odo/pull/6258\#issuecomment-1293736398
Configuration menu - View commit details
-
Copy full SHA for e9f5f0e - Browse repository at this point
Copy the full SHA e9f5f0eView commit details -
Add new 'segment#isTrackingConsentEnabled' function, as suggested in …
…review This would make it easier to rename the values if needed or add aliases later.
Configuration menu - View commit details
-
Copy full SHA for ec9cd87 - Browse repository at this point
Copy the full SHA ec9cd87View commit details -
Add more unit test cases, especially when any of the telemetry var is…
… not there in the env
Configuration menu - View commit details
-
Copy full SHA for 66846ed - Browse repository at this point
Copy the full SHA 66846edView commit details -
Configuration menu - View commit details
-
Copy full SHA for f014337 - Browse repository at this point
Copy the full SHA f014337View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4415ec - Browse repository at this point
Copy the full SHA a4415ecView commit details -
fixup! fixup! Add new 'segment#isTrackingConsentEnabled' function, as…
… suggested in review
Configuration menu - View commit details
-
Copy full SHA for 8b69040 - Browse repository at this point
Copy the full SHA 8b69040View commit details