Ruslan Kuprieiev
cce25db97e
Merge pull request #1672 from shcheklein/add_wdir_tests
...
Add more tests for wdir/fname new logic
2019-03-01 16:15:27 +02:00
Ruslan Kuprieiev
0913a65661
Merge pull request #1668 from prihoda/patch-1
...
Log computed stage MD5 in verbose mode
2019-03-01 15:27:47 +02:00
prihoda
d63db35100
Log computed stage MD5 in verbose mode
...
Sometimes it is handy to manually update the stage MD5 checksum after some non-breaking changes were made (e.g. renaming an output file). Logging the computed md5 hash in verbose mode can help experienced users to fix this problem.
2019-03-01 14:11:29 +02:00
Ivan Shcheklein
e26db30f60
add more tests for wdir/fname new logic
2019-02-28 21:43:14 -08:00
pared
8ee53f8c81
stage: extract yaml loading to util method
2019-02-28 16:27:16 +01:00
pared
f8ef28c4c6
stage: check if local path contains symlink and, if so, treat added files as relpath
2019-02-28 15:00:05 +01:00
Ruslan Kuprieiev
8ff27454e6
Merge pull request #1660 from mroutis/fix-1602
...
logger: Format progress bar interruption
2019-02-28 14:52:18 +02:00
Mr. Outis
93920baaec
logger: Format progress bar interruption
...
Fix #1602
2019-02-27 21:24:22 -06:00
pared
a8a32091f7
remote local: add dir state update after processing the files
2019-02-26 12:15:02 +01:00
Ruslan Kuprieiev
68603f012e
Merge pull request #1647 from pared/1526
...
remote local/state : add check for cache dir metadata changes
2019-02-25 20:11:44 +02:00
Ivan Shcheklein
38536903e1
[WIP] Introduce wdir for DVC stage files ( #1658 )
...
* introduce wdir logic to superceed and expand -f and -cwd
* add stage file name and wdir validation tests and fix some checks
2019-02-25 19:52:54 +02:00
pared
4464e29c15
remote local/state : add check for cache dir metadata changes
2019-02-25 18:35:02 +01:00
Ruslan Kuprieiev
63f87ba9fe
Merge pull request #1653 from efiop/output
...
output/deps: raise proper exception when file/dir doesn't exist
2019-02-23 09:32:00 +02:00
Ruslan Kuprieiev
9ca00adde8
dvc: modify flake8 configuration
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-22 19:36:19 +02:00
Ruslan Kuprieiev
9961956c01
output/deps: raise proper exception when file/dir doesn't exist
...
From discussion on discord
https://discordapp.com/channels/485586884165107732/485596304961962003/548083580052701205
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-22 14:59:01 +02:00
Ruslan Kuprieiev
281aa612f3
Merge pull request #1651 from mroutis/fix-1617
...
status: imply --cloud when a remote is given
2019-02-22 13:02:29 +02:00
Mr. Outis
5cfcc956db
status: imply --cloud when a remote is given
...
Fix #1617
2019-02-21 18:32:48 -06:00
Mr. Outis
d640859fc4
stage: always reproduce callback stages
...
Fix #1634
2019-02-21 15:56:38 -06: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
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
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
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
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
01a120f9fc
dvc: introduce dvc commit
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-16 21:19:36 +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
pared
a3c873d953
add: update state for known checksum for dir
2019-02-16 18:45:28 +01:00
pared
c4274bd1a4
add: recalculate checksum after link creation, test
2019-02-16 16:30:20 +01: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
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
Ruslan Kuprieiev
a3099bca6a
metrics: fix bad metric file case handling
...
Also some refactoring got into this, sorry :(
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-14 00:15:18 +02:00
Ruslan Kuprieiev
ba8d83e9b1
dvc: refactor dvc project class
...
1) split Project's methods into separate files;
2) rename Project into Repo(similar to gitpython's Repo)
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-13 03:31:23 +02:00
Ivan Shcheklein
51381fb0b0
fix metrics show all when no target is specified
2019-02-11 18:27:19 -08:00
Ruslan Kuprieiev
91ed40fbfa
updater: don't use io.open when working with json
...
Otherwise we get this on python2:
```
======================================================================
ERROR: test_fetch (tests.unit.updater.TestUpdater)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/efiop/.pyenv/versions/2.7.15/envs/2.7.15-dvc/local/lib/
python2.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/home/efiop/git/dvc/tests/unit/updater.py", line 34, in test_fetch
self.dvc.updater.fetch(detach=False)
File "/home/efiop/git/dvc/dvc/updater.py", line 77, in fetch
self._with_lock(self._get_latest_version, "fetching")
File "/home/efiop/git/dvc/dvc/updater.py", line 39, in _with_lock
func()
File "/home/efiop/git/dvc/dvc/updater.py", line 91, in _get_latest_version
json.dump(convert_to_unicode(info), fobj)
File "/usr/lib/python2.7/json/__init__.py", line 190, in dump
fp.write(chunk)
TypeError: write() argument 1 must be unicode, not str
-------------------- >> begin captured logging << --------------------
```
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-12 01:40:07 +02:00
Ruslan Kuprieiev
c0674dc134
dvc: refactor requirements.txt
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-10 22:42:50 +02:00
Ivan Shcheklein
8817864e7a
fix one more test on windows
2019-02-09 20:04:35 -08:00
Ivan Shcheklein
bd28b711f9
minor: remove debug print
2019-02-09 19:58:10 -08:00
Ivan Shcheklein
5563f13273
fix metrics tests on windows
2019-02-09 19:57:41 -08:00
Ivan Shcheklein
36c4a3a5af
add metrics tests
2019-02-09 19:00:40 -08:00
Ivan Shcheklein
3287c3f407
add ability run tests from specified file(s)
2019-02-09 18:52:46 -08:00
Mr. Outis
ec77bfa1af
remote: define command error on the base
...
fix : #1484
2019-02-09 12:03:17 -06:00
Mr. Outis
2be7232d1a
py2: Add unicode support for open and os.walk
2019-02-07 23:33:30 -06:00
Ruslan Kuprieiev
95368b8f52
test: use "flaky" nose plugin for flaky tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-08 06:05:16 +02:00
Ruslan Kuprieiev
82b9d33674
test: ssh: create external output dir
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-08 04:19:44 +02:00