Commit Graph
2526 Commits
Author SHA1 Message Date
Mr. Outis d32705f01b py2: raise OSErrors on makedirs 2019-02-21 11:34:09 -06:00
Dmitry Petrov a41103434d Merge pull request #1639 from dmpetrov/suppress_outputs_in_tests
Suppress outputs in tests
2019-02-19 13:46:25 -08:00
Dmitry fdecb8d45c Remove unnecessary import 2019-02-19 13:05:03 -08:00
Dmitry 54bcba7177 Fix tests in metrics 2019-02-19 13:04:16 -08:00
Dmitry fecaa5a0a2 Suppress tests output 2019-02-19 13:03:37 -08:00
Ruslan Kuprieiev c1cdf77414 dvc: bump to 0.29.0 0.29.0 2019-02-19 21:44:01 +02:00
Ruslan Kuprieiev 2cf4e99d75 Merge pull request #1638 from efiop/master
ssh: external-outs: check if cache exists before copying
2019-02-19 21:43:13 +02:00
Ruslan Kuprieiev e5107b1da3 ssh: external-outs: check if cache exists before copying
Fixes #1635

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-19 21:33:47 +02:00
Ruslan Kuprieiev 1b703b8bc4 Merge pull request #1637 from mroutis/fix-1636
move: awareness of cwd when moving files
2019-02-19 20:17:00 +02:00
Mr. Outis 758c71e249 move: awareness of cwd when moving files
fix #1636
2019-02-19 11:55:43 -06:00
Ruslan Kuprieiev f0b1c30222 Merge pull request #1610 from mroutis/fix-830
ssh: Use SFTP when possible
2019-02-19 16:49:46 +02:00
Ruslan Kuprieiev 0693adb130 Merge pull request #1624 from shcheklein/master
Cleanup metrics
2019-02-19 08:29:49 +02:00
Ivan Shcheklein b79085ec69 add tests for metrics wrong type and some other edge cases 2019-02-18 17:17:20 -08:00
Mr. Outis 5e7a152b53 ssh: use sftp when possible
Related #830 [1/2]
2019-02-18 19:03:06 -06:00
Ruslan Kuprieiev 801a492a6b scripts: don't forget sdist for pypi
Fixes #1628

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-18 21:24:49 +02:00
Ruslan Kuprieiev 5b3dd1930f dvc: bump to 0.28.2
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-18 21:23:41 +02:00
Ivan Shcheklein e9b57251b0 Merge branch 'master' of github.com:iterative/dvc 2019-02-18 09:44:39 -08:00
Ruslan Kuprieiev 00e03cadbd dvc: bump to 0.28.1 0.28.1 2019-02-18 04:16:56 +02:00
Ruslan Kuprieiev 8c8176ec91 Merge pull request #1625 from efiop/master
travis: add xcode10.1 build
2019-02-18 04:16:06 +02:00
Ruslan Kuprieiev 3c49dfa293 travis: add xcode10.1 build
Related to #1623

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-18 04:03:04 +02:00
Ruslan Kuprieiev 36510548a5 local: fix typo
https://github.com/iterative/dvc/issues/1623
2019-02-18 03:39:51 +02:00
Ivan Shcheklein 708558da62 metrics tests: add test for wrong metric type, uppercase type 2019-02-17 15:24:46 -08:00
Ivan Shcheklein bd382c87d9 cleanup metrics help, fix type and xpath handling 2019-02-17 15:08:58 -08:00
Ruslan Kuprieiev 2eb39c461f dvc: bump to 0.28.0 0.28.0 2019-02-17 15:11:26 +02:00
Ruslan Kuprieiev 25ae052434 Merge pull request #1601 from efiop/919
Introduce `dvc commit`
2019-02-17 10:04:33 +02:00
Ruslan Kuprieiev 01a120f9fc dvc: introduce dvc commit
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:19:36 +02:00
Ruslan Kuprieiev 26c9fc1ba4 status: improve message verbosity
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:18:54 +02:00
Ruslan Kuprieiev 1f18119b74 repro: introduce --no-commit
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:18:54 +02:00
Ruslan Kuprieiev 99f4107d58 add: introduce --no-commit
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:18:54 +02:00
Ruslan Kuprieiev 3bc0b9728b run: introduce --no-commit
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:18:26 +02:00
Ruslan Kuprieiev 0eab7ed29e stage: split save() into save() + commit()
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:18:26 +02:00
Ruslan Kuprieiev bbd27527ff remote: RFC: remote.save()
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 21:18:26 +02:00
Ruslan Kuprieiev 4d4d926479 Merge pull request #1621 from pared/1221-2
add: update state for known checksum for dir
2019-02-16 20:06:35 +02:00
pared a3c873d953 add: update state for known checksum for dir 2019-02-16 18:45:28 +01:00
Ruslan Kuprieiev 9e407430dc Merge pull request #1620 from cand126/master
push: When there's nothing to push, show a message
2019-02-16 19:13:50 +02:00
Shao-Chun Ma 643a6ac194 command: refactor
Change staticmethod to classmethod.

Fixes #1619
2019-02-16 17:45:32 +01:00
Shao-Chun Ma c12fae0f1d command: fix for python 2
Remove the syntax that only works for python 3.

Fixes #1619
2019-02-16 17:06:38 +01:00
Ruslan Kuprieiev 4ccc121893 Merge pull request #1603 from pared/1221
add: recalculate checksum after link creation, test
2019-02-16 17:51:58 +02:00
pared c4274bd1a4 add: recalculate checksum after link creation, test 2019-02-16 16:30:20 +01:00
Shao-Chun Ma d05e01a86e command: refactor
Extract method check_up_to_date().

Fixes #1619
2019-02-16 16:26:45 +01:00
Shao-Chun Ma 6898c46508 command: refactor
Move the message to parent class.

Fixes #1619
2019-02-16 16:14:04 +01:00
Shao-Chun Ma 73b2a3362c dvc: refactor
Add a new return value for pull, push, and fetch.
It represents the number of files processed.

Fixes #1619
2019-02-16 15:25:05 +01:00
Shao-Chun Ma 33cdc50c88 remote: add a message
push: When there's nothing to push, show a message

Fixes #1619
2019-02-16 13:24:35 +01:00
Ruslan Kuprieiev def24131fe dvc: bump to 0.27.1 0.27.1 2019-02-16 09:28:36 +02:00
Ruslan Kuprieiev 2e97830d38 Merge pull request #1616 from efiop/master
dvc: optimize imports
2019-02-16 08:03:41 +02:00
Ruslan Kuprieiev 0f024a9655 dvc: optimize imports
Currently `dvc` takes ~0.7sec to finish. After this patch: 0.17sec.
Profiling has been done using:

    python -X importtime -m dvc 2> log.log
    tuna log.log

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-16 07:45:03 +02:00
Ruslan Kuprieiev f6899c07c8 Merge pull request #1612 from efiop/ignore_build_cache
repro: fix --ignore-build-cache logic
2019-02-16 07:28:39 +02:00
Ruslan Kuprieiev 8636f473e9 repro: fix --ignore-build-cache logic
@robogeek has discovered that `dvc repro --ignore-build-cache` actually
force-reproduced ascendants of a changed stage instead of only
reproducing descendants. That bug was caused by a typo in an if
condition plus improper test.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-15 08:01:48 +02:00
Ruslan Kuprieiev 73f023c99d Merge pull request #1611 from efiop/master
ssh: handle url without path
2019-02-15 05:44:15 +02:00
Ruslan Kuprieiev 70c21f7f3e ssh: handle url without path
https://discordapp.com/channels/485586884165107732/485596304961962003/545702950350356502

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-15 04:38:45 +02:00