2789 Commits
Author SHA1 Message Date
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
Ruslan Kuprieiev 1ef06cd056 Merge pull request #1850 from mroutis/version-refactor
version: privatize version.py methods and vars
2019-04-08 01:15:04 +03:00
Mr. Outis 727bfd955e version: privatize version.py methods and vars 2019-04-07 16:48:34 -05:00
Ruslan Kuprieiev c3b69175e8 Merge pull request #1849 from efiop/version
Version generation improvements
2019-04-07 23:51:33 +03:00
Ruslan Kuprieiev 54f7b43aac dvc: version: detect release
See failed release at [1]. Previously we used to look at TRAVIS_TAG env
var, but now we will try to detect release by matching current tag with
base version.

[1] https://travis-ci.com/iterative/dvc/builds/107365596

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-07 22:55:20 +03:00
Ruslan Kuprieiev 1b6f51cafc version: unused pkg_dir argument
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-07 22:45:27 +03:00
Ruslan Kuprieiev 8b22dcc144 Merge pull request #1848 from efiop/1803
daemon: don't spawn recursively
2019-04-07 21:53:42 +03:00
Ruslan Kuprieiev 7c540da5c4 daemon: don't spawn recursively
Fixes #1803

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-07 20:12:23 +03:00
Ruslan Kuprieiev 0ae525a181 Merge pull request #1847 from hugovk/rm-3.4
Drop support for EOL Python 3.4
2019-04-07 18:51:50 +03:00
Ruslan Kuprieiev 0a837eadfc Merge pull request #1822 from mroutis/pythonic-logger
logger: Use a more _pythonic_ logging
2019-04-07 18:22:31 +03:00
Ruslan Kuprieiev 59b7ab5bce dvc: bump to 0.35.0 2019-04-07 17:49:11 +03:00
Hugo c6d277ecdc Drop support for EOL Python 3.4 2019-04-07 17:41:44 +03:00
Ruslan Kuprieiev 46ddf3abe0 Merge pull request #1845 from hugovk/python_requires
Add python_requires and version classifiers
2019-04-07 17:33:05 +03:00
Hugo 4e43d65b84 Add explicit version classifiers 2019-04-07 17:05:38 +03:00
Hugo 354712e4a4 Add python_requires to help pip 2019-04-07 17:05:18 +03:00
Ruslan Kuprieiev 8c84103ff1 Merge pull request #1844 from rpip/patch-1
Fix typo
2019-04-07 14:27:08 +03:00
Yao Adzaku 3f9260b028 Fix typo 2019-04-07 11:19:37 +00:00
Mr. Outis 921b39dbfe tests: use pytest caplog instead of custom mock
Close #1753
2019-04-06 20:35:30 -06:00
Mr. Outis 85cd344152 logger: Use a more _pythonic_ logging
- Uses a formatter for coloring output
- Move the `progress_aware` decorator logic to the logger itself
- Refactor modules so each one uses their own instance of a logger

Close #1753
2019-04-06 18:19:32 -06:00
Ruslan Kuprieiev 6124a23138 Merge pull request #1831 from mroutis/fix-1824
dvc: refactor package versioning logic
2019-04-07 03:16:39 +03:00
Mr. Outis b4d0d37ac8 dvc: refactor package versioning logic
- Use `version.py` to compute a dynamic version stored in `__version__`.
  Version information was scattered across the source code
  (`VERSION_BASE`, `VERSION`, `__version__`, and `version.py`).

- Read `__version__` from `setup.py` and **pin** it using custom
  `build_py` command class.
  This way, we can maintain consistancy between the build version
  and the runtime one.
  Also, this gives us the ability to run `setup.py` without depending on
  on `dvc` itself.

Close #1824
2019-04-06 18:06:11 -06:00
Ruslan Kuprieiev 2aeb477c35 Merge pull request #1842 from efiop/1835
pkg: import git dynamically
2019-04-07 01:10:36 +03:00
Ruslan Kuprieiev e4ab3773dd pkg: move temp_git_repo to scm/git
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-06 23:29:18 +03:00
Ruslan Kuprieiev 5c008cfcb5 pkg: import git dynamically
This allows dvc to work even if there is no git present, as long as user
is not using `dvc pkg` command directly.

Fixes #1835

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-06 23:29:18 +03:00
Ruslan Kuprieiev 6105e5ead6 pkg: hide from help 2019-04-06 12:09:11 +03:00
Ruslan Kuprieiev 77eab3f1cf Merge pull request #1837 from efiop/is_local
add: check if output is local when generating stage name
2019-04-06 03:35:25 +03:00
Ruslan Kuprieiev 8ef5976ac8 add: check if output is local when generating stage name
When adding a remote file with

```
$ dvc add s3://bucket/path
```

it results in

```
Error: failed to add file - is local is not supported for s3
```

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-06 03:25:53 +03:00
Ruslan Kuprieiev 291fa05955 Merge pull request #1778 from django-kz/master
dvc: add support for dvc diff command
2019-04-05 13:48:12 +03:00
Zhanibek 505b76a2b8 repo: refactoring of dvc/repo/diff.py 2019-04-05 15:02:28 +06:00
Zhanibek a5c04e9296 command: refactoring of _show function in diff.py 2019-04-05 15:02:28 +06:00
Zhanibek fe043ce3a6 repo: refactoring of _get_diff_outs funciton 2019-04-05 15:02:28 +06:00
Zhanibek 585babb636 dvc: some refactoring of code 2019-04-05 15:02:28 +06:00
Zhanibek ca2f4c50ca repo: add checker for out.cheme != "local" case for dvc diff 2019-04-05 15:02:28 +06:00
Zhanibek fcca6aebe8 tests: add tests for CLI message output 2019-04-05 15:02:28 +06:00