2483 Commits
Author SHA1 Message Date
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
Ruslan Kuprieiev fd2f9119e3 Merge pull request #1597 from mroutis/fix-1484
remote: define command error on the base
2019-02-09 22:46:45 +02:00
Ruslan Kuprieiev cbf24cd279 dvc: bump to 0.25.4 0.25.4 2019-02-09 21:07:57 +02:00
Ruslan Kuprieiev 8b35c69a95 dvc: generate version even without gitpython 2019-02-09 21:07:17 +02:00
Mr. Outis ec77bfa1af remote: define command error on the base
fix: #1484
2019-02-09 12:03:17 -06:00
Ruslan Kuprieiev bac1393fc2 Merge pull request #1592 from mroutis/fix-1591
remote: notify when operation is not supported
2019-02-09 08:44:19 +02:00
Ruslan Kuprieiev cb8e24237f windows: gen_config: don't use compat open 0.25.3 2019-02-09 07:31:59 +02:00
Ruslan Kuprieiev 5b548d679c dvc: bump to 0.25.3 2019-02-09 07:04:03 +02:00
Ruslan Kuprieiev 005239ade7 py2: cast env keys to bytes
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-09 06:59:21 +02:00
Ruslan Kuprieiev b67546d648 dvc: bump to 0.25.2 0.25.2 2019-02-09 04:17:56 +02:00
Ruslan Kuprieiev 40c84fe4ed py2: fix environ issue
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-09 03:59:45 +02:00
Mr. Outis 0d51d10ccf remote: notify when operation is not supported
close #1591
2019-02-08 19:54:54 -06:00
Ruslan Kuprieiev 9210e66b0c dvc: bump to 0.25.1 0.25.1 2019-02-09 03:06:18 +02:00
Ruslan Kuprieiev d3bb4f85df travis: don't forget to init pyenv
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-09 02:12:17 +02:00
Ruslan Kuprieiev cbce38074e travis: fix typo
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-09 02:01:52 +02:00
Ruslan Kuprieiev 1bb101d250 travis: debug pyenv
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-09 01:40:58 +02:00