Mr. Outis
5dd6300878
💅 black
2019-12-07 21:19:54 -06:00
Mr. Outis
6e4c3d6acd
tests: require keys on analytics report schema
2019-12-07 21:18:28 -06:00
Mr. Outis
c50bd17bb4
analytics: collect execution info only when available
2019-12-07 21:14:31 -06:00
Mr. Outis
2145daa130
analytics: define private methods
2019-12-06 16:26:10 -06:00
Mr. Outis
5a8033415d
tests: use str, builtin_str in schema
2019-12-06 13:54:17 -06:00
Mr. Outis
f704e5468b
tests: stringify tmp_global_config since it doesnt return a pathlike object
2019-12-06 10:20:30 -06:00
Mr. Outis
bc2471cd30
tests: adjust scm_class schema
2019-12-05 19:56:45 -06:00
Mr. Outis
71ead3f62e
analytics: use a tempfile for inter-process communication
2019-12-04 19:47:06 -06:00
Mr. Outis
05a68684fd
tests: isolate global config from analytics tests
...
fix #2806
2019-12-04 19:44:12 -06:00
Mr. Outis
7a3aae1c7e
tests: add unit test for analytics.system_info
2019-12-04 19:43:00 -06:00
Mr. Outis
8a32b28b54
analytics: collect and send on daemon
2019-12-02 22:54:16 -06:00
Mr. Outis
8b5ca253ec
analytics: move report schema to tests
2019-12-02 22:48:09 -06:00
Mr. Outis
e0d47a1382
💅 formatting
2019-12-02 21:57:06 -06:00
Mr. Outis
ca485db240
analytics: define report schema and use it on tests
2019-12-02 21:52:00 -06:00
Mr. Outis
55960154c5
analytics: document why tmp_global_config is needed
2019-12-02 17:51:35 -06:00
Mr. Outis
946dfc1400
analytics: send report without loading it to memory
...
shout-out to @Suor for the suggestion
2019-12-02 17:51:32 -06:00
Mr. Outis
e69fffa7c7
py2 compat issues 🤷
2019-11-27 18:39:01 -06:00
Mr. Outis
787ea9cd31
tests: set temporary global config
2019-11-27 12:37:11 -06:00
Mr. Outis
2a5cac5570
💅 deepsource
2019-11-26 19:34:49 -06:00
Mr. Outis
f9952046fd
tests: functional and unit tests for analytics
2019-11-26 19:29:20 -06:00
Mr. Outis
6bc24039db
💅 black
2019-11-26 18:33:16 -06:00
Mr. Outis
5261ed7148
tests: analytics.find_or_create_user_id
2019-11-26 13:40:11 -06:00
Mr. Outis
ef1f038c32
analytics: refactor into a module
2019-11-20 13:31:44 -06:00
Ruslan Kuprieiev
1058df0f77
analytics: don't forget to convert to bool
2019-11-08 05:21:47 +02:00
Ruslan Kuprieiev
910a67b35f
analytics: don't verify config from repo
...
Otherwise this will raise an exception from analytics worker:
```
dvc config cache.type sometypo
```
But running that same command with `--system` or `--global` flag outside
of repo won't raise that.
Also need to better handle ConfigObjError, but that is a separate issue.
2019-11-08 02:37:11 +02:00