Raymond Gasper and Ruslan Kuprieiev
b0dbcdcdb6
metrics show: allow falsey values ( #4642 )
...
* metrics show: allow falsey values
Fixes #4630
* metrics show: bug in logging to console. Fixes #4630
* repro: fix incorrect usage of _show_metrics
* fix formatting/styling
* metrics: add a simple func test
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-30 04:53:06 +03:00
gsvolt and Restyled.io
fb756c0538
application_process: scm: Git: _add_entry_to_gitignore: writes unique entry to .gitignore ( #4624 )
...
* scm: Git: _add_entry_to_gitignore: writes unique entry to .gitignore
Fixes #4327
* Restyled by black
Co-authored-by: Restyled.io <[email protected] >
2020-09-30 04:02:44 +03:00
Ruslan Kuprieiev
00267706b7
dvc: bump to 1.8.0
1.8.0
2020-09-30 03:39:33 +03:00
Ruslan Kuprieiev
1fcb94dee8
hdfs: add a progress bar ( #4643 )
2020-09-30 03:36:50 +03:00
Ruslan Kuprieiev
dc6abba679
gdrive: fix comment formatting
2020-09-30 03:10:39 +03:00
Ruslan Kuprieiev
fdc455a08f
gdrive: use PyDrive2 issue link instead of PyDrive
2020-09-29 23:29:35 +03:00
Ruslan Kuprieiev
7b590e7c5d
gdrive: revert back to the hack for uploading empty files ( #4632 )
...
* gdrive: bring back the progress workaround
* WIP cloud: test empty files
2020-09-29 13:49:49 +03:00
Ruslan Kuprieiev
e3a7857b13
repo: move index_dir to RemoteIndex ( #4631 )
2020-09-29 03:32:33 +03:00
Ruslan Kuprieiev
644c2df5e8
plots: fix typo
2020-09-29 00:55:38 +03:00
Ruslan Kuprieiev
de24794cd5
repo: move templates to plots ( #4629 )
2020-09-29 00:38:11 +03:00
Ruslan Kuprieiev
1ea8cc9e54
metrics/plots: support non-dvc repos ( #4627 )
2020-09-28 23:06:22 +03:00
Pavel Ditenbir and Ruslan Kuprieiev
738dfd49cf
import: add '--file' option ( #4622 )
...
* import: add '--file' option
Fixes #4093
* Update dvc/command/imp.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-27 20:19:08 +03:00
Guillaume COTER
a5ab01390f
remote[ssh]: Add the parameter allow_agent ( #4623 )
...
This parameter is passed to paramiko.
See http://docs.paramiko.org/en/stable/api/client.html?highlight=allow_agent#paramiko.client.SSHClient.connect for more details.
Fixes #4186
2020-09-27 01:09:00 +03:00
David Roberts and Ruslan Kuprieiev
a664059eff
status: Show friendly message for empty project. ( #4609 )
...
* status: Show friendly message for empty project.
When there are no stages in the repo, show a friendly message to that
effect and display a getting-started URL.
Fixes #4395 .
* Fix style check failing due to line too long. (E501)
* Use format_link(…) as suggested by @skshetry, vs {blue}/{nc}.
Since I'd pulled the old syntax out of repo/init.py, I've fixed that up
as well so no one makes that mistake again. Note that this adds <>s around
the link text, unlike before:
+---------------------------------------------------------------------+
| |
| DVC has enabled anonymous aggregate usage analytics. |
| Read the analytics documentation (and how to opt-out) here: |
| <https://dvc.org/doc/user-guide/analytics > |
| |
+---------------------------------------------------------------------+
This is probably fine, since if we're going to have a standard link format
we might as well stick with it consistently. If we don't like it, we can
change format_link() I guess.
* Update dvc/command/status.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-25 18:05:20 +03:00
Robert Lowry
c94ab359b6
cli: add --cd flag to change directories before executing commands ( #4566 )
...
* cli: add -C flag to change directories before executing commands
Fixes #4025
* add deprecation notice to dvc repro help message
2020-09-25 04:20:22 +03:00
Ruslan Kuprieiev
9643ff7229
dvc: bump to 1.7.9
1.7.9
2020-09-25 02:30:14 +03:00
Ruslan Kuprieiev
8da40af3e4
ssh: download: don't use self.path_info ( #4619 )
2020-09-25 02:27:55 +03:00
Peter Rowlands (변기호)
36935bdce2
experiments: fix --all-tags/--all-branches bug ( #4612 )
...
* brancher: add sha_only option to omit branch/tag names
* experiments: resolve branches/tags into commit objects during `exp show`
2020-09-24 22:48:57 +03:00
Ruslan Kuprieiev
2f030e870b
Update packages.yaml
1.7.8
2020-09-24 18:53:50 +03:00
Ruslan Kuprieiev
a2adc956b9
dvc: bump to 1.7.8
2020-09-24 18:46:36 +03:00
Ruslan Kuprieiev
deaa27dde2
gha: don't build packages when not needed
2020-09-24 18:44:10 +03:00
Ruslan Kuprieiev
b784216f68
dvc: bump to 1.7.7
1.7.7
2020-09-24 18:38:07 +03:00
Peter Rowlands (변기호)
32bb46f34f
experiments: support cloning parent in detached-head state ( #4611 )
...
* experiments: account for cloning detached-head parent repo
* add test for detached-head parent
2020-09-24 18:36:51 +03:00
Ruslan Kuprieiev
2cbd46ba75
gha: publish packages only on released release
2020-09-24 18:31:05 +03:00
Ruslan Kuprieiev
954e4784ab
dvc: bump to 1.7.6
1.7.6
2020-09-24 17:45:53 +03:00
Ruslan Kuprieiev
62edbaf07c
ssh: install paramiko with invoke ( #4617 )
...
Paramiko has recently added support for `Match`
https://github.com/paramiko/paramiko/issues/717
which resulted in some users getting an import error about `invoke`
module, as it is not a default dependecy for paramiko.
@Pseudomanifold reported that installing `invoke` #4589 worked for
him, which means that this newly added paramiko feature works in
his case. That feature seems to not affect configs without `Match`,
so we could give this a try and install it by default.
Our conda package will be updated during the next release.
Fixes #4589
Fixes #4616
2020-09-24 17:45:06 +03:00
Alexander and aandrusenko
e928034fac
add py support for ParamsDependency ( #4456 )
...
* add py support for ParamsDependency
* add py support by ast
* add support modify py params
Co-authored-by: aandrusenko <[email protected] >
2020-09-24 17:25:44 +03:00
Ruslan Kuprieiev
749fec381f
dvc: bump to 1.7.5
1.7.5
2020-09-24 16:26:04 +03:00
Ruslan Kuprieiev
21de21fe37
gha: adjust the test workflow ( #4615 )
...
* gha: move lint check to tests workflow
* gha: tests: don't fail fast
* scripts: remove redundant check
2020-09-24 16:13:03 +03:00
Ruslan Kuprieiev
0756af5012
setup: remove wheel from install_requires ( #4614 )
...
Kudos to @skshetry for catching this one in https://github.com/iterative/dvc/pull/4606
2020-09-24 15:39:54 +03:00
Ruslan Kuprieiev
2457633990
gha: build packages ( #4607 )
2020-09-24 14:48:04 +03:00
David Roberts
46bc89319a
install: Potential fix for (non-fatal?) setup errors on Ubuntu 20.04. ( #4606 )
...
Wheels fail to build on initial install. Install `wheel` to fix this.
Original error message:
Building wheel for pyyaml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/david/Documents/job-hunting/dvc/.env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nhmea2xe/pyyaml/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nhmea2xe/pyyaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-v2ewd51w
cwd: /tmp/pip-install-nhmea2xe/pyyaml/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for pyyaml
Running setup.py clean for pyyaml
Potential fix applied from:
https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci
Fixes #4605 .
2020-09-24 02:02:15 +03:00
Ruslan Kuprieiev
4a82974da4
run-cache: respect cache.shared config option ( #4596 )
...
Fixes #4595
2020-09-24 01:00:53 +03:00
Ruslan Kuprieiev
688da04d4a
tests: cache test directories ( #4601 )
...
* tests: ignore more hdfs tests
* tests: remove unused mark
* gha: don't limit the number of test workers
* cache created test dirs
2020-09-23 23:22:27 +03:00
Paweł Redzyński
e1b34442aa
plot: accept any viable target in dvc repo ( #4602 )
2020-09-23 17:02:12 +03:00
Ruslan Kuprieiev
38dd1c9fe7
tests: allow failure for hdfs tests ( #4600 )
2020-09-23 00:53:32 +03:00
Paweł Redzyński
b31bd1cb30
github actions tests: initial ( #4469 )
...
* github actions tests: initial
* build: tests: add codecov action
2020-09-22 23:05:06 +03:00
Paweł Redzyński
2b3c30cb0c
metrics: accept any viable target in DvcRepo ( #4590 )
2020-09-22 22:53:55 +03:00
ebaffd728e
Restyle Do not require account-level permissions for Azure tree ( #4583 )
...
* Do not require account-level permissions for Azure tree
* Only allow the existence check to pass without error if it failed due to authorization issues
* Update dvc/tree/azure.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
* Update dvc/tree/azure.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
* Restyled by isort
* Update azure.py
Co-authored-by: Matt Hollingsworth <[email protected] >
Co-authored-by: Matt Hollingsworth <[email protected] >
Co-authored-by: Ruslan Kuprieiev <[email protected] >
Co-authored-by: Restyled.io <[email protected] >
2020-09-22 00:07:56 +03:00
Ruslan Kuprieiev
ece7d6ba67
dvc: bump to 1.7.4
1.7.4
2020-09-21 23:50:53 +03:00
Ruslan Kuprieiev
cf5d461f4d
api: enter state when trying to get a hash ( #4584 )
...
`get_hash` is an internal api, so conventions should be respected.
Fixes #4575
2020-09-21 23:37:51 +03:00
Ruslan Kuprieiev
ff3b686058
dvc: bump to 1.7.3
1.7.3
2020-09-21 20:24:02 +03:00
Ruslan Kuprieiev
0b9cd4c93c
gdrive: don't use hacks for empty files ( #4588 )
...
This bug is fixed in PyDrive2 1.6.2.
2020-09-21 20:23:19 +03:00
Robert Lowry and Ruslan Kuprieiev
15488ebefd
scm: add config option to stage files automatically ( #4543 )
...
* scm: add "autostage" config option to stage files automatically
Fixes #4330
* Update tests/unit/scm/test_scm.py
* Update tests/unit/scm/test_scm.py
* scm_context, git: call reset_tracked_files from scm_context, remove output message
* Update dvc/repo/scm_context.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-21 11:59:25 +03:00
Peter Rowlands (변기호)
6a3c516b71
experiments: support committing to existing experiment branches ( #4573 )
...
* experiments: stash optional branch to extend
* experiments: support commit to existing experiment branch
2020-09-19 21:49:40 +03:00
Ruslan Kuprieiev
de768375ed
dvc: bump to 1.7.2
1.7.2
2020-09-15 12:14:49 +03:00
Ruslan Kuprieiev
2f88fa88c4
pydrive2: require six >= 1.13.0
...
https://github.com/iterative/PyDrive2/pull/56
2020-09-15 11:31:52 +03:00
01abf7c19c
Fix error during external outputs checkout ( #4570 )
...
* Fix error during external outputs checkout
User in discord complained that external outputs' checkout
was failing. Looks like, during refactor of `HashInfo`,
this was forgotten, and as no tests existed before, we had
a regression from 1.6.5 onwards.
* fix tests
* Restyled by black (#4571 )
Co-authored-by: Restyled.io <[email protected] >
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <[email protected] >
2020-09-15 11:07:09 +03:00
Ruslan Kuprieiev
4ebacf1e0a
pydrive2: require >=1.6.1
...
https://github.com/iterative/PyDrive2/pull/56
2020-09-15 11:06:36 +03:00
karajan1001
5e69e29b2f
check-ignore show sub-repo patterns (#4564 )
...
* `check-ignore` show sub-repo patterns
fix #4555
1. Sub-repo pattern now would be considered in `check-ignore` command.
2. New outputs for sub-repo patterns in a `detail`
3. Related tests.
* message change
2020-09-15 06:59:41 +03:00