Mr. Outis
ebd5a5a7f3
diff: address comments from review
...
* OSError -> FileNotFoundError
* Make `a_ref` optional
* Use absolute imports for unrelated packages
* Relpath: `str(output.path_info)` -> `str(output)`
* `a_ref` defaults to `HEAD` at the signature and parser level
2020-01-24 10:05:44 -06:00
Mr. Outis
198bf55aaf
diff: reimplement interface and tests from scratch
2020-01-24 00:56:05 -06:00
Ruslan Kuprieiev
1bc39e7e99
dvc: bump to 0.82.2
0.82.2
2020-01-23 16:36:42 +02:00
Ruslan Kuprieiev
4f61932c71
Merge pull request #3224 from pared/fix_import_url_test
...
import-url: test: prevent in-repo testing
2020-01-23 15:59:20 +02:00
Paweł Redzyński
48f8f2402a
import-url: test: prevent in-repo testing
2020-01-23 12:40:21 +01:00
Ruslan Kuprieiev
bbb3a831b5
Merge pull request #3216 from MaxRis/3157
...
Update Google Project credentials to run tests
2020-01-23 13:25:25 +02:00
Ruslan Kuprieiev
1a7eb8fdec
Merge pull request #3222 from skshetry/fallback-external-repo
...
api: fallback to external_repo if not a DVC repository
2020-01-23 13:24:33 +02:00
Ruslan Kuprieiev
a0419173ba
Merge pull request #3088 from efiop/3080
...
dvc: add sanity checks for hard/symlinks
2020-01-23 11:48:19 +02:00
Saugat Pachhai
2e0b143856
api: use current directory for repo if not specified
2020-01-23 15:28:22 +05:45
Saugat Pachhai
003b5c392a
api: fallback to external_repo on error
2020-01-23 14:44:38 +05:45
Ruslan Kuprieiev
49039968f7
Merge pull request #3208 from fabiosantoscode/feature/3198-remove-spy-method
...
tests: replace spy() with pytest-mock spy
2020-01-23 10:52:43 +02:00
Ruslan Kuprieiev
ad6e58a457
Merge pull request #3223 from efiop/3107
...
hooks: checkout: fix incorrect dvc repo detection
2020-01-23 10:41:27 +02:00
Ruslan Kuprieiev
f6f931be87
hooks: checkout: fix incorrect dvc repo detection
...
When running from non-root directory `git ls-files .dvc` will treat it
as a relative path to the current location, so if you run `git checkout`
from a directory that is not a git/dvc root, our hook will think that
it is being run in a non-dvc repo and will do nothing. To fix that, need
to use `--full-name` flag.
2020-01-23 10:21:26 +02:00
Ruslan Kuprieiev
da6399dc3c
Merge pull request #3220 from jorgeorpinel/master
...
get: copy edits aroud --show-url, "dvc", et al.
2020-01-23 09:14:00 +02:00
Jorge Orpinel
69c1aa5bbf
dvc: revert capitalization of logger.exception strings
...
per https://github.com/iterative/dvc/pull/3220#pullrequestreview-347083819
2020-01-23 00:50:24 -06:00
Jorge Orpinel
6364c9ee62
get: refine --show-url description
...
per https://github.com/iterative/dvc/pull/3220#pullrequestreview-347038086
2020-01-23 00:39:10 -06:00
Jorge Orpinel
d06bd6abd8
tests: match recent commits and
...
other misc. language improvements
2020-01-23 00:35:15 -06:00
Jorge Orpinel
ec0c39a28e
term: review capitalization and backquotes around "dvc"
...
rel: https://github.com/iterative/dvc/pull/3156#discussion_r369897073
2020-01-22 20:27:01 -06:00
Jorge Orpinel
ee0193ccd3
get: rewrite --show-url description
...
per https://github.com/iterative/dvc.org/pull/936#discussion_r368680473
2020-01-22 20:12:19 -06:00
Jorge Orpinel
ae3455141c
get: language feedback on --show-url PR
...
per https://github.com/iterative/dvc/pull/3156#pullrequestreview-345562608
2020-01-22 19:47:57 -06:00
Ruslan Kuprieiev
e9caa44b55
Merge pull request #3214 from jorgeorpinel/master
...
get/imp: update help output descriptions
2020-01-22 23:03:07 +02:00
Max Risuhin
cb38b1a0f1
Update Google Project credentials to run tests
2020-01-22 12:19:21 -08:00
Ruslan Kuprieiev
000c524983
Merge pull request #3212 from casperdcl/snap-deploy
...
another attempt at travis dpl snap
2020-01-22 21:01:56 +02:00
Jorge Orpinel
6e61236fb7
get/imp: update help output descriptions
...
per https://github.com/iterative/dvc/issues/3196#issuecomment-577306219
2020-01-22 12:00:06 -06:00
Fábio Santos
fc92266114
address comments
2020-01-22 17:31:46 +00:00
Ruslan Kuprieiev
d863c46859
dvc: add sanity checks for hard/symlinks
...
Fixed #3080
2020-01-22 18:47:37 +02:00
Casper da Costa-Luis
66ad722964
Revert "debugging (to revert)"
...
This reverts commit 555258c75d .
2020-01-22 16:28:43 +00:00
Casper da Costa-Luis
7526eb1a2f
fix before_install checks
2020-01-22 16:08:24 +00:00
Casper da Costa-Luis
f02c804cad
tidy up
2020-01-22 16:04:42 +00:00
Casper da Costa-Luis
a4a31b3113
fix missing env vars
2020-01-22 16:00:48 +00:00
Casper da Costa-Luis
555258c75d
debugging (to revert)
2020-01-22 15:52:33 +00:00
Casper da Costa-Luis
ba2c84bade
attempt to fix travis snap dpl
2020-01-22 15:23:57 +00:00
Fábio Santos
e41aa00c20
convert tests to pytest function tests
2020-01-22 14:04:52 +00:00
Ruslan Kuprieiev
b99c5e4aad
Merge pull request #3211 from skshetry/fix-brancher-noscm
...
brancher: do not get tree if there's no revs
2020-01-22 14:09:53 +02:00
Saugat Pachhai
5f8b1f7f80
brancher: do not get tree if there's no revs
2020-01-22 17:22:54 +05:45
Ruslan Kuprieiev
d2d887bb50
Merge pull request #3200 from pared/2676_trust_checksum
...
fetch: trust remote checksums
2020-01-22 12:36:29 +02:00
Paweł Redzyński
482dfaf998
data cloud: refactor verify checksums test
2020-01-22 10:54:07 +01:00
pawel
e36cc8c9d2
data cloud: add explanaiton to pulled checksums save
2020-01-22 10:54:07 +01:00
pawel
a148d16a95
data cloud: verify is config option now
2020-01-22 10:54:07 +01:00
pawel
f4e0079ec1
data sync: add command unit test
2020-01-22 10:54:07 +01:00
pawel
b451de5496
remote: tests: refactor verify test
2020-01-22 10:54:07 +01:00
pawel
ef1b06ddf9
test_remote: use mocker.spy instead of spy
2020-01-22 10:54:07 +01:00
pawel
0b1d1f5ce4
data cloud: pull: trust remotes md5 on proper flag
2020-01-22 10:54:07 +01:00
Ruslan Kuprieiev
d942542c84
tests: fix index.remove misuse
2020-01-22 10:53:48 +02:00
Ruslan Kuprieiev
a99fa4e4e5
Merge pull request #3209 from casperdcl/snap-deploy
...
fix snap stable & edge release errors
2020-01-22 08:26:02 +02:00
Casper da Costa-Luis
a6d55e3252
ensure correct snap version dirtyness
2020-01-21 22:38:09 +00:00
Casper da Costa-Luis
8a560ecaba
pin snap version to base version
2020-01-21 22:31:40 +00:00
Fábio Santos
bdf665a34a
don't use patch.object()
2020-01-21 20:52:48 +00:00
Casper da Costa-Luis
c13b24fb40
fix master/edge release provider argument conflicts
2020-01-21 19:50:22 +00:00
Ruslan Kuprieiev
aa86eab2cc
Merge pull request #3206 from Suor/tests
...
test: add git_dir
2020-01-21 20:19:35 +02:00