Commit Graph
2990 Commits
Author SHA1 Message Date
Ruslan Kuprieiev 9e0e09243e Merge pull request #2053 from Suor/test-remotes
Add initial get_url()/open() api implementation
2019-05-27 18:17:08 +03:00
Alexander Schepanovski ca93dbcf13 dvc: add get_url()/open() API
As a part of this:
- DataCloud._cloud was refactored into `.get_remote()`
- data stopped using internal _cloud
- added a parametrization for remote tests
2019-05-27 17:56:31 +07:00
Alexander Schepanovski eac6adada6 dvc: fix HDFS path 2019-05-25 17:55:23 +07:00
Alexander Schepanovski 7ddbbbc80f test: simplify google creds handling 2019-05-25 17:55:23 +07:00
Ruslan Kuprieiev 72bb57ba02 Merge pull request #2049 from efiop/python3-bin
ci: build binaries on python 3.7
2019-05-25 03:01:39 +03:00
Ruslan Kuprieiev 6e5e6ec431 Merge pull request #2052 from pared/remove_unnecessary_code_from_state
state: remove unused changed method
2019-05-25 02:43:30 +03:00
Ruslan Kuprieiev 4e9bc48f2a travis: build binary on python 3
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-25 02:40:16 +03:00
Ruslan Kuprieiev 095221ef7d appveyor: build windows binary on python 3.7
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-25 02:40:16 +03:00
pawel 3d2159816e state: remove unused changed method 2019-05-24 16:26:39 -07:00
Jorge OrpinelandRuslan Kuprieiev ce83231128 Updates to 1. zsh autocomplete script and 2. slow link type warning message (#2003)
* Document dvc.scm.git::Git::_get_diff_trees and shorten commit hashes in dvc.scm.git::Git::get_diff_trees

* diff: Changes to dvc.scm.git so `dvc diff` outputs short SHAs

- Docstring for Git class constructor
- Renames self.git for self.repo throughout module (involves several test changes)
- Better doc and logical refactor in Git._get_diff_trees
- `dvc diff` now outputs short SHA strings (Git._get_diff_trees) - hard coded to 7 length str
  (involves some test changes in tests/func/test_diff.py)

For #1902

* Undoes "Renames self.git for self.repo throughout module" introduced in 3d2dc83.

* autocomplete: Brings scripts/completion/dvc.zsh up-to-date

- Reorganizes commands in alphabetical order;
- Updates the command dscriptions according to their current usage (-h) output;
- Adds comments for MISSING command entries

* Update scripts/completion/dvc.zsh

Co-Authored-By: Ruslan Kuprieiev <[email protected]>

* Update scripts/completion/dvc.zsh

Co-Authored-By: Ruslan Kuprieiev <[email protected]>

* Update scripts/completion/dvc.zsh

Co-Authored-By: Ruslan Kuprieiev <[email protected]>

* Update scripts/completion/dvc.zsh

Co-Authored-By: Ruslan Kuprieiev <[email protected]>

* autocomplete: Adds missing commands to Zsh script

* cache: updates slow link type warning message (and test)

in accordance with https://github.com/iterative/dvc.org/pull/331

* Fixes accidental docstring rewrap

per https://github.com/iterative/dvc/pull/2003#discussion_r286206870

* Actually fixes accidental docstring rewrap...

per https://github.com/iterative/dvc/pull/2003#pullrequestreview-240994592

* Really fixes accidental docstring rewrap this time...
2019-05-25 00:00:47 +03:00
Ruslan Kuprieiev 8a4e5f937b Merge pull request #2034 from pared/rename_dvc_fixture
[RFC] tests: rename dvc repo fixture
2019-05-24 03:14:46 +03:00
Tadas Audinis ee6a0b2875 tests: resolve deprecation warnings (#2028)
* tests: resolve deprecation warnings

Fixes #2021

* tests: resolve deprecation warnings

Fixes #2021
2019-05-24 03:12:36 +03:00
Mr. Outis 037f32c8cc docs: add some docstrings about computing status (#2048) 2019-05-23 16:16:02 -07:00
Ruslan Kuprieiev 6569657390 Merge pull request #2035 from TomHortons/master
pipeline: show: dot: print dot
2019-05-22 06:22:30 +03:00
TomHortons d9a79ce345 pipeline: show: dot: use dvc.utils 2019-05-22 12:11:55 +09:00
TomHortons e3de8aac65 pipeline: show: dot: print dot 2019-05-22 11:11:23 +09:00
pawel 01c2f6c174 tests: rename dvc repo fixture 2019-05-21 15:04:43 -07:00
Ruslan Kuprieiev 3e461f8f11 Merge pull request #2007 from Suor/test-remotes
test: update/add helpers to run tests against remotes
2019-05-21 15:44:23 +03:00
Ruslan Kuprieiev 6b7e06e4b4 Merge pull request #2029 from pared/remove_unnecessary_args_state
remove unnecessary arguments in state methods
2019-05-21 15:33:05 +03:00
Alexander Schepanovski 0e1f20f0f5 test: update/add helpers to run tests against remotes 2019-05-21 17:38:53 +07:00
pawel 7eb99d2d87 remove unnecessary arguments in state methods 2019-05-20 18:52:25 -07:00
Ruslan Kuprieiev 02f59de348 dvc: bump to 0.40.7 0.40.7 2019-05-20 20:28:02 +03:00
Ruslan Kuprieiev 98d551c2ab appveyor: specify artifacts old-style
Current `deploy.artifact` doesn't work.
2019-05-20 20:22:07 +03:00
Ruslan Kuprieiev de58f55225 dvc: bump to 0.40.6 0.40.6 2019-05-20 17:12:23 +03:00
Ruslan Kuprieiev abb6725a40 appveyor: adjust artifact regex
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-20 17:09:12 +03:00
Ruslan Kuprieiev 2989c977a8 dvc: bump to 0.40.5 0.40.5 2019-05-20 16:31:42 +03:00
Ruslan Kuprieiev 362866ba97 appveyor: specify artifact for specific provider
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-20 16:25:32 +03:00
Ruslan Kuprieiev f0dc04da83 dvc: bump to 0.40.4 0.40.4 2019-05-20 15:37:58 +03:00
Ruslan Kuprieiev 00bb09c3fe appveyor: don't deploy to pypi
No need to deploy it again, since we have universal wheels anyways.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-20 15:36:17 +03:00
Ruslan Kuprieiev 5e49797264 travis: don't forget to install twine
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-20 15:26:16 +03:00
Ruslan Kuprieiev 538da29258 dvc: bump to 0.40.3 0.40.3 2019-05-20 04:02:35 +03:00
Ruslan Kuprieiev 1c8f2737b0 Merge pull request #2020 from efiop/pypi
ci: automatically deploy to pypi
2019-05-20 02:31:49 +03:00
Ruslan Kuprieiev 7675888a83 appveyor: deploy to pypi
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-20 02:21:35 +03:00
Ruslan Kuprieiev b8fd41e923 travis: deploy to pypi
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-20 01:49:00 +03:00
Ruslan Kuprieiev aae2c21513 Merge pull request #2013 from mroutis/fix-2008
upgpkg: requests >= 2.22.0
2019-05-16 23:58:02 +03:00
Mr. Outis 7c0c89a688 upgpkg: requests >= 2.22.0
Close #2008
2019-05-16 13:28:36 -07:00
Ruslan Kuprieiev d4d4c03445 Merge pull request #2000 from pared/1976
cache: test: allow cache to be on different drive
2019-05-16 19:05:55 +03:00
Ruslan Kuprieiev 20a24e26f8 Merge pull request #2011 from mroutis/refactor
refactor: rely on RemoteBasic._changed_dir_cache
2019-05-16 15:19:01 +03:00
Kurian BenoyandRuslan Kuprieiev 0210604f07 remote: ssh: fix error message (#2002)
* ssh: fix exception reporting during upload

* ssh:Make exception message in PEP8 format

* Update dvc/remote/ssh/__init__.py

Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2019-05-16 15:12:01 +03:00
Mr. Outis 15f074fd96 refactor: rely on RemoteBasic._changed_dir_cache
Defining `_changed_cache_dir` for the sole purpose of executing
code before `_changed_dir_cache` was not that clear.

Now, it overwrites `_changed_dir_cache` but reference the
base method.
2019-05-15 19:02:58 -07:00
prd 1cb4e5233e path: local: str return full path on value error 2019-05-14 16:56:24 -07:00
Ruslan Kuprieiev 1119ad9ed6 Merge pull request #2004 from pared/refactor_windows_constants
use windows constants in system.py
2019-05-15 02:15:41 +03:00
prd 1cd883822f system: use windows constants 2019-05-14 17:03:41 -06:00
Ruslan Kuprieiev 026d209599 dvc: bump to 0.40.2 0.40.2 2019-05-13 23:38:12 +03:00
Ruslan Kuprieiev 0a9b52b017 Merge pull request #1992 from efiop/1991
remote: checkout: save checksums without re-computation
2019-05-13 21:21:10 +03:00
Ruslan Kuprieiev 1d5d608c21 test: make sure checksums are not recomputed on checkout
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-13 21:07:12 +03:00
Ruslan Kuprieiev dd6217120f remote: checkout: save checksums without re-computation
We do a similar thing on save, where we set cache checksum from already
computated ones for actual data. This patch does the same thing but in
revers: on checkout we know cache checksums, so we can set data
checksums from it without having to re-calculate it.

Fixes #1991

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-12 23:42:29 +03:00
Ruslan Kuprieiev a0c089045b Merge pull request #1990 from efiop/small-fixes
dvc: refactoring: unify path/remote logic and naming
2019-05-12 17:55:05 +03:00
Ruslan Kuprieiev b4143b19dd remote: unify class names
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-12 17:29:38 +03:00
Ruslan Kuprieiev a593a9ce2e dvc: refactor PathInfos
Following same conventions from remotes/outsputs/dependencies.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-12 17:18:46 +03:00