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
Ruslan Kuprieiev
dc5a676306
Merge pull request #1607 from efiop/pylint
...
dvc: split Project methods into separate files
2019-02-14 00:27:24 +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
beb45202fd
Merge pull request #1606 from 0xflotus/patch-1
...
fixed occasional
2019-02-11 20:25:32 -08:00
0xflotus
ab94667103
fixed occasional
2019-02-12 05:18:20 +01:00
Ruslan Kuprieiev
940731941d
dvc: bump to 0.27.0
0.27.0
2019-02-12 05:03:39 +02:00
Ruslan Kuprieiev
448bd493cf
Merge pull request #1605 from shcheklein/master
...
Fix metrics show all braches/tags behavior when target is not specified
2019-02-12 04:56:14 +02:00
Ivan Shcheklein
51381fb0b0
fix metrics show all when no target is specified
2019-02-11 18:27:19 -08:00
Ruslan Kuprieiev
95345c45d0
dvc: bump to 0.26.1
0.26.1
2019-02-12 01:51:25 +02:00
Ruslan Kuprieiev
b7bcf0cc37
Merge pull request #1604 from efiop/master
...
updater: don't use io.open when working with json
2019-02-12 01:49:49 +02: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
Ruslan Kuprieiev
51c9357cd2
dvc: bump to 0.26.0
0.26.0
2019-02-10 21:51:16 +02:00
Ruslan Kuprieiev
9bfff1f957
Merge pull request #1600 from iterative/cached-metrics
...
Cached metrics
2019-02-10 21:33:04 +02:00
Ivan Shcheklein
41befea210
address PR review comments
2019-02-10 11:06:23 -08:00
Ruslan Kuprieiev
fbd5393a2d
appveyor: add chocolatey cache
2019-02-10 07:50:51 +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
dc1242a107
fix error messages in metrics show
2019-02-09 18:57:15 -08:00
Ivan Shcheklein
17c6858ad3
minor: better variable names in stage class
2019-02-09 18:56:17 -08:00
Ivan Shcheklein
dab347f424
fix few checks and messages in dvc run
2019-02-09 18:54:54 -08:00
Ivan Shcheklein
3287c3f407
add ability run tests from specified file(s)
2019-02-09 18:52:46 -08:00
Ivan Shcheklein
0ed44cf151
fix formatting
2019-02-09 15:44:12 -08:00
Ivan Shcheklein
2419f94ef3
use python3 in hook
2019-02-09 15:00:16 -08:00
Ruslan Kuprieiev
1eee7e3226
travis: enable cron builds
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-09 23:52:15 +02:00
Ivan Shcheklein
16570bad03
add cached metrics, cleanup warnings
2019-02-09 13:48:18 -08:00