Saugat Pachhai
b8aa8ad951
pyupgrade: 3.6+ ( #3805 )
...
* pyupgrade: 3.6+
* tests: pyupgrade 3.6+
2020-05-15 16:48:02 +03:00
Peter Rowlands (변기호)
833e82a7ea
Drop Python 3.5 support ( #3792 )
...
* drop python 3.5 support
* dvc: remove fspath() use inside os.path calls
* dvc: replace dvc.compat.fspath with os.fspath
* tests: replace dvc.compat.fspath with os.fspath
* utils: relpath() should use fspath/str
* utils: os.readlink doesn't support path-like obj on Windows until 3.8
2020-05-14 01:46:42 +03:00
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
Paweł Redzyński
8d04d6d3ce
SCM: allow multiple DVC repos inside single SCM repo ( #3257 )
2020-02-25 14:40:20 +02:00
Mr. Outis
71b15d259a
py3: remove code related to py2 limitations
2020-01-06 23:03:33 -06:00
Alexander Schepanovski
b194bfa1ff
test: do not bootstrap versions in erepo_dir
2020-01-04 10:47:13 +07:00
Alexander Schepanovski
5e92a079b8
dvc: autowrap repo tree into CleanTree
2020-01-03 21:46:05 +07:00
Mr. Outis
086acf6404
py3: dvc/utils/compat.py -> dvc/compat.py
2019-12-31 23:42:07 -06:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
pawel
691d771d56
remove CleanTree from GitTree completely
2019-12-30 16:50:43 +01:00
pawel
e1eab9405c
tree: check that repo.tree is CleanTree when using walk_files
2019-12-30 14:19:43 +01:00
pawel
e225601031
reintroduce dvcignore collection test
2019-12-30 14:19:43 +01:00
pawel
56ed5351ef
ignore: test: remove ignore collection test
2019-12-30 14:19:43 +01:00
pawel
d8813dc5ca
remove dvc_walk, skip .dvcignore gathering test
2019-12-30 14:19:43 +01:00
pawel
d8c0ae6909
remove most occurences of dvc_walk
2019-12-30 14:19:43 +01:00
Paweł Redzyński
956fec02ce
repo: move dvcignore from repo to tree
2019-12-30 14:19:43 +01:00
Alexander Schepanovski
5f3e416e60
test: fix test_ignore_external in Python 3.5
2019-12-27 15:51:07 +07:00
Alexander Schepanovski
e8c321e9a3
test: test ignore nuances
...
- nested files are ignored
- external dirs are not affected
2019-12-24 12:46:32 +07:00
Ruslan Kuprieiev
24fc8beaeb
Update test_ignore.py
2019-12-09 15:27:54 +02:00
Alexander Schepanovski
6c12a2e555
test: fix unicode test_ignore issue under Windows Py2
2019-12-07 17:17:18 +01:00
Alexander Schepanovski
79902988fc
test: fix files set comparisons in dvcignore tests under windows
2019-12-07 13:17:08 +01:00
Alexander Schepanovski
42096c5bfc
test: migrate test_ignore to new helpers
2019-12-07 11:09:52 +01:00
pawel
4acfaa293e
ignore: add test for dvcignore on branch
2019-11-07 17:51:00 +01:00
pawel
f14aca630f
ignore: make DvcIgnoreFilter use tree
2019-11-07 15:37:24 +01:00
Ruslan Kuprieiev
7caf28ca11
dvcignore: don't forget to use dvcignore when collecting dvcignores
...
Fixes #2737
2019-11-06 01:39:31 +02:00
Paweł Redzyński and Ruslan Kuprieiev
393d926b74
state: use dvcignore when accessing metadata ( #2161 )
...
* state: use ignore file handler when accessing metadata
* fs: don't add dir size to overall size for dir
* ignore: use posix-like path on windows
* ignore: remove tree from dvc_walk arguments
* ignore: handle DvcIgnoreFilter creation outside of DVC repo
* ignore: throw on dvcignore file under output dir, but not dependency dir
* ignore: move ignore initialization to Repo init
* ignore: work in progress
* ignore: work in progress 2
* ignore: throw on .dvcignore upon collecting dir
* ignore: refactor
* ignore: loading upper level ignores in stages()
* Update dvc/repo/__init__.py
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
* dvcignore review refactor
2019-07-12 11:50:22 +03:00
pared
c9b3bdc927
ignore: remove dulwich in favour of pathspec
2019-06-20 12:15:42 +02:00
Ruslan Kuprieiev
6f11f1f51f
test: move func tests to tests/func
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-16 20:19:22 +03:00