Commit Graph
2822 Commits
Author SHA1 Message Date
Ivan Shcheklein 0180e7c95b readme: new logo header 2019-04-16 16:57:30 -07:00
Ruslan Kuprieiev 6f11f1f51f test: move func tests to tests/func
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-16 20:19:22 +03:00
Yao Adzaku 6c730dd5cb pipeline: print locked DVC stages (#1882)
* pipeline: add option to display locked DVC stages.

The '--locked' option xplicitly displays only locked DVC stages.

Fixes #1864

* pipeline: support short option '-l' for displaying locked stages

* pipeline: minor cosmetic tweak

* pipeline: reformat code with black

* pipeline: test printing of locked stages

* pipeline: use caplog to ensure command outputs everything as expected

* pipeline: cleanup test

* pipeline: more strict comparison of test output
2019-04-16 16:46:50 +03:00
Paulo Olveira 75b4d0e483 s3: fix for corrupted cache on multipart uploads (#1867)
* s3: fixed wrong etag when copying multipart objects

The etag of multipart objects depends of the number of parts, when copying to the cache we should do so in the same number of parts that the original object was moved/uploaded in.

Fixes part of #1410

* s3: added check on copy for equal etag

* s3: added specific exception for ETag mismatch

* s3: use multipart copy to preserve etags

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: add tests for etag preservation on s3

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: requirements: use dev version moto

Specifically because of this https://github.com/spulec/moto/issues/1941

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: requirements: install dev moto without -e

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: stop using moto

Turned out to be quite buggy.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-15 21:03:22 +03:00
Ruslan Kuprieiev ec9e2c63f2 Update PULL_REQUEST_TEMPLATE.md 2019-04-15 20:59:23 +03:00
Ruslan Kuprieiev dee04ad647 Create PULL_REQUEST_TEMPLATE.md 2019-04-15 20:24:35 +03:00
Ruslan Kuprieiev 30235b3d45 Delete pull_request_template.md 2019-04-15 20:23:41 +03:00
Ruslan Kuprieiev 64e481ec48 github: add PR template with a small checklist 2019-04-15 20:18:04 +03:00
Ruslan Kuprieiev a74e4226a1 Merge pull request #1820 from pared/1499
ignore: introduce .dvcignore
2019-04-15 17:43:21 +03:00
Ruslan Kuprieiev bcd9373ebc Merge pull request #1841 from pared/1257
cache: maker reflink, copy, default links
2019-04-15 17:42:59 +03:00
pared c467ccebcb ignore: introduce .dvcignore, apply when searching for stage files 2019-04-15 14:31:34 +02:00
Ruslan Kuprieiev f20818cd73 Merge pull request #1886 from pared/fix_file_naming_add
add: dont use 'file' as var name during iteration
2019-04-15 14:34:36 +03:00
pared 35360cfecd add: dont use 'file' as var name during iteration 2019-04-15 13:25:06 +02:00
pared 074b6eaa9e test: move corrupted hardlink cache test test_repro -> test_run 2019-04-15 12:55:50 +02:00
pared 9049475412 test_repro: make cache use hardlink 2019-04-15 11:27:44 +02:00
pared e505c38f20 cache: make reflink, copy default links 2019-04-15 11:27:44 +02:00
Ruslan Kuprieiev 8f27c14a8c Merge pull request #1881 from shcheklein/m
diff: cli: add documentation link
2019-04-13 05:07:39 +03:00
Ivan Shcheklein 7785e48d67 diff: cli: add documentation link 2019-04-12 17:37:12 -07:00
Ruslan Kuprieiev c5cb02012f Merge pull request #1879 from maggyero/patch-1
Update README.rst
2019-04-12 18:55:11 +03:00
Géry Ogam a09863afbe Update README.rst 2019-04-12 17:44:03 +02:00
Ruslan Kuprieiev 700199edc0 Merge pull request #1875 from mroutis/try-to-fix-logger-test
tests: be paranoic with caplog
2019-04-12 14:07:47 +03:00
Mr. Outis 1cac81430e tests: be paranoic with caplog 2019-04-11 14:09:02 -05:00
Ruslan Kuprieiev e4290a72e5 dvc: bump to 0.35.7 0.35.7 2019-04-11 18:12:13 +03:00
Ruslan Kuprieiev 7fa869a7f8 Merge pull request #1872 from mroutis/fix-1853
dvc: deprecate --remove-outs
2019-04-11 07:01:22 +03:00
Mr. Outis f417f49c6e dvc: deprecate --remove-outs
Close #1853
2019-04-10 18:58:32 -05:00
Ruslan Kuprieiev d5a3e5db1a Merge pull request #1870 from mroutis/fix-1869
logger: use exception instead of error
2019-04-11 00:35:50 +03:00
Mr. Outis 059aef3ef0 logger: use exception instead of error
The problem was happening because `logger.error` doesn't include any
`exc_info`, and the `parse_exc` logic was previously to rely on the log
record's `exc_info` instead of the global stack trace.

There's still use cases when you want to just `log` an error without
printing the stack trace, those are left untouched.
You can search for them with: `grep -R 'logger.error' dvc/`

---

Fix #1869
2019-04-10 16:26:14 -05:00
Ruslan Kuprieiev 50a8ad5ac3 Merge pull request #1865 from mroutis/expect-dirtyness
version: show when the release version is dirty
2019-04-10 22:09:14 +03:00
Mr. Outis 75e16cdc09 version: show when the release version is dirty
- Silent stderr when calling `git describe` (fix #1866)
2019-04-10 13:14:23 -05:00
Ruslan Kuprieiev c7d0ffc9a4 Merge pull request #1860 from jorgeorpinel/master
Small `dvc diff` command help output changes.
2019-04-10 10:50:08 +03:00
Jorge Orpinel a8e1676400 'till'=>'until' in b_ref arg. help text 2019-04-09 19:40:26 -07:00
Jorge Orpinel fe44062381 Adds space after period. (See previous commit.) 2019-04-09 19:37:19 -07:00
Jorge Orpinel 970828693f Changes ',' for '.' in -t help text. 2019-04-09 19:35:58 -07:00
Ruslan Kuprieiev 5f9c3b695f dvc: bump to 0.35.6 0.35.6 2019-04-09 23:28:01 +03:00
Ruslan Kuprieiev 2d41ca544e Merge pull request #1859 from mroutis/fix-1858
logger: don not log without a message
2019-04-09 23:27:00 +03:00
Mr. Outis a90a3beba0 logger: don not log without a message
Close #1858
2019-04-09 14:59:10 -05:00
Ruslan Kuprieiev 54072d70b5 dvc: bump to 0.35.5 0.35.5 2019-04-09 16:49:14 +03:00
Ruslan Kuprieiev f97727c785 travis: osx: don't install header package 2019-04-09 16:46:33 +03:00
Ruslan Kuprieiev 4953110feb Merge pull request #1855 from mroutis/fix-1614
config: allow cross-referenced remotes
2019-04-09 15:19:41 +03:00
Ruslan Kuprieiev 212f9b7dd4 dvc: bump to 0.35.4 0.35.4 2019-04-09 15:01:35 +03:00
Paweł Redzyński c15fb975b3 Merge pull request #1857 from efiop/1856
checkout/remove: properly handle broken symlinks
2019-04-09 13:52:59 +02:00
Ruslan Kuprieiev 2460dc255e repo: scm_context: re-raise error directly
This way we preserve original traceback.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-09 14:09:54 +03:00
Ruslan Kuprieiev 56b52cc9bf checkout/remove: properly handle broken symlinks
Fixes #1856

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-09 14:09:54 +03:00
Ruslan Kuprieiev 458613b797 travis: osx: debug openssl issue 2019-04-09 09:35:00 +03:00
Mr. Outis d355b1e66e config: allow cross-referenced remotes
Close #1614
2019-04-08 22:10:03 -05:00
Ruslan Kuprieiev 441e4f4745 dvc: bump to 0.35.3 0.35.3 2019-04-08 15:46:31 +03:00
Ruslan Kuprieiev b8e97f5d07 travis: fix xcode version typo 2019-04-08 13:37:53 +03:00
Ruslan Kuprieiev a7d44c7dc3 dvc: bump to 0.35.2 2019-04-08 03:17:08 +03:00
Ruslan Kuprieiev fafad73602 daemon: don't forget to convert to bytes on py2 2019-04-08 03:07:33 +03:00
Ruslan Kuprieiev 3d24bd665c dvc: bump to 0.35.1 2019-04-08 02:43:28 +03:00