Batuhan Taskaya
abcb5b2f6f
gs: disable consistency checker ( #5613 )
2021-03-12 14:04:54 +02:00
Peter Rowlands (변기호)
d365e6d5b4
exp run: fix issue where duplicate workspace runs would incorrectly conflict ( #5611 )
...
* exp run: gracefully handle duplicate workspace runs
* exp run: fix issue where errors could be logged twice
* move ref conflict check into its own function
2021-03-12 20:13:49 +09:00
Peter Rowlands (변기호)
bd470e9586
stage add: unsuppress -c/--checkpoints help text ( #5599 )
...
* stage add: unsuppress -c/--checkpoints help text
* review fix
2021-03-12 14:47:12 +09:00
Peter Rowlands (변기호)
fe4cb9c439
exp run: do nothing if result matches parent (HEAD) ( #5600 )
2021-03-12 14:09:03 +09:00
Ruslan Kuprieiev
2db55032c4
objects: file: remove unused load() method ( #5610 )
2021-03-12 05:35:48 +02:00
Peter Rowlands (변기호)
686898240c
Revert "repro/exp run: use git status when reminding to git-track files ( #5544 )" ( #5596 )
...
This reverts commit ce2d7c65db .
2021-03-12 11:50:13 +09:00
Saugat Pachhai
d245008987
plots: support opening plots file directly in the browser ( #5584 )
...
* plots: support opening plots file directly in the browser
* add tests
* fix path on windows tests
2021-03-12 04:23:07 +02:00
Ruslan Kuprieiev
29ad87ebe2
objects: split into separate files ( #5609 )
2021-03-12 04:12:46 +02:00
Ruslan Kuprieiev
4af3b3d20d
dvc: refactor objects ( #5607 )
...
* dvc: get rid of DirInfo
DirInfo was created before we had proper objects, as a way to have a
structure that represents a staged directory. Right now we have a
dedicated Tree object that is specifically meant for that.
As a result, HashInfo no longer needs to have dir_info and we no longer
need `get_hash/get_dir_hash` helpers.
* objects: move Tree into tree.py
2021-03-12 01:10:34 +02:00
Saugat Pachhai
b691b15007
Add a link to help debugging more information regarding the issue ( #5601 )
...
* Add a link to help debugging more information regarding the issue
* Update .github/ISSUE_TEMPLATE/bug_report.md
2021-03-11 16:02:53 +02:00
Saugat Pachhai
fd66ef6bc1
http: fix info() if there is no content-length header ( #5602 )
2021-03-11 16:01:24 +02:00
Saugat Pachhai
e709437cd2
update pylint and pin dependencies ( #5603 )
...
Started having some issues with pylint-pytest, pinning it as well
2021-03-11 15:24:27 +05:45
Saugat Pachhai
6c00fedb46
remove flaky-service
...
Looks like the project is dead: https://github.com/GoogleCloudPlatform/flaky-service .
And, the site https://flaky.dev seems to be dead.
2021-03-11 15:21:12 +05:45
Peter Rowlands (변기호)
cc9ded2081
exp: subclass tempfile.TemporaryDirectory to handle cleanup ( #5598 )
...
* exp: subclass tempfile.TemporaryDirectory to handle cleanup
* override cleanup() since cls._rmtree does not exist in <3.8
2021-03-11 14:54:36 +09:00
Dmitry Petrov
5b300d8aae
Add a link to Barrak&Adams citation ( #5592 )
2021-03-11 00:01:05 +02:00
Ruslan Kuprieiev
cf1070a531
dvc: bump to 2.0.5
2.0.5
2021-03-10 11:33:47 +02:00
Laurens Duijvesteijn
9f224ecde3
scm: add force parameter to checkout() ( #5582 )
...
The `GitPythonBackend.checkout()` method already implicitly supported
this by forwarding `**kwargs` to the backend. `pygit2` didn't support
this yet.
This patch fixes this inconsistency.
2021-03-10 14:42:48 +09:00
Ruslan Kuprieiev
8433b36266
dvc: bump to 2.0.4
2.0.4
2021-03-09 17:59:26 +02:00
Batuhan Taskaya
3e75fe99e3
gdrive: change the temporary directory location to .dvc/tmp ( #5583 )
2021-03-09 17:44:48 +02:00
Batuhan Taskaya
b221c16c89
pull: proper path join for partial pulls ( #5579 )
...
* pull: proper path join for partial pulls
* use os.path.join in the tests for windows
2021-03-09 15:36:44 +02:00
Dmitry Petrov
7ae2d37116
Add Barrak, Eghan & Adam citation ( #5573 )
2021-03-09 14:50:42 +02:00
Laurens Duijvesteijn
e0a0342ab3
fs: ssh: pass timeout to paramiko's connect() ( #5569 )
...
Prior to this commit, DVC could hang indefinitely when connecting to
remote SSH filesystems. This should address this.
2021-03-08 22:59:26 +02:00
Peter Rowlands (변기호)
d68f6d3696
pygit/dulwich: implement stash functionality ( #5286 )
...
* pygit2: disable set_ref with reflog message
* git: implement is_dirty in dulwich
* pygit2: implement _stash_apply
* pygit: update to 1.5.0
* enable set_ref(message=...) for pygit2
* git: replace backend reflog_delete in favor of _stash_drop
* pygit: support stash_push with custom refs
* update tests for backend stash_drop behavior
* pygit: raise MergeConflictError on failed stash apply
* pygit: reload index from disk before stash apply
* update stash_apply checkout strategy
* mark flaky test
2021-03-08 17:24:35 +02:00
Ruslan Kuprieiev
b4232bdc7c
state: use pickle v4 ( #5571 )
...
Kudos @skshetry for the discovery, research and fix.
Fixes #5563
2021-03-08 17:00:40 +02:00
Batuhan Taskaya
f7d8761734
gdrive: use the normal file backend for saved credentials ( #5554 )
...
* gdrive: sync with pydrive's save backend changes
* bump pydrive version
* better temporary credentials managements for service accounts
* proper temp var management
2021-03-08 16:30:05 +02:00
Ruslan Kuprieiev
70c445d1ee
utils: makedirs: ignore chmod errors ( #5570 )
...
Same as with `protect()`, these errors might happen if fs is immutable
or doesn't support chmod()-ing. We can safely ignore these.
Fixes #5552
2021-03-08 16:28:02 +02:00
Ruslan Kuprieiev
47bcb02ef1
fs: git: use pygit2 ( #5559 )
2021-03-06 02:54:13 +02:00
Ruslan Kuprieiev
4a75067f4c
github: template: use dvc doctor instead of dvc version
2021-03-05 16:08:46 +02:00
Ruslan Kuprieiev
70f4c44ec6
dvc: bump to 2.0.3
2.0.3
2021-03-05 13:08:22 +02:00
af37527560
setup: rename azure.indentity to azure-identity ( #5548 )
...
* simple like that
* Update dvc/version.py
Co-authored-by: Marc-Antoine Belanger <[email protected] >
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2021-03-05 01:43:32 +02:00
Ruslan Kuprieiev
71f8ffe13d
dvc: bump to 2.0.2
2.0.2
2021-03-05 01:04:00 +02:00
Ruslan Kuprieiev
06aad3e2b3
dependency: repo: try to fetch before staging ( #5549 )
...
Related to https://github.com/iterative/dvc-bench/issues/234
2021-03-05 01:03:33 +02:00
Peter Rowlands (변기호)
1e7df0c27e
dulwich: update to 0.20.20 ( #5545 )
2021-03-04 12:37:19 +02:00
Peter Rowlands (변기호)
ce2d7c65db
repro/exp run: use git status when reminding to git-track files ( #5544 )
...
* repro: skip DVC deps in SCM track stage
(DVC deps will be tracked when their own stage is repro'd)
* scm: use git status when reminding to git-track files
* sort names in reminder instead of random set order
* update unit test
2021-03-04 17:48:12 +09:00
Peter Rowlands (변기호)
2075a99233
exp diff: fix unresolved experiment names bug ( #5543 )
2021-03-04 15:39:21 +09:00
Ruslan Kuprieiev
98a1a92fa3
snap: debug failing tests
2021-03-03 23:11:19 +02:00
Ruslan Kuprieiev
16304b544f
dvc: bump to 2.0.1
2.0.1
2021-03-03 17:38:26 +02:00
Ruslan Kuprieiev
803a100f32
setup: move google-cloud-storage to test requirements ( #5540 )
2021-03-03 17:11:30 +02:00
Ruslan Kuprieiev
c3a0e8733e
dvc: bump to 2.0.0
2.0.0
2021-03-03 12:21:03 +02:00
Peter Rowlands (변기호)
1542025afa
exp: bash tab completion ( #5532 )
...
* exp list: add --names-only option
* completion: add exp name completion
* dvc exp: use exp name completion
* exp: fix bash completion
2021-03-03 15:46:11 +09:00
Batuhan Taskaya
8f6061f8cf
update: clear error message for updating repo imports ( #5520 )
2.0.0a4
2021-03-02 20:34:59 +02:00
Paweł Redzyński
4a8cb806d2
live integration: get rid of dvc from live ( #5466 )
...
* live integration: get rid of dvc from live
* live: remove from api, add test for html generation during run
* stage: run: convert monitors to class context managers
* run: make monitors run in single thread
* run: move monitor logic out of run
2021-03-03 00:45:35 +09:00
Ruslan Kuprieiev
e385e59a09
dvc: bump to 2.0.0a4
2021-03-02 13:54:16 +02:00
Batuhan Taskaya
2982e98c81
gs: Use rm() instead of delete() calls ( #5535 )
...
delete is a direct alias to rm(), though apparently it is kind of
broken on the latest release of gcsfs. This doesn't change any behavior
but only uses rm() directly instead of the given alias.
2021-03-02 13:53:44 +02:00
Batuhan Taskaya
3ebccda62c
gs: use etag for the checksum parameter ( #5534 )
...
Switch from `md5` to `etag` as the checksum parameter. Due to `etag`
is not preserved while doing server side copies, this patch drops support
for external gs outputs.
2021-03-02 12:43:27 +02:00
Ruslan Kuprieiev
96092e5e27
dvc: bump to 2.0.0a3
2.0.0a3
2021-03-01 18:20:35 +02:00
Batuhan Taskaya
b65dfe04f9
gs: Migrate Google Storage to FSSpec ( #5526 )
...
* azure: generalize fsspec functionality into FSSpecWrapper
* gs: migrate google storage to fsspec
* tests: disable empty_dir tests
* setup: add gcsfs to requirements
* gs: decode md5Hash into md5
* gs: speed up downloads via increasing chunk size
2021-03-01 17:15:31 +02:00
Paweł Redzyński
92b95bae9b
plots: ignore binary plot files ( #5523 )
2021-03-01 15:00:42 +02:00
Ruslan Kuprieiev
f2e0059392
dvc: bump to 2.0.0a2
2.0.0a2
2021-02-26 13:35:28 +02:00
Batuhan Taskaya
a22101e0a6
azure: add account key to the config schema ( #5522 )
2021-02-25 19:53:47 +02:00