Casper da Costa-Luis
2bb7257a06
lint: isort pre-commit & misc improvements ( #3749 )
...
* test: clean flake8 config root clutter
* test: pre-commit: add isort
Compatible with black (see https://github.com/timothycrosley/isort/issues/694 )
* lint: reorder imports
* lint: more complex imports
* lint: fix deepsource
* config: isort: add first party dvc
* tests: restyled: add isort
* temp commit to revert before merge
* Revert "temp commit to revert before merge"
This reverts commit 11db0fd8e95fe891597cbb9bf804480909b19e24.
2020-05-06 23:56:07 +03:00
nik123
fefbcc0b4c
refactor: dvc/remotes name unification ( #3684 )
...
Partially fixes #2089
2020-04-26 20:55:00 +03:00
Ruslan Kuprieiev
ce2481bbe8
remove: try deleting before trying to chmod ( #3620 )
...
Windows (or rather NTFS) doesn't allow deleting read-only files, which made us
try to chmod +w first. But that is not necessery on Linux and Mac, and
has led to unnecessary cache file mode changes, which was causing issues
in shared cache scenario when a user that doesn't own a file was trying
to automatically protect it.
Fixes #3618
2020-04-10 23:21:16 +03:00
Ruslan Kuprieiev
c1ac6bb06b
dvc: introduce dvc params diff ( #3573 )
...
* params: use repo.tree
* remote: local: use `repo.tree` for `exists()`
* param: handle missing params
* stage: move status warning to debug
* dvc: introduce `dvc params diff`
Fixes #3528
2020-04-09 05:18:49 +03:00
Ruslan Kuprieiev
974f81791f
protect: ignore EROFS ( #3527 )
...
* protect: fix bug in mode verification
* protect: ignore EROFS
Fixes #3510
2020-03-26 03:33:48 +02:00
Ruslan Kuprieiev
6559b9d222
dvc: use protected mode by default ( #3472 )
...
* dvc: use protected mode by default
Fixes #3261
Fixes #2041
* unprotect: adjust help message
https://github.com/iterative/dvc.org/pull/1058/files/21aab371a487acf6f6e6201b29cd832e7c55ed23#r393324668
2020-03-17 19:16:21 +02:00
GeorgeSabu-MEC
1e22fabece
fix typo(correct spelling of existence)
2019-11-03 15:42:07 +05:30
Alexander Schepanovski
33b0eefec0
dvc: dedup used cache ( #2630 )
...
* dvc: dedup used cache
This is a preparation step to make garbage collector work with more
commits. It has a value of its own:
- less exists calls to show cloud status or prepare push/pull
- same names are not repeated in status and pbar texts
* dvc: delay checksum names concatenation
2019-10-21 12:12:56 +03:00
Ruslan Kuprieiev
5941ace270
dvc: initial 'dvc pkg' implementation
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-17 18:12:36 +03:00
Mr. Outis
29f58bda9b
status: optimization for already downloaded files
...
Fix #1839
2019-04-30 17:09:04 -07:00