pared
2b3107f72c
Check whether outputs in graphs do not overlap
2019-03-25 14:19:15 +01:00
pared
85b26c2063
run: add --outs-persist option
2019-03-25 09:43:58 +01:00
Andrew Grigorev
7d79043bbb
dvc.scm.scm_context -> dvc.repo.scm_context.scm_context
...
The `dvc/scm/__init__.py:scm_context` works with `Repo` objects and
is used mostly in `dvc/repo/...`, so it is better to put it in
`dvc/repo/scm_context.py`.
Fix #1769
2019-03-22 19:53:41 +03:00
Andrew Grigorev
6fbdf1b5b0
dvc.repo.tree -> dvc.scm.tree
...
Tree objects are used as `Repo().tree`, so it seemed logical to put them
inside `dvc/repo/tree.py`. But what is more important - `dvc.repo.Repo`
depends on `dvc.scm` and it is not convinient to use `dvc.repo.tree` in
`dvc.scm.git`.
Fix #1769
2019-03-22 19:53:41 +03:00
Ruslan Kuprieiev
d27e8ded61
Merge pull request #1749 from mroutis/fix-1747
...
cache: provide at least one value in parser
2019-03-21 22:47:19 +02:00
Mr. Outis
1df5dea351
cache: provide at least one value in parser
...
Fix #1747
2019-03-21 12:28:46 -07:00
Andrew Grigorev
9219398d83
tests: fix #1754
2019-03-21 19:47:42 +03:00
Andrew Grigorev
63dd3f2c25
tests: fix get_gitignore_content
...
readlines() returns entries with \n on the end
2019-03-21 19:47:42 +03:00
Andrew Grigorev
2ef3a7c7c0
tests: windows has different linesep
2019-03-21 19:47:42 +03:00
Andrew Grigorev
16f74f6894
tests: test_metrics missing .dvc files in commit
2019-03-21 19:47:42 +03:00
Andrew Grigorev
8c8b585de9
tests: test_install commit and clean
...
Uncommited files wouldn't be accessible as git objects.
It needs `git clean -fd` to amend "Working Tree" metrics collection
which took its part when the git tree is dirty.
2019-03-21 19:47:42 +03:00
Andrew Grigorev
9e6c52079b
Abstract access to file objects
...
Abstract access to filesystem and its implementation to access files and
particulary Stage objects in different git branches without `git
checkout` execution.
2019-03-21 19:47:42 +03:00
Paweł Redzyński
c65495e15f
RFC data cloud: declutter test ( #1761 )
2019-03-21 16:48:28 +02:00
Paweł Redzyński
5a736cb79a
remote local, repo: use walk_files instead of os.walk ( #1750 )
2019-03-20 18:45:21 +02:00
Paweł Redzyński
ee16409495
checkout: progress bar ( #1713 )
2019-03-20 13:39:10 +02:00
Dmitry Petrov
70bc101571
[WIP] Pkg install ( #1742 )
...
* Download Git package
* Extract tmp git repo & fetch data
* Handle fetch\cloud errors and rename select option
* Modify gitignore files when deploy a package
* More tests for git ignore file. Fix an old issue.
* Raise and exception when .gitignor not in a file subdir
* Existing tests fixes
* Basic test for packages
* Comment out pkg tests
* Codeclimate improvements
* Reformatting
* Enable pkg tests
* Fix tests no Windows
* Another old bug fix
* Fix encoding issue on Windows
* Another windows fix: apply compat.str magic to file write
* Back to posix path in gitignore and apply compat.str magic to tests
* gitignorepath: OS specifix path to posix
* Forgotten assignment
* misc: cleanup small issues
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* cli: pkg: hide from help
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-03-20 04:09:12 +02:00
Ivan Shcheklein
08036b445b
set timeouts method to thread to avoid problems in parallel run
2019-03-17 20:11:01 -07:00
Ivan Shcheklein
f085e01717
try to fix progess bar test in a parallel pytest environment
2019-03-17 19:33:09 -07:00
Ivan Shcheklein
75421f0f21
migrate to pytest
2019-03-17 14:49:49 -07:00
Ruslan Kuprieiev
ee51ccab4a
test: reword --exec explanation
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-03-17 15:44:02 +02:00
Peter Fogh
d87ceb4e46
Added --exe argument to nosetest default
...
See https://github.com/iterative/dvc/issues/1736#issuecomment-473665122
2019-03-17 14:34:18 +01:00
Mr. Outis
21778f6719
stage: convert wdir path to posix
...
Fix #1721
2019-03-14 14:40:28 -06:00
Ruslan Kuprieiev
acf88d88be
test: requirements: fix black version
2019-03-14 22:39:43 +02:00
Ruslan Kuprieiev
f57b55db79
test: requirements: use latest stable black version
2019-03-14 22:03:35 +02:00
Ruslan Kuprieiev
804ba334f6
Merge pull request #1700 from pared/1699
...
add: prevent adding git files
2019-03-13 22:22:39 +02:00
Ruslan Kuprieiev
9334f751ad
Merge pull request #1690 from pared/1677
...
push/pull/status -c: should complain on no checksum locally and remotely
2019-03-13 18:52:37 +02:00
pared
e1daa921ee
push/pull/status -c: should warn on no checksum locally and remotely
2019-03-13 17:42:51 +01:00
pared
4897a6a44f
add: prevent adding git files
2019-03-13 14:11:59 +01:00
Ruslan Kuprieiev
d2a75afd70
test: increase timeout
2019-03-13 15:10:35 +02:00
Ruslan Kuprieiev
52cd26f93a
nose: try limiting number of processes to 4
2019-03-13 14:30:04 +02:00
Ruslan Kuprieiev
ca648457ec
Merge pull request #1673 from pared/1641
...
add: cleanup .gitignore decorator
2019-03-13 13:59:26 +02:00
Ruslan Kuprieiev
64e5b1e3b1
Merge pull request #1695 from pared/1640
...
yaml loading error: display relative path
2019-03-13 13:47:04 +02:00
Ivan Shcheklein
dc02e4e810
apply inode value mapping when checking for an existing entry
2019-03-11 19:12:58 -07:00
pared
161d3ce7ef
yaml loading error: display relative path
2019-03-11 23:19:45 +01:00
pared
f8711b3faa
repo/scm: move tracking reminder from repo to scm
2019-03-11 23:13:34 +01:00
pared
7a01d5fe47
add: cleanup .gitignore decorator
2019-03-11 22:54:21 +01:00
Ruslan Kuprieiev
40f8181acf
Merge pull request #1671 from mroutis/fix-1356
...
add: support the `--file` option
2019-03-10 01:07:36 +02:00
Mr. Outis
b319e18510
add: support the --file option
...
Fix #1356
2019-03-06 16:18:29 -06:00
Mr. Outis
599ee58a5f
stage: always reproduce when --force is given
...
Fix #1667
2019-03-05 22:36:23 -06:00
pared
a86ba00927
utils: translate yaml file loading exception to dvc one
2019-03-05 14:27:34 +01:00
Ivan Shcheklein
ee7cb41fcb
add tests to properly test wdir in checksum calculation
2019-03-02 16:37:00 -08:00
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