Pavel Ditenbir
e7686f90a6
term: replace 'DVC-file' and 'stage file' with correct terms ( #3960 ) ( #5280 )
2021-02-05 16:01:42 +09:00
Saugat Pachhai
7c3c2e8123
Fix typechecking errors - 2 ( #4946 )
2020-11-24 11:18:11 +05:45
Saugat Pachhai
b8aa8ad951
pyupgrade: 3.6+ ( #3805 )
...
* pyupgrade: 3.6+
* tests: pyupgrade 3.6+
2020-05-15 16:48:02 +03:00
nik123
e03128a8de
refactor: dvc/dependency class names unification ( #3688 )
2020-04-28 12:49:09 +03:00
Saugat Pachhai
46e5053705
update: support specifying revision when updating ( #3337 )
...
* update: work with rev
* completion: update --rev completion scripts
* test: fix unit test assumption
* test: use fspath_py35
2020-02-15 17:55:41 +02:00
Mr. Outis
fd82402d34
py3: use new magic from PEP 3135
2020-01-02 16:24:31 -06:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
Paweł Redzyński and Ruslan Kuprieiev
53f6aead95
Update dvc/dependency/base.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2019-09-14 19:40:59 +02:00
pawel
0935930f46
output: prevent stage file from being used as output
2019-09-13 13:31:50 +02:00
Ruslan Kuprieiev
641edacef6
import-url: lock by-default
...
Fixes #2238
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-22 20:24:00 +03:00
Ruslan Kuprieiev
932b0d7af9
introduce dvc update for ext repos ( #2218 )
...
* erepo: dvc: implement `update` for imports from ext repos
Fixes #1774
Fixes #2139
Fixes #2201
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* deps: repo: make private
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* update: only support repo imports
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-06 02:28:35 +03:00
Mr. Outis
0d46921ec7
py2: add unicode literals
...
Fix #1512
2019-01-27 20:40:21 -06:00
Ruslan Kuprieiev
7cd24e0c1f
RFC: dependencies/outputs: unify classes
...
There is a lot of duplication in current Output/Dependency classes, that was
left "just in case" while developing different schemes. Since our code base is
now getting more and more stable and we now know what we need to add support
for any new dep/out type in the future, we can now safely unify most of the
code.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-05 23:17:55 +02:00
Ruslan Kuprieiev
8ca0d299b5
deps: unify dumpd method
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-02 17:54:25 +02:00
Ruslan Kuprieiev
d09e469210
deps: use self.url instead of self.path
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-02 15:05:38 +02:00
Mr. Outis
4c420d5f4d
logger [rfc]: Use a module instead of a class
...
- Remove deprecation warnings
- Format error output and remove duplicated info
Close #1086
2018-12-23 21:06:39 -06:00
Ruslan Kuprieiev
7600ccf8be
remote: introduce cache_exists() method
...
Making this method separate from exists() makes it easier to optimize
requests for large amounts of cache, since we can re-use the same prefix
for retrieving all the necessary information in a one single request.
Related #1430
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-20 22:09:26 +02:00
Mr. Outis
9971f7a624
run: Prevent argument duplication with deps/outs
...
Fix #1255
Fix #1168
Close #1259
RFC:
- Add / fix docstrings and privatize methods
- Add `__repr__` method for core objects
- Change the name of methods to make them more readable
2018-12-11 14:54:45 -06:00
Ruslan Kuprieiev
1c94afc6a0
dependency: fix msg format
2018-11-18 02:23:04 +02:00
Ruslan Kuprieiev
537e7c75a0
stage: check that deps exist before running the command
...
Fixes #1101
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-09 22:59:19 +03:00
Ruslan Kuprieiev
825da210cf
dvc: use __str__ method for deps/outs
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-28 11:36:06 +03:00
Ruslan Kuprieiev
18f0ca0d92
dependency: only use rel_path for local deps
...
Fixes #1048
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-24 14:36:38 +03:00
Ruslan Kuprieiev
0e9774a3f8
RFC: follow flake8 rules
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-25 17:28:58 +03:00
Ruslan Kuprieiev
d424fc3825
remote: misc bug fixes
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-17 13:02:31 +03:00
Ruslan Kuprieiev
805eb908d0
import: support external urls
...
Fixes #891
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-17 12:00:12 +03:00
Ruslan Kuprieiev
555e802ed2
RFC/perf: data cloud logic
...
Properly splitting jobs between thread workers and removing unnecessary logic.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-30 07:44:11 +03:00
Ruslan Kuprieiev
71752f68a8
hdfs: fix drivers and tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-24 17:23:47 +03:00
Ruslan Kuprieiev
6886fc29d5
dvc: support dependecy files under tracked directory
...
Fixes #722
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-17 09:32:29 +03:00
Ruslan Kuprieiev
4271ddf11c
dvc introduce dvc import
...
Fixes #705
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-15 18:37:50 +03:00
Ruslan Kuprieiev
b074c49318
dvc: support external local deps
...
Fixes #764
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-15 03:35:53 +03:00
Ruslan Kuprieiev
88397ef430
dvc: use Remote concept in existing code
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-04 22:28:14 +03:00
Ruslan Kuprieiev
08dcd8490e
outs/deps: remove loadd
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-04 22:28:14 +03:00
Ruslan Kuprieiev
5c1748c15c
outs/deps: remove loads method
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-04 22:28:14 +03:00
Ruslan Kuprieiev
f3b2497fb9
deps/outs: remove load{s,d}_from methods
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-04 22:28:14 +03:00
Ruslan Kuprieiev
2bbefc91ef
deps: introduce s3/gs dependencies
...
E.g.:
dvc run -d gs://bucket/file -o file gsutil cp gs://bucket/file file
dvc run -d s3://bucket/file -o file aws s3 cp s3://bucket/file file
Etags are used to track deps in both cases.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-05-24 18:24:18 +03:00