Commit Graph
2251 Commits
Author SHA1 Message Date
Ruslan Kuprieiev 4fa8618734 git: update .gitignore
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-20 22:09:26 +02:00
Ruslan Kuprieiev 865d265274 Merge pull request #1447 from efiop/1444
daemon: fix daemon when running in binary mode
2018-12-19 22:04:46 +02:00
Ruslan Kuprieiev 7ecb9e87ae test: fix "overwrite" test on mac 2018-12-19 15:56:33 +02:00
Ruslan Kuprieiev eb810e617e Merge pull request #1436 from mroutis/fix-1435
repro: Fix --all-pipelines option
2018-12-18 18:35:37 +02:00
Ruslan Kuprieiev e1f736eaad daemon: fix daemon when running in binary mode
When running from binary, we need to fixup environment variables
before launching new processes. We also need to detach from the parent
tty, because otherwise it causes problems for PyInstaller.

Plus, when binary is built as --onefile it still creates pop-up terminal
on windows, so we need to switch to --onedir.

Fixes #1446
Fixes #1444

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-18 18:13:55 +02:00
Ruslan Kuprieiev 4c753ff599 Merge pull request #1441 from efiop/1439
state: save file size
2018-12-17 13:12:53 +02:00
Ruslan Kuprieiev d5dd0fd804 test: don't use sleep
Since we now use file size to help detect file changes on filesystems
with bad mtime resolution, we no longer need these explicit sleep()
calls in our tests for mac os.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-17 12:42:35 +02:00
Ruslan Kuprieiev d1cb0a3450 state: save file size
This will help us detect file change more reliably even on filesystems
with bad mtime resolution.

Fixes #1439

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-17 12:42:35 +02:00
Ruslan Kuprieiev b7e473fc20 Merge pull request #1434 from mroutis/pipeline
RFC: Refactor pipeline definition
2018-12-17 12:30:33 +02:00
Mr. Outis e8a081030f repro: Fix --all-pipelines option
Fix #1435
2018-12-16 18:31:40 -06:00
Mr. Outis 4142f65531 Add tests for pipelines 2018-12-16 18:06:37 -06:00
Ruslan Kuprieiev 763e6f5436 remote: local: optimize dir cache collection
Related #1331

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-16 01:12:34 +02:00
Ruslan Kuprieiev 8fdb768bdd Merge pull request #1438 from mroutis/rfc-prompt
RFC: Prompt as functions instead of a class
2018-12-15 19:51:14 +02:00
Ruslan Kuprieiev f6350cc2c6 Merge pull request #1437 from efiop/master
dvc: use local scheme as default
2018-12-14 19:29:17 +02:00
Mr. Outis 948021f5b0 rfc: Prompt as functions instead of a class 2018-12-14 10:47:18 -06:00
Mr. Outis df044c60ac rfc: Move welcome message to a private function 2018-12-14 10:45:58 -06:00
Ruslan Kuprieiev 53e4e1c0a9 dvc: use local scheme as default
There is no way to detect if some path is a valid path in a general
case, since every filesystem has its own requirements and limitations.
Instead, just default to a local path and let fs handle the rest.

Fixes #1433

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-14 14:47:37 +02:00
Mr. Outis cb142f9f0e project: Refactor pipeline
What's a pipeline if not the weekly connected component subgraphs of a
directed acyclic graph?
2018-12-13 13:37:45 -06:00
Ruslan Kuprieiev 286373f9c7 test: fix whitespace 2018-12-13 08:40:24 +02:00
Ruslan Kuprieiev f5af2e1aec tests: fix test on mac os 2018-12-13 07:09:46 +02:00
Ruslan Kuprieiev dfecaff7a6 Merge pull request #1432 from efiop/master
Misc fixes
2018-12-12 20:13:36 +02:00
Ruslan Kuprieiev eaa2d559db azure: support prefix
Fixes #1336

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-12 19:54:41 +02:00
Ruslan Kuprieiev ed3030707f cli: add dvc remote default command
Fixes #1357

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-12 19:21:34 +02:00
Ruslan Kuprieiev 7c2eb02209 repro: introduce --ignore-build-cache
Fixes #1342

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-12 19:21:34 +02:00
Ruslan Kuprieiev 147d87b78a Merge pull request #1422 from mroutis/fix-1255
run: Prevent argument duplication with deps/outs
2018-12-12 08:37:38 +02:00
Ruslan Kuprieiev ee8cf4595b Merge pull request #1428 from mroutis/fix-1394
remote s3: Add option to disable the use of SSL
2018-12-12 08:13:27 +02:00
Mr. Outis 21f19b1296 fix logger issue 2018-12-11 15:06:09 -06:00
Mr. Outis a1ecbdd001 Merge branch 'master' into fix-1255 2018-12-11 14:56:05 -06:00
Mr. Outis 9971f7a624 run: Prevent argument duplication with deps/outs
Fix #1255
Fix #1168
Close #1259

RFC:
- Add / fix docstrings and privatize methods
- Add `__repr__` method for core objects
- Change the name of methods to make them more readable
2018-12-11 14:54:45 -06:00
Mr. Outis d1009a7489 remote s3: Add option to disable the use of SSL 2018-12-11 14:24:43 -06:00
Ruslan Kuprieiev b408ee1445 Merge pull request #1427 from efiop/master
ssh: mention private key passphrase in the prompt
2018-12-11 14:39:24 +02:00
Ruslan Kuprieiev 22724f0500 ssh: mention private key passphrase in the prompt
Fixes #1425
2018-12-11 14:11:21 +02:00
Ruslan Kuprieiev 91a5701169 Merge pull request #1426 from efiop/master
logger: optimize calls
2018-12-11 14:07:58 +02:00
Ruslan Kuprieiev e02a33f934 logger: shortcut logger in quiet and normal modes
In scenarios with millions of files, late shorcutting of
debug msgs results in massive overhead. In order to avoid
that, just shortcut logger messages ASAP if verbose mode
is not enabled.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-11 12:07:28 +02:00
Ruslan Kuprieiev cf8ab29129 local: don't use relpath in debug msgs
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-11 05:24:59 +02:00
Ruslan Kuprieiev b8e5c51424 cli: fix run description 2018-12-10 05:58:35 +02:00
Mr. Outis 19007ff081 scripts: Add file completion to dvc add command (#1423) 2018-12-07 22:39:24 -06:00
Ruslan Kuprieiev 8574f37217 Merge pull request #1418 from efiop/master
test: enable flake8 checks for tests
2018-12-06 07:07:19 +02:00
Ruslan Kuprieiev a67988a80e test: enable flake8 checks for tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-06 06:40:55 +02:00
Ruslan Kuprieiev ea2caf9dfd cli: update description for dvc status --with-deps
Fixes #1408
2018-12-06 05:34:13 +02:00
Ruslan Kuprieiev 778bb984b0 cli: don't forget colon and space
Fixes #1417
2018-12-06 05:20:02 +02:00
Ruslan Kuprieiev baa14f23f3 Merge pull request #1413 from mroutis/fix-1365
logger: Prevent adding multiple handlers
0.22.0
2018-12-05 07:38:57 +02:00
Mr. Outis b3b2c97f4b logger: Prevent adding multiple handlers
Fix #1365
2018-12-04 22:33:06 -06:00
Ruslan Kuprieiev 73b290e059 Merge pull request #1414 from efiop/master
dvc: catch cached stages
2018-12-05 06:03:44 +02:00
Ruslan Kuprieiev de76db6f02 dvc: catch cached stages
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-05 05:47:44 +02:00
Ruslan Kuprieiev 0b01432e6c tests: fix overwrite test on mac os 2018-12-05 05:36:41 +02:00
Ruslan Kuprieiev 1ed42237c1 dvc: bump to 0.22.0 2018-12-05 03:18:46 +02:00
Ruslan Kuprieiev 5452605eac gs: don't return md5 in bytes format 2018-12-05 02:44:59 +02:00
Ruslan Kuprieiev 30991d98bc gs: fix encoding issue on py3 2018-12-05 02:21:12 +02:00
Ruslan Kuprieiev 89269e94f6 Merge pull request #1411 from efiop/master
gs: use md5_hash instead of etag for external deps/outs
2018-12-05 01:53:32 +02:00