Commit Graph
3040 Commits
Author SHA1 Message Date
Ruslan Kuprieiev 8ef9133194 remote: use RemoteConfig class
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-06 16:00:44 +03:00
Ruslan Kuprieiev f69836c2b3 tests: remove fixme msg
https://github.com/iterative/dvc/issues/2086

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-06 14:41:02 +03:00
Ruslan Kuprieiev 9e9e078de3 config: move logic from CLI to API
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-06 14:41:02 +03:00
Ruslan Kuprieiev f41dcea248 tests: don't use var before assignment
```
repo_dir = <tests.basic_env.TestDirFixture object at 0x7f36c3f3d650>                  
git = <git.Repo "/tmp/dvc-test.2894.0LMoaT.eefefa48-172d-44e4-8c3d-4f65f76c78ee/.git">
                                                                                      
    @pytest.fixture                                                                   
    def dvc_repo(repo_dir, git):                                                      
        try:                                                                          
            dvc = DvcRepo.init(repo_dir._root_dir)                                    
            dvc.scm.commit("init dvc")                                                
            yield dvc                                                                 
        finally:                                                                      
>           dvc.scm.git.close()                                                       
E           UnboundLocalError: local variable 'dvc' referenced before assignment      
                                                                                      
/home/efiop/git/dvc/tests/conftest.py:76: UnboundLocalError                           
```
2019-06-06 13:44:13 +03:00
Ivan Shcheklein 67e6dc253a Update README.rst 2019-06-03 12:17:48 -07:00
Ruslan Kuprieiev 6e707277d6 Merge pull request #2082 from ei-grad/fix-pytest46-caplog
tests: fix for pytest>=4.6.0 caplog
2019-06-03 04:57:07 +03:00
Andrew Grigorev 5fce9a01e4 tests: fix for pytest>=4.6.0 caplog 2019-06-02 15:41:21 +03:00
Ruslan Kuprieiev 07e07489d0 Merge pull request #2084 from efiop/hdfs
Revert "tests: test hdfs on cron and releases"
2019-06-02 15:25:44 +03:00
Ruslan Kuprieiev 0242976734 Merge pull request #2081 from ei-grad/appveyor-all-branches
ci: don't limit appveyor to master and devel
2019-06-02 15:13:51 +03:00
Ruslan Kuprieiev 122b94129f Revert "tests: test hdfs on cron and releases"
This reverts commit 76c4755865.
2019-06-02 15:07:36 +03:00
Ruslan Kuprieiev 202c951b68 Merge pull request #2083 from efiop/hdfs
tests: test hdfs on cron and releases
2019-06-02 14:56:27 +03:00
Ruslan Kuprieiev 76c4755865 tests: test hdfs on cron and releases
Related to
https://github.com/iterative/dvc/issues/1629#issuecomment-498023424

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-02 14:44:56 +03:00
Ruslan Kuprieiev 616d79f2d8 tests: freeze pytest version 2019-06-02 13:59:20 +03:00
Andrew Grigorev a76b0acaed ci: don't limit appveyor to master and devel 2019-06-02 13:34:06 +03:00
Ivan Shcheklein 9a5a01b2b1 enable deepsource analyzer 2019-06-01 17:52:45 -07:00
Kurian Benoy c8b2c10d7f scripts:add description for debian package (#2025)
* scripts:add description for debian package

* add DESC variable to build_posix

* Fix typos
2019-06-01 20:35:47 +03:00
Aman Sharma 688bcaa0e3 Add info for link type and filesystem name (#1997)
* Add info for link and filesystem type

* Remove unnecessary `repo_dir` fixture

* Add cache info

* Classify `test_version.py` as functional test

* Remove redundancy

* Optimize some functions involved

* Add pathlib2 to install_requires

* Display fs type for cache directory

* Use `dvc.utils.compat` to import Path

* Remove redundancy in tests and make logs more descriptive
2019-06-01 14:40:59 +03:00
Ruslan Kuprieiev 0935cfae2a tests: show how long tests took 2019-05-31 11:19:18 +03:00
Ruslan Kuprieiev f6a0a45fa4 Merge pull request #2077 from ricardoserradas/riserrad/comma-to-message
Adding a comma to the message to improve understanding
2019-05-31 08:57:13 +03:00
Ricardo Serradas e93534abc1 Adding a comma to the message to improve understanding 2019-05-30 14:21:10 -07:00
Ruslan Kuprieiev ea54a2b2b4 appveyor: don't install git with cinst 2019-05-30 21:47:47 +03:00
Ruslan Kuprieiev fede39452b appveyor: fix typo 2019-05-30 21:46:23 +03:00
Ruslan Kuprieiev 01b8e55259 appveyor: install git 2019-05-30 21:45:02 +03:00
Ruslan Kuprieiev 677a52b830 appveyor: use quotes 2019-05-30 21:42:07 +03:00
Ruslan Kuprieiev c7b7fba3a2 appveyor: fix typo 2019-05-30 21:38:43 +03:00
Ruslan Kuprieiev dba34ec3f1 appveyor: don't forget to modify PATH for custom python
Related to https://github.com/iterative/dvc/issues/2061
2019-05-30 21:10:28 +03:00
Ruslan Kuprieiev 556b33ba28 Merge pull request #2074 from ei-grad/no-pool-for-single-thread
remote: don't use threadpool for single thread
2019-05-30 19:07:32 +03:00
Andrew Grigorev a1d3013596 remote: don't use threadpool for single thread 2019-05-30 18:27:00 +03:00
Jorge Orpinel 8df0712b06 update zsh autocomplete script with current command help messages + (#2064)
* dvc: fixes dvc.scm.Git.get_diff_trees docstring imprecision.

Parentheses were used in the "Returns:" description but its a dict, so changed to curly brackets;
and specified the 2 possible forms of the return structure.

* dvc: updates zsh autocomplete script with current command help messages.

Comparing vs actually running each command's `-h` help output.

* dvc: begins updating bask autocomplete script...

Only reorders existing commands and adds comments for those missing.

* scripts: removes temporary comments in bash autocomplete script.

Per https://github.com/iterative/dvc/pull/2064#pullrequestreview-243578115

Related to #2069
2019-05-30 05:57:30 +03:00
Ruslan Kuprieiev ca63d729e9 Merge pull request #2072 from pared/optimize_mtime_and_size
make get_mtime_and_size use single stat call for files
2019-05-30 03:21:11 +03:00
Ruslan Kuprieiev bae3134d15 Merge pull request #2071 from mroutis/progress-be-quiet
progress: bug fix with --quiet
2019-05-30 03:20:59 +03:00
pawel 012e045837 make get_mtime_and_size use single stat call for files 2019-05-29 16:47:13 -07:00
Mr. Outis e3b3f3f371 progress: bug fix with --quiet
Related to #1377
2019-05-29 16:45:10 -07:00
Ruslan Kuprieiev b2b92879c4 appveyor: use our own fork of oss-emulator 2019-05-30 02:25:22 +03:00
Ruslan Kuprieiev a5922ccec1 version: fix typo 0.41.3 2019-05-29 13:44:58 +03:00
Ruslan Kuprieiev fb0072d790 dvc: bump to 0.41.3 2019-05-29 13:39:24 +03:00
Ruslan Kuprieiev ab17abdde9 travis: skip remove verification when testing version 2019-05-29 13:38:36 +03:00
Ruslan Kuprieiev 45f2a2897a dvc: bump to 0.41.2 0.41.2 2019-05-29 13:12:40 +03:00
Ruslan Kuprieiev 360e295f9f Merge pull request #2068 from efiop/2066
remote: support remote:// notation for push/pull/gc
2019-05-29 13:10:43 +03:00
Ruslan Kuprieiev 31848d5c7f remote: support remote:// notation for push/pull/gc
Fixes #2066

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-05-29 12:54:31 +03:00
Ruslan Kuprieiev 1bf8ad1d3d dvc: bump to 0.41.1 0.41.1 2019-05-29 10:54:48 +03:00
Aman Sharma 55ad81bf9d Coalesce requirements.txt into setup.py (#2017)
* Coalesce `requirements.txt` and `tests/requirements.txt` into `setup.py`

* Remove requirements for tests

* Parse tests requirements in setup.py

* Append extra dependenices in test_requirements in setup.py

* Modify CI build to pass the tests

* Correctly install black requirements

* Install all requirements to pass the tests
2019-05-29 10:23:01 +03:00
Ruslan Kuprieiev 500a26ebd6 Merge pull request #2062 from Witiko/support-relinks
remote: local: try to reflink before copying
2019-05-29 03:57:39 +03:00
Vít Novotný e2567bb3f9 remote: local: try to reflink before copying
Fixes #2057
2019-05-29 02:34:02 +02:00
Ruslan Kuprieiev 5941012a19 dvc: bump to 0.41.0 0.41.0 2019-05-29 00:00:27 +03:00
Ruslan Kuprieiev 434f3a641c Merge pull request #2060 from pared/rollback_1526
remote: local: roll back cache dir metadata storing
2019-05-28 23:54:43 +03:00
pawel fae55c2ba2 remote: local: roll back cache dir metadata storing 2019-05-28 13:39:48 -07:00
Ruslan Kuprieiev 29fd8e2e41 Merge pull request #2030 from prihoda/recursive-repro
Add repro -R, support dirs & stage files when running pull/push/repro…
2019-05-27 23:09:02 +03:00
Ruslan Kuprieiev 9e0e09243e Merge pull request #2053 from Suor/test-remotes
Add initial get_url()/open() api implementation
2019-05-27 18:17:08 +03:00
David Příhoda d072c2bd79 Fix after renaming dvc fixture to dvc_repo. 2019-05-27 14:14:44 +02:00