Guro Bokum
02cd520acd
api: colorize dvc list ( #3351 )
...
Close #3347
2020-03-09 14:07:23 +02:00
Alexander Schepanovski
357a6dd467
dvc: optimize building graph ( #3443 )
...
Use trie structure to efficiently check out, dep and stage paths being
prefixes of each other.
2020-03-09 12:13:07 +02:00
Ruslan Kuprieiev
f05e6e0529
metrics show: update -h output to match docs ( #3420 )
...
per https://github.com/iterative/dvc.org/pull/1014/commits/2c3452119545987f77b764e4aa6fc94d051092a7
2020-03-05 16:11:43 +02:00
Ruslan Kuprieiev
06c634adee
pipelines: fix edges gathering ( #3421 )
2020-03-05 14:16:57 +02:00
Alexander Schepanovski
05cc023164
test: check that no remote backend modules are loaded by default ( #3400 )
2020-02-28 14:45:51 +02:00
Ruslan Kuprieiev
abc4e3c2d0
dvc: bump to 0.87.0
0.87.0
2020-02-28 02:21:39 +02:00
Casper da Costa-Luis
35a6e0fedd
docs: update badges ( #3380 )
...
* docs: add and update badges
Add |Choco|
Add |Brew|
Fix style for |Conda|
Add |PyPI|
Add |Packages|
Fixes #3233
Related https://github.com/iterative/dvc.org/issues/904
* docs: add badge logos
* docs: minor badge tidy
* docs: add choco install, add OS, update order
2020-02-28 01:32:10 +02:00
ttekampe and Guro Bokum
de453ab06d
dont disable existing loggers when dvc is set up ( #3345 )
...
* dont disable existing loggers when dvc is set up
* corrected code style
* dont disable existing loggers, fixes
Co-authored-by: Guro Bokum <[email protected] >
2020-02-27 07:02:06 +02:00
Alexander Schepanovski
d8778e7ca9
erepo: set up more logging ( #3403 )
2020-02-26 22:39:13 +02:00
Bruno Deferrari
b136eb5151
erepo: fix relative url on default remote ( #2756 ) ( #3378 )
...
* erepo: fix relative urls for remotes (#2756 )
* erepo: add test case for relative path remotes (#2756 )
* Remove unused argument
* erepo: move handling of relative remotes to a separate method (#2756 )
* erepo: don't manually build paths on test (#2756 )
* erepo: refactor handling of missing or relative upstream (#2756 )
* erepo: move handling of source repo resource to `_fix_upstream` (#2756 )
* erepo: improve relative remote tests (#2756 )
- use `tmp_dir` fixture
- commit config file changes
* erepo: Remove comment (#2756 )
* erepo: use scm_add to commit too, no need for separate scm.commit call (#2756 )
* erepo: minor refactoring in `_fix_upstream` (#2756 )
* erepo: add comment explaining that old relative paths are restored (#2756 )
2020-02-26 22:37:29 +02:00
rxxg
d7d5d8fcca
Remove Linux pyfastcopy ( #3412 )
...
Fixes #3395
2020-02-26 22:35:48 +02:00
Casper da Costa-Luis
68a2f34a46
pull: fetch: external: respect jobs ( #3413 )
...
Fixes #3396
2020-02-26 22:35:19 +02:00
Paweł Redzyński
a9bc65ee1f
analytics: fix resolving used scm ( #3405 )
2020-02-26 02:29:46 +02:00
Ruslan Kuprieiev
432e399f44
deps: remove pyfastcopy
...
https://github.com/iterative/dvc/issues/3395
2020-02-25 15:53:43 +02:00
Alexander Schepanovski
a81ab5e26b
gdrive: do not import pydrive2 on module load ( #3399 )
2020-02-25 14:52:40 +02:00
Paweł Redzyński
8d04d6d3ce
SCM: allow multiple DVC repos inside single SCM repo ( #3257 )
2020-02-25 14:40:20 +02:00
Jorge Orpinel and Ruslan Kuprieiev
f673144b19
api: docstring updates ( #3352 )
...
* api: update to latest definitions to match iterative/dvc.org/pull/908
* Update dvc/api.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-02-23 06:41:18 +02:00
Ivan Shcheklein
eebbf3f812
change diff checksum arg name to hash ( #3384 )
2020-02-23 06:32:35 +02:00
Alexander Schepanovski
3a5e588561
gdrive: a pair of cleanup refactors (upstream branch) ( #3382 )
...
* gdrive: minor clean using funcy 1.14 features
Employ @retry(filter_errors) and @wrap_prop() to pack things up a bit.
* gdrive: refactor dirs/ids/root_id cache and their uses
- cache root transparently
- make cache dirs and ids symmetric, i.e. both using full paths
- implement .list_cache_paths() instead of .all() like in the rest of
the remotes
2020-02-23 06:11:25 +02:00
Saugat Pachhai
5101bf1253
gc: make it safer by only activating by use of certain flags ( #3363 )
...
* gc: make it safer by only activating by use of certain flags
Previous plain `gc` is now not supported. The same behavior can be trigger by
`gc -w` or `gc --workspace`. When `--all-{tags, commits, branches}` are
specified, it will work as if `-w` is also specified (same as before).
* tests: adjust gc to use workspace on test_repro
2020-02-21 12:39:59 +02:00
Paweł Redzyński
bd33b1ae30
Stage: get checksum from repo if no checksum in stage file ( #3365 )
2020-02-21 12:10:33 +02:00
68e543f7e1
remotes.http: Support dvc push for http remotes ( #3343 )
...
* remote.http: support _upload() via HTTP POST
- uploaded files are sent as chunked encoding POST data
Fixes #3247
* remote.http: add support for HTTP basic and digest auth
- username, password, ask_password options work the same way as for
ssh remotes
- basic_auth (bool) and digest_auth (bool) options added for http(s)
remotes
- digest_auth takes precedence over basic_auth if both are enabled
* remote.http: auth_method() unit tests
* tests: Add functional tests for HTTP remotes
- HTTP remotes now tested locally using a SimpleHTTPServer instance that
allows reading/writing to a temp directory
* tests: fix http tests on py3.5, 3.6
* remote.http: add custom auth method
* s/custom_header/custom_auth_header/
* Apply suggestions from code review
Co-Authored-By: Saugat Pachhai <[email protected] >
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
Co-authored-by: Saugat Pachhai <[email protected] >
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-02-21 12:05:55 +02:00
Casper da Costa-Luis
411057d1b4
completion: bash: properly recurse targets ( #3374 )
...
* completion: bash: properly recurse commands
TODO: subcommands
* completion: bash: add subcommand path completion
* completion: bash: comments
2020-02-21 04:03:23 +02:00
Casper da Costa-Luis
ae99e1b02b
metadata: add Zenodo, tidy badges and keywords ( #3373 )
...
* docs: add Zenodo badge
* docs: fix rst image syntax
* docs: collect and re-use badges
* metadata: add zenodo
Fixes #2978
* metadata: sync keywords
* docs: add citation in readme
* docs: one-line badges
2020-02-21 04:01:59 +02:00
Ruslan Kuprieiev
2c46bddcfa
dvc: bump to 0.86.5
0.86.5
2020-02-21 00:11:41 +02:00
Ruslan Kuprieiev
e4bf5c1ddb
dvc: bump to 0.86.4
0.86.4
2020-02-20 03:46:51 +02:00
Ruslan Kuprieiev
6474725d4f
test: repro: prevent dvc.stages resetting ( #3368 )
2020-02-20 03:45:28 +02:00
Ruslan Kuprieiev
c5677decd3
dvc: bump to 0.86.3
0.86.3
2020-02-20 02:40:14 +02:00
Casper da Costa-Luis
2820aedb87
completion: bash: allow multi-arg completion, minor tidy ( #3367 )
2020-02-19 23:41:48 +02:00
Paweł Redzyński
9b2ef002ea
Stage: create: reset repo after new stage creation ( #3349 )
2020-02-19 20:25:04 +02:00
Casper da Costa-Luis
a9161af593
Fix bash completion ( #3360 )
...
* completion: safer function names
* completion: fix missing expansions
Fixes #1923
* complete: bash: all filenames
* complete: bash: DVC-files
* complete: bash: safer and quicker opts
2020-02-19 04:16:09 +02:00
Casper da Costa-Luis
37de65fe48
ui: fix missing progress & tidy ( #3335 )
...
* ui: show missing progress
Fixes #3332
* ui: more verbose progress
* remote: base: back to no_progres_bar=True
2020-02-19 04:08:29 +02:00
Ruslan Kuprieiev
6dba652b25
dvc: bump to 0.86.2
0.86.2
2020-02-17 20:30:51 +02:00
Ruslan Kuprieiev
d2a6c1fc62
external_repo: fix bug in path resolution ( #3350 )
2020-02-17 20:30:04 +02:00
Ruslan Kuprieiev
130180cc5c
setup.py: remove gitdb2 dependency and update gitpython
2020-02-17 18:12:30 +02:00
Ruslan Kuprieiev
72f1313cc3
setup: fix gitpython version
2020-02-17 17:54:53 +02:00
Jorge Orpinel and Ruslan Kuprieiev
a663971ce4
get/import: updates output strings, et al. ( #3308 )
...
* get/import: update cmd and url arg descs with correct behavior
* get/import: update path arg desc as well (See previous commit)
* get/imp: udpate help output with simpler terms
per https://github.com/iterative/dvc/pull/3277#pullrequestreview-352650016
* api: url->URL in a docstring
* metrics show: update help output per
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-351862579
* diff: update `diff` and `metrics diff` help desc to match docs
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-356890960
* diff: update autocomplete scripts
per https://github.com/iterative/dvc/pull/3308#issuecomment-585220300
* diff: update help output again
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-356890960
* diff/metrics diff: update help output yet again
per https://github.com/iterative/dvc.org/pull/933#discussion_r378654316
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-02-17 17:27:09 +02:00
Jorge Orpinel
b23f43a7e7
term: avoid "under X control" and other help output updates ( #3322 )
...
* get/import: update cmd and url arg descs with correct behavior
* get/import: update path arg desc as well (See previous commit)
* get/imp: udpate help output with simpler terms
per https://github.com/iterative/dvc/pull/3277#pullrequestreview-352650016
* api: url->URL in a docstring
* metrics show: update help output per
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-351862579
* diff: update `diff` and `metrics diff` help desc to match docs
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-356890960
* diff: update autocomplete scripts
per https://github.com/iterative/dvc/pull/3308#issuecomment-585220300
* diff: update help output again
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-356890960
* diff/metrics diff: update help output yet again
per https://github.com/iterative/dvc.org/pull/933#discussion_r378654316
* term" under X control -> tracked by X
2020-02-17 17:24:30 +02:00
Ruslan Kuprieiev
a90d7009f5
dvc: bump to 0.86.1
0.86.1
2020-02-17 17:08:37 +02:00
Ruslan Kuprieiev
4986395998
setup.py: limit gitpython version
...
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=122147&view=logs&jobId=4f922444-fdfe-5dcf-b824-02f86439ef14&j=4f922444-fdfe-5dcf-b824-02f86439ef14&t=937c195f-508d-5135-dc9f-d4b5730df0f7
2020-02-17 17:03:33 +02:00
Ruslan Kuprieiev
19edc1ab1d
dvc: bump to 0.86.0
0.86.0
2020-02-17 12:44:49 +02:00
Mr. Outis
57d02195b5
get/import: retrieve files inside directory outs ( #3309 )
...
* get/import: retrieve files inside directory outs
Close #2458
* fs: move, fspath_py35 -> fspath
2020-02-17 03:24:02 +02:00
Mr. Outis
8492786ae4
logger: refactor, remove dead code ( #3306 )
...
* Remove dead code
* Rename _walk_exc to _causes, simplify it
* Split up stack trace and remove extra \n
* Import traceback only when needed
2020-02-17 03:19:37 +02:00
Saugat Pachhai
46e5053705
update: support specifying revision when updating ( #3337 )
...
* update: work with rev
* completion: update --rev completion scripts
* test: fix unit test assumption
* test: use fspath_py35
2020-02-15 17:55:41 +02:00
Ruslan Kuprieiev
4087b020db
dvc: bump to 0.85.0
0.85.0
2020-02-15 01:14:37 +02:00
Ruslan Kuprieiev
8a2699dfbb
schema: use a more flexible hash schema ( #3333 )
...
Fixes #3331
2020-02-15 01:13:45 +02:00
Casper da Costa-Luis
276a2b02a3
ui: make progress bars respect --quiet ( #3316 )
...
* ui: default no_progress_bar=None instead of False
Fixes #3314
* ui: catch remaining missing auto-quiet progress
* progress: treat disable=False as None
* test: progress.Tqdm(disable=False)
* revert no_progress_bar=None <= False
partially reverts e0342a8641f0101d
2020-02-15 00:53:52 +02:00
Saugat Pachhai
77f24af727
dvc: do not set cache dir if not a dvc repo ( #3329 )
2020-02-14 19:07:23 +02:00
Casper da Costa-Luis
6932cf6c8d
snap: test: add build and deploy checks ( #3330 )
...
* snap: deploy: include review-tools
Enables pre-deployment checks
* snap: build: include snapd
Enables enhanced build-time checks
2020-02-14 19:05:23 +02:00
Paweł Redzyński
5b737a0a0b
imp_url: make default stage fname accompany import target ( #3312 )
2020-02-14 17:05:08 +02:00