Mr. Outis
60e83285e1
config: implement bool_schema 💅
...
Extracted from https://github.com/iterative/dvc/pull/1804/
2019-05-01 17:37:47 -07:00
Ruslan Kuprieiev
4e5ab29200
Merge pull request #1951 from pared/1551
...
install: add pre-push hook, refactor test
2019-05-01 21:41:01 +03:00
Ruslan Kuprieiev and pared
ba1463384f
Update tests/func/test_install.py
...
Co-Authored-By: pared <[email protected] >
2019-05-01 11:11:29 -07:00
Ruslan Kuprieiev
1369c65617
Merge pull request #1953 from pared/refactor_test_commit
...
commit: test: pytest style
2019-05-01 21:10:40 +03:00
Ruslan Kuprieiev
755a8bab06
Merge pull request #1949 from Suor/tests-extra-processes
...
test: never run updater nor analytics in tests
2019-05-01 15:50:53 +03:00
Alexander Schepanovski
6e0e5b426b
test: never run updater nor analytics in tests
...
Previously that was only the case when running tests via `python
-mtests` wrapper.
2019-05-01 13:48:57 +07:00
pared
e88abfa41a
test_commit: use pytest
2019-04-30 22:45:58 -07:00
pared
a3857fe747
install: add pre-push hook, refactor test
2019-04-30 20:51:09 -07:00
Ruslan Kuprieiev
40ace1702b
Merge pull request #1950 from mroutis/fix-1839
...
status: optimization for already downloaded files
2019-05-01 04:33:10 +03:00
Mr. Outis
29f58bda9b
status: optimization for already downloaded files
...
Fix #1839
2019-04-30 17:09:04 -07:00
Ruslan Kuprieiev
2cba711237
travis: redirect pyenv log to a file
2019-05-01 02:55:29 +03:00
Ruslan Kuprieiev
69a6993233
Merge pull request #1935 from mroutis/fix-1758
...
add: warn when recursively adding large files
2019-05-01 02:08:44 +03:00
Mr. Outis
d3502ebfe3
add: warn when recursively adding large files
...
Close #1758
2019-04-30 12:33:28 -07:00
Ruslan Kuprieiev
622a089743
Merge pull request #1942 from pared/1941
...
repo: get default logger level from logger
2019-04-30 21:20:23 +03:00
Ruslan Kuprieiev
e99fc2d8e8
Merge pull request #1946 from Suor/pbar-large-dir
...
dvc: add progress bar when hashing a large dir
2019-04-30 19:15:53 +03:00
Alexander Schepanovski
a6823e0113
dvc: add progress bar when hashing a large dir
...
Added an easier way to show progress bar over for loops.
2019-04-30 20:26:02 +07:00
Ruslan Kuprieiev
8c02cefb9e
Merge pull request #1947 from Suor/tests-log-level
...
test: fix tests being dependent on log level and abandon default DEBUG level
2019-04-30 15:22:35 +03:00
Ruslan Kuprieiev
c13dbc69eb
Merge pull request #1948 from Suor/dup-tests
...
test: dedup some metrics tests
2019-04-30 14:14:44 +03:00
Alexander Schepanovski
af4af45458
test: dedup some metrics tests
...
Closes #1928 .
2019-04-30 18:01:54 +07:00
Alexander Schepanovski
cdf318fff7
test: abandon default DEBUG log level in tests
...
Now simple `py.test` command won't use DEBUG log level and `py.test ...
--log-level=LEVEL` will do what it's supposed to.
Staging continues to use DEBUG log level.
This is part of #1888 resolution.
2019-04-30 17:43:39 +07:00
Alexander Schepanovski
7d067f78b2
test: fix tests being dependent on log level
...
Note we call main() to spare process overhead, this leads to main()
inheriting log level and later tests inheriting whatever main() run
left. This makes main to behave.
2019-04-30 17:33:49 +07:00
pared
a1b12db00f
repo: get default logger level from logger
2019-04-29 17:41:38 -07:00
Ruslan Kuprieiev
8bb21261e3
metrics: show: adjust warning
2019-04-30 01:37:05 +03:00
Ruslan Kuprieiev
3265a259f8
Merge pull request #1937 from pared/1917
...
metrics: show: do not throw on no metric present on branch
2019-04-30 01:35:02 +03:00
pared
b13707cd0a
metrics: show: refactor arguments naming
2019-04-29 15:24:07 -07:00
pared
59b4090e64
metrics: show: do not throw on no metric present on branch
2019-04-29 15:16:05 -07:00
Ruslan Kuprieiev
435095e35f
Merge pull request #1914 from pared/1890
...
repo: different cache link types info on long lasting operations
2019-04-29 19:14:27 +03:00
Ruslan Kuprieiev
8a077ba5db
Merge pull request #1945 from ag613915cao/replace_yield_fixture
...
Replace yield_fixture()
2019-04-29 14:48:10 +03:00
ag613915cao
0dabf7bbaa
Replace yield_fixture()
...
Because yield_fixture() is deprecated since pytest 3.0 [1]. It is
not recommend to use the decorator instead of fixture().
[1] https://docs.pytest.org/en/latest/yieldfixture.html
2019-04-29 15:17:10 +07:00
Ruslan Kuprieiev
329385eb80
Merge pull request #1944 from brbarkley/feature_jsonpath-ng
...
dvc metrics show: implement jsonpath-ng
2019-04-28 16:53:24 +03:00
Brett Barkley
4260a6246d
dvc metrics show: implement jsonpath-ng
...
updated setup.py
updated test_metrics.py::assertMetricsHaveRelativePaths
Fixes #1919
2019-04-28 09:01:28 -04:00
Brett Barkley
beef1e32b0
dvc metrics show: implement jsonpath-ng
...
Fixes #1919
2019-04-28 08:28:36 -04:00
Ivan Shcheklein
27bf6e2928
readme: add donate patreon badge
2019-04-26 12:33:45 -07:00
pared
f496ba4f03
remote: local: different cache link types info on long lasting linking
2019-04-26 10:17:16 -07:00
Ruslan Kuprieiev
360e459161
Merge pull request #1939 from Suor/gc-optimize
...
dvc: some minor optimizations
2019-04-26 19:02:05 +03:00
Alexander Schepanovski
cdba077b61
dvc: some minor optimizations
2019-04-26 19:10:08 +07:00
Ruslan Kuprieiev
3a183f5303
Merge pull request #1911 from ag613915cao/enable_ssh_test_on_windows
...
Mocked SSH server and enable ssh test on windows
2019-04-26 14:24:00 +03:00
ag613915cao
fd385c913b
This commit intends to:
...
- Keep current SSH remote connection test on real system
- Faked and Mocked SSH server which running on both Linux and Windows
- Add corresponding tests
Fixed #1704
2019-04-26 18:07:16 +07:00
Ruslan Kuprieiev
edefb5470f
ssh: respect no_progress_bar on download/upload
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-26 04:45:52 +03:00
Ruslan Kuprieiev
65d31db8db
state: remove redundant lines
2019-04-25 16:53:24 +03:00
Alexander Schepanovski
7478e7d4b0
test: clean up test dirs ( #1904 )
...
* test: clean up test dirs
Closes #1770 . Partially does #1888 .
* dvc: close anything opened
* test: finalize git repo explicitly to remove test dir later
This was previously an issue on Windows.
2019-04-25 14:55:39 +03:00
Mr. Outis
c0104e2e61
repro: implement downstream option ( #1926 )
...
* repro: implement downstream option
Close #1555
* Update scripts/completion/dvc.zsh
Co-Authored-By: mroutis <[email protected] >
* Update dvc/command/repro.py
Co-Authored-By: mroutis <[email protected] >
2019-04-25 04:50:44 +03:00
Ruslan Kuprieiev
44e20f1aa8
Merge pull request #1877 from mroutis/fix-1852
...
repro: persisting outputs invalidates build cache
2019-04-25 02:56:27 +03:00
Mr. Outis
d42c8fbd14
repro: persisting outputs invalidates build cache
...
Fix #1852
2019-04-24 16:45:03 -07:00
Ruslan Kuprieiev
165f6472ca
Merge pull request #1925 from efiop/1655
...
stage: commit cached stage to avoid data duplication
2019-04-24 22:22:48 +03:00
Ruslan Kuprieiev
9c77f2818c
stage: commit cached stage to avoid data duplication
...
Fixes #1655
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-24 21:14:08 +03:00
Ruslan Kuprieiev
b8018c16a7
Merge pull request #1892 from efiop/1654
...
support external ssh directories as dependencies and outputs
2019-04-24 05:57:06 +03:00
Ruslan Kuprieiev
37ee55b1f8
test: test ssh
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-24 05:09:48 +03:00
Ruslan Kuprieiev
49f87a5bff
use ValueError instead of JSONDecodeError
...
JSONDecodeError is only available in never python 3 versions and still
inherits from ValueError, so we could just use it.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-24 05:09:48 +03:00
Ruslan Kuprieiev
b97b99cf15
test: func: use pytest for outputs/dependencies
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-24 05:09:48 +03:00