Commit Graph
2962 Commits
Author SHA1 Message Date
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
Ruslan Kuprieiev d1881fd1b1 remote: separate http and https
Fixes #1988

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-12 16:39:40 +03:00
Ruslan Kuprieiev 4b2dff90a7 cli: remove add duplicate
Fixes #1987
2019-05-12 15:00:12 +03:00
Ruslan Kuprieiev 704eb99251 Merge pull request #1986 from algomaster99/move-contributing-readme
Move CONTRIBUTING.md to .github/
2019-05-12 01:34:32 +03:00
Aman Sharma 8b3445f955 Move CONTRIBUTING.md to .github/ 2019-05-12 02:33:27 +05:30
Ruslan Kuprieiev 373dda6466 dvc: bump to 0.40.1 0.40.1 2019-05-12 00:01:01 +03:00
Ruslan Kuprieiev fc99ebed59 setup: match ruaml version with the one specified in requirements.txt 2019-05-12 00:00:19 +03:00
Ruslan Kuprieiev 750bd822b5 Merge pull request #1985 from efiop/fix-pyinstaller-oss2
pyinstaller: fix build for oss2
0.40.0
2019-05-11 21:55:22 +03:00
Ruslan Kuprieiev 797b356e3a pyinstaller: remove hooks that are already released
We've contributed these hooks a long time ago and they got finally
released, so we can remove our copies.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-11 21:44:55 +03:00
Ruslan Kuprieiev aacb0b4c98 pyinstaller: fix build for oss2
This version added support for oss as a remote, which has caused some
issues when building the binary package. To fix those, we need two
pyinstaller hools:

1) hook-Crypto.py
    This one has been added to PyInstaller's upstream, but wasn't
    released yet, so we are using a copy of it for now.

2) hook-aliyunsdkcore.py
    This one is a new one. Sent it to PyInstaller's team in a PR [1].

[1] https://github.com/pyinstaller/pyinstaller/pull/4228

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-11 21:35:41 +03:00
Ruslan Kuprieiev ea097780de remote: hdfs: fix typo 2019-05-11 17:33:32 +03:00
Ruslan Kuprieiev dc0c0914b2 Merge pull request #1984 from efiop/fix-version
cmd: use CmdBaseNoRepo for commands without repo
2019-05-11 17:28:15 +03:00
Ruslan Kuprieiev d4ef461fce version: use CmdBaseNoRepo
Currently `dvc version` outside of dvc repo raises "not dvc repo" error,
even though it is not really using repo in any way.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-11 17:20:30 +03:00
Ruslan Kuprieiev cc2f28c12b cmd: use CmdBaseNoRepo for commands without repo
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-11 17:09:19 +03:00
Ruslan Kuprieiev 3eaa725b01 Merge pull request #1968 from pared/1588
path info: replace path_info dicts with PathInfo class
2019-05-11 15:50:10 +03:00
Ruslan Kuprieiev 5075ea5feb Merge pull request #1982 from algomaster99/update-version-help
Update version help
2019-05-11 14:35:54 +03:00
pared 3ff10005fa path_info: remove dict path_info, introduce PathInfo class 2019-05-10 22:25:50 -07:00
Aman Sharma b3165a224e Update version help 2019-05-11 10:02:39 +05:30
Ruslan Kuprieiev 0a93de4bfe Merge pull request #1981 from mroutis/fix-1975
status: optimize the _fill_statuses method
2019-05-11 05:44:13 +03:00
Mr. Outis a91b198954 status: optimize the _fill_statuses method
Close #1975
2019-05-10 19:20:13 -07:00
Ruslan Kuprieiev f3c66bc866 Merge pull request #1980 from mroutis/fix-1964
install: append commands if hook already exists
2019-05-11 02:43:29 +03:00
Mr. Outis c39c2f087a install: append commands if hook already exists
Close #1964
2019-05-10 16:20:01 -07:00
Ruslan Kuprieiev 45f94e36b2 Merge pull request #1963 from algomaster99/dvc_version
Add `dvc version` command
2019-05-10 22:20:53 +03:00
Aman Sharma 46325808b8 Change regex pattern and move test under unit/command 2019-05-11 18:29:03 +05:30
Ruslan Kuprieiev 1322a5b2d8 Merge pull request #1978 from mroutis/fix-1973
logger: fix bug that ignored the progress bar
2019-05-10 21:25:15 +03:00
Aman Sharma bf9ca598c0 Pass codeclimate test 2019-05-10 19:45:17 +05:30
Jorge Orpinel b09bd0426e Document dvc.scm.git::Git::_get_diff_trees and shorten commit hashes for dvc diff (#1906)
* 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.

* diff: `dvc diff` uses code for `git rev_parse --short` instead of hard `[:7]` (for short commit hashes).

- Tests updated too.

Per https://github.com/iterative/dvc/pull/1906#discussion_r278510340

* tests: Reformatted with `black tests/func/test_diff.py`

* tests: Remove uneccessary `str()` casting form `dvc diff` tests (and reformat)
2019-05-10 15:30:36 +03:00
Aman Sharma db07f3a08d Modify tests to use pytest fixture 2019-05-10 13:00:42 +05:30
Mr. Outis 9978bc87a4 logger: fix bug that ignored the progress bar
Close #1973
2019-05-10 00:17:32 -07:00