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
91ac75d023
Merge pull request #2798 from skshetry/fix-str-rel-repo
...
Display path relative to temporary repo when get/import-ing files
2019-11-20 11:34:31 +02:00
Ruslan Kuprieiev
404620e267
test: update: use dvc_repo fixture
...
To fix test failure.
2019-11-19 19:12:49 +02:00
Saugat Pachhai
83c8ab5c26
test: Refactor tests
2019-11-19 21:55:13 +05:45
Saugat Pachhai
f07a70a052
get/import: display path relative to temporary repo
2019-11-19 05:36:11 +05:45
Saugat Pachhai
68c7366ef0
utils: implement path_isin to compare child and parent paths
2019-11-19 05:34:33 +05:45
Aman Sharma
3edad21b41
Write test for tmp_fname to check if it accepts Path-like and str objects
2019-11-18 11:49:40 +05:30
Aman Sharma
636d850c84
Ensure remove accepts str and Path-like objects
2019-11-15 01:54:40 +05:30
Aman Sharma
9427bbe8d0
Move move to filesystem utility
2019-11-09 23:57:57 +05:30
Aman Sharma
44268251b4
Ensure move accepts str and Path-like objects
2019-11-09 18:47:01 +05:30
Aman Sharma
204cfcb879
Ensure makedirs accepts str and Path-like objects
2019-11-08 20:37:32 +05:30
Ruslan Kuprieiev
ec44a614b0
Merge pull request #2753 from efiop/analytics
...
analytics: don't verify config from repo
2019-11-08 14:38:02 +02: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
Aman Sharma
d4aa27d6ab
Ensure copyfile accepts str and Path-like objects
2019-11-08 01:51:49 +05:30
pawel
f14aca630f
ignore: make DvcIgnoreFilter use tree
2019-11-07 15:37:24 +01:00
Aman Sharma
34a868b420
Ensure file_md5 accept str and Path-like objects
2019-11-06 09:25:35 +05:30
Ruslan Kuprieiev
5e2fa3742b
Merge pull request #2741 from algomaster99/remove-get-parent-dirs
...
Remove `get_parent_dirs_up_to`
2019-11-05 23:01:31 +02:00
Aman Sharma
8491ddf43f
Remove get_parent_dirs_up_to
2019-11-06 02:03:47 +05:30
Aman Sharma
f642ff76a5
Ensure contains_symlink_up_to accept both str and Path-like objects
2019-11-06 00:24:10 +05:30
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Ruslan Kuprieiev
2df7eda159
Merge pull request #2674 from n3hrox/enhance/footnote_deduplication
...
logger: output footer once for multithreaded push/pull errors
2019-11-03 23:37:13 +02:00
Ruslan Kuprieiev
c71e5562bb
Merge pull request #2713 from GeorgeSabu-mec/master
...
fix typo(correct spelling of existence)
2019-11-03 12:44:03 +02:00
GeorgeSabu-MEC
1e22fabece
fix typo(correct spelling of existence)
2019-11-03 15:42:07 +05:30
Ruslan Kuprieiev
e21fc34c84
Merge pull request #2698 from algomaster99/test-argument-types-get_mtime_and_size
...
Verify if `get_mtime_and_size` can take both Path objects and strings
2019-11-03 00:25:47 +02:00
Aman Sharma
d454cb8637
Modify test to check for directory as well
2019-11-03 02:23:46 +05:30
Mr. Outis
283f848822
sftp: make move an atomic operation
2019-11-01 13:17:22 -06:00
n3hrox
89502bee88
fix tests
2019-11-01 18:05:27 +01:00
Ruslan Kuprieiev
d932405ee1
Merge pull request #2695 from mroutis/test-s3-etag
...
tests: preserve the same ETag across buckets during copy
2019-10-31 01:55:17 +02:00
Aman Sharma
b9a17752e3
Test acceptable path types of get_mtime_and_size
2019-10-31 00:30:54 +05:30
Mr. Outis
732ed904ce
tests: same ETag across buckets
2019-10-30 11:42:39 -06:00
Jorge Orpinel
a48481b01f
dvc: change ` for ' in dynamic parts of output messages ( #2644 )
...
* dvc: change ` for ' in dinamic parts of DVC outputs
per https://github.com/iterative/dvc/pull/2644#issuecomment-545151398
* dvc: use ' for dynamic output and ` for DVC names
per https://github.com/iterative/dvc/pull/2644#discussion_r338417698
2019-10-28 22:00:53 +02:00
Aman Sharma
5f644745c7
Write test for get_inode ( #2673 )
2019-10-28 16:43:47 +02:00
Ruslan Kuprieiev
f3bacb7c28
gs: retry upload with smaller chunk size ( #2661 )
...
Default chunk size for gs is 100M, which might be too much for
particular network. So if we are getting ConnectionError, we
should try lowering the chunk size until we reach the minimum
allowed chunk size of 256K. Also note that `chunk_size` must be a
multiple of 256K per the API specification.
Fixes #2572
2019-10-25 22:45:54 +03:00