[TIMOB-26083] Titanium CLI: Add ability opt-out analytics and remove email from analytics payload
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-06-05T14:50:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.2.0 |
Components | Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2018-06-04T04:12:02.000+0000 |
Updated | 2018-06-05T14:55:31.000+0000 |
Description
The Titanium CLI needs a way to opt-out of analytics. The idea is to add a config setting
analytics
that can be set to false to opt-out. By default, it will be true
.
To opt-out, simply run:
appc ti config cli.analytics false
Also, remove the email address from the analytics payload.
PR: https://github.com/appcelerator/titanium/pull/273 To test: 1. Set
appc ti config cli.analytics.debug true
2. Create a new appappc new
3. Observe the analytics events being sent 4. Setappc ti config cli.analytics false
5. Create another new appappc new
6. Observe the analytics events are not sent Remember toappc ti config -r cli.analytics.debug
or else Studio is going to blow up.Version bump and Jenkinsfile fix to trigger correct appc cli job: https://github.com/appcelerator/titanium/pull/274
{noformat} appc ti config cli.analytics false {noformat} Stopped analytics from being sent and an email address is no longer present The fix is present in
CLI 7.0.4-master.3
*Closing*