Ruslan Kuprieiev
e4ab3773dd
pkg: move temp_git_repo to scm/git
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-06 23:29:18 +03:00
Ruslan Kuprieiev
5c008cfcb5
pkg: import git dynamically
...
This allows dvc to work even if there is no git present, as long as user
is not using `dvc pkg` command directly.
Fixes #1835
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-06 23:29:18 +03:00
Ruslan Kuprieiev
6105e5ead6
pkg: hide from help
2019-04-06 12:09:11 +03:00
Ruslan Kuprieiev
77eab3f1cf
Merge pull request #1837 from efiop/is_local
...
add: check if output is local when generating stage name
2019-04-06 03:35:25 +03:00
Ruslan Kuprieiev
8ef5976ac8
add: check if output is local when generating stage name
...
When adding a remote file with
```
$ dvc add s3://bucket/path
```
it results in
```
Error: failed to add file - is local is not supported for s3
```
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-06 03:25:53 +03:00
Ruslan Kuprieiev
291fa05955
Merge pull request #1778 from django-kz/master
...
dvc: add support for dvc diff command
2019-04-05 13:48:12 +03:00
Zhanibek
505b76a2b8
repo: refactoring of dvc/repo/diff.py
2019-04-05 15:02:28 +06:00
Zhanibek
a5c04e9296
command: refactoring of _show function in diff.py
2019-04-05 15:02:28 +06:00
Zhanibek
fe043ce3a6
repo: refactoring of _get_diff_outs funciton
2019-04-05 15:02:28 +06:00
Zhanibek
585babb636
dvc: some refactoring of code
2019-04-05 15:02:28 +06:00
Zhanibek
ca2f4c50ca
repo: add checker for out.cheme != "local" case for dvc diff
2019-04-05 15:02:28 +06:00
Zhanibek
fcca6aebe8
tests: add tests for CLI message output
2019-04-05 15:02:28 +06:00
Zhanibek
f7550c19c0
repo: change FileNotFoundError exception to IOError
2019-04-05 15:02:28 +06:00
Zhanibek
7b3790e701
repo: fix macros placement from dvc/scm to dvc/repo/diff
2019-04-05 15:02:28 +06:00
Zhanibek
c3d70f2958
repo: adjust repo.diff API to match dvc diff CLI
2019-04-05 15:02:28 +06:00
Zhanibek
e5d62187b3
tests: fix the test for dvc diff command
2019-04-05 15:02:28 +06:00
Zhanibek
c235850540
scm: change the order of dvc diff with one argument
...
Now the dvc diff reference command will return
the difference betweent from specified commit to current HEAD.
2019-04-05 15:02:28 +06:00
Zhanibek
5f68b8e5a0
dvc: replace keys in dictionary with macros in dvc/repo/diff.py
2019-04-05 15:02:28 +06:00
Zhanibek
44e2ff7f83
repo: change the returning value of repo.diff
...
repo.diff now returns list of dictionaries for each file/directory change
2019-04-05 15:02:28 +06:00
Zhanibek
23b420554f
dvc: change help output of diff command and minor fixes
2019-04-05 15:02:28 +06:00
Zhanibek
49dead0474
tests: add CmdDiff command line parsing test
2019-04-05 15:02:28 +06:00
Zhanibek
f0a9255ddb
tests: fix test_diff with new logic
2019-04-05 15:02:28 +06:00
Zhanibek
f0225d85cd
dvc: change logic of getting dvc
...
Getting git snapshots of file/directory using GitTree object
2019-04-05 15:02:28 +06:00
Zhanibek
73b3b57200
test: change some test logic for test_diff.py
2019-04-05 15:02:28 +06:00
Zhanibek
3499c277ff
dvc: fix comment style
2019-04-05 15:02:28 +06:00
Zhanibek
1c9d72942b
scm: add usage of os.path.normpath
2019-04-05 15:02:28 +06:00
Zhanibek
8b50ef8bb6
repo: replace custom plural func to inflect lib usage
2019-04-05 15:02:28 +06:00
Zhanibek
b5251960bf
repo: replace custom _convert_size func to humanize lib
2019-04-05 15:02:28 +06:00
Zhanibek
8787995504
dvc: fixes style issues with string ops
2019-04-05 15:02:28 +06:00
Zhanibek
716a5eef7f
move print output from repo/diff.py to command/diff.py and minor fixes in command/diff.py
2019-04-05 15:02:28 +06:00
Zhanibek
c2639cfb3a
dvc: add support for dvc diff command
...
Some summary statistics regarding the folder/file.
How many files were added/deleted/modified. How size changed.
TO DO things:
1)To support for detecting diff after `dvc move`
command.
2)To add unit tests.
2019-04-05 15:02:28 +06:00
Ruslan Kuprieiev
2699a47f3e
travis: build binary packages only for specific python and os versions
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-04 20:33:39 +03:00
Ruslan Kuprieiev
2a707b706c
dvc: bump to 0.34.2
0.34.2
2019-04-04 17:23:42 +03:00
Ruslan Kuprieiev
97b03156d4
Merge pull request #1829 from efiop/1828
...
dvc: exclude `persist` when computing md5 for the stage
2019-04-04 17:22:36 +03:00
Ruslan Kuprieiev
aeff967a13
dvc: exclude persist when computing md5 for the stage
...
Fixes #1828
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-04 17:12:16 +03:00
Ruslan Kuprieiev
5d41763066
test: requirements: update pytest
2019-04-04 08:27:12 +03:00
Ivan Shcheklein
0fc463094b
readme: add missing comma
2019-04-03 21:46:19 -07:00
Ivan Shcheklein
a21ee297a1
readme: fix rst italics format
2019-04-03 21:44:40 -07:00
Ivan Shcheklein
2399721d53
readme: emphasize: lfs and makefiles is analogy
2019-04-03 21:43:42 -07:00
Ivan Shcheklein
4ac2ba0989
readme: update description, summary, links
2019-04-03 21:39:20 -07:00
Ivan Shcheklein
55be3ea2f7
readme: use get started link instead of tutorial
2019-04-03 20:57:41 -07:00
Ruslan Kuprieiev
4893266664
dvc: bump to 0.34.1
0.34.1
2019-04-03 22:36:39 +03:00
Ruslan Kuprieiev
ce66f97858
Merge pull request #1826 from efiop/pyinstaller
...
dvc: pyinstaller: fix google.cloud.storage hook
2019-04-03 20:20:08 +03:00
Ruslan Kuprieiev
1c28214728
pyinstaller: hooks: fix google.cloud.storage hook
...
Fixes #1697
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-03 18:50:15 +03:00
Ruslan Kuprieiev
6ec86e6694
pyinstaller: hook: remove checksumdir hook
...
That module is not used anymore in dvc.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-03 18:47:28 +03:00
Ruslan Kuprieiev
a41705a757
dvc: bump to 0.34.0
0.34.0
2019-04-03 00:06:37 +03:00
Shao-Chun Ma
1a75866e72
metrics: automatic type detection ( #1809 )
...
Fixes #1553
2019-04-01 21:22:10 +03:00
Ruslan Kuprieiev
cbdb18ff8c
Merge pull request #1808 from puhoshville/issue-1760
...
cli: fix overwriting remotes in `dvc remote add`
2019-03-31 23:00:04 +03:00
Ruslan Kuprieiev
b21b55e479
Merge pull request #1817 from pared/1807
...
checkout: reset progress bar on checkout
2019-03-31 22:56:49 +03:00
pared
0f5216cb14
checkout: reset progress bar on checkout
2019-03-31 21:48:21 +02:00