Aman Sharma
74850fe728
Move walk_files to fs.py
2020-01-09 14:55:49 +05:30
Aman Sharma
a79816920d
Move copyfile to fs.py
2020-01-09 04:57:53 +05:30
Aman Sharma
eca5d2dde4
Move makedirs to fs.py
2020-01-09 04:30:51 +05:30
Aman Sharma
13ca5bdf28
Write test for walk_files to check if it accepts Path-like and str objects
2020-01-07 05:50:48 +05:30
Aman Sharma
f08c90fc6e
Ensure relpath accepts str and Path-like objects
2020-01-02 02:17:02 +05:30
Aman Sharma
3edad21b41
Write test for tmp_fname to check if it accepts Path-like and str objects
2019-11-18 11:49:40 +05:30
Aman Sharma
d9cd9ece8b
Move _chmod to fs.py
2019-11-16 00:44:20 +05:30
Aman Sharma
636d850c84
Ensure remove accepts str and Path-like objects
2019-11-15 01:54:40 +05:30
Aman Sharma
13ddcd4b2f
Rephrase error message
2019-11-14 09:21:35 +05:30
Aman Sharma
1ca054c2fb
Move error message to a constant
2019-11-13 23:55:39 +05:30
Aman Sharma
f6a6d2eef9
Remove unreachable except block
2019-11-13 23:55:39 +05:30
Aman Sharma
7f12ef8539
Improve error message when LockError is raised
2019-11-13 23:55:39 +05:30
Aman Sharma
9427bbe8d0
Move move to filesystem utility
2019-11-09 23:57:57 +05:30
Aman Sharma
44268251b4
Ensure move accepts str and Path-like objects
2019-11-09 18:47:01 +05:30
Aman Sharma
204cfcb879
Ensure makedirs accepts str and Path-like objects
2019-11-08 20:37:32 +05:30
Aman Sharma
d4aa27d6ab
Ensure copyfile accepts str and Path-like objects
2019-11-08 01:51:49 +05:30
Aman Sharma
34a868b420
Ensure file_md5 accept str and Path-like objects
2019-11-06 09:25:35 +05:30
Aman Sharma
8491ddf43f
Remove get_parent_dirs_up_to
2019-11-06 02:03:47 +05:30
Aman Sharma
f642ff76a5
Ensure contains_symlink_up_to accept both str and Path-like objects
2019-11-06 00:24:10 +05:30
Aman Sharma
cffc9c8ed9
Remove unnecessary wrapping of path
2019-11-03 02:38:50 +05:30
Aman Sharma
d454cb8637
Modify test to check for directory as well
2019-11-03 02:23:46 +05:30
Aman Sharma
f4f9f3aac1
Replace path with path_info
2019-11-02 01:15:17 +05:30
Aman Sharma
b9a17752e3
Test acceptable path types of get_mtime_and_size
2019-10-31 00:30:54 +05:30
Aman Sharma
5f644745c7
Write test for get_inode ( #2673 )
2019-10-28 16:43:47 +02:00
Aman Sharma
9358a1bcc2
Reduce verbosity of dvc add
2019-10-14 13:56:06 +05:30
Aman Sharma
ed89725c98
Replace hyphen with underscore for command auto-completion ( #2596 )
...
* Replace hyphen with underscore for bash auto-completion
* Write function to replace hyphen and check for flags
* Nest function inside `_dvc`
2019-10-12 00:35:52 +03:00
Aman Sharma
11bafe4b7d
Check whether package is installed from source or binary
2019-06-13 10:38:37 +05:30
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
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
Aman Sharma
8b3445f955
Move CONTRIBUTING.md to .github/
2019-05-12 02:33:27 +05:30
Aman Sharma
b3165a224e
Update version help
2019-05-11 10:02:39 +05:30
Aman Sharma
46325808b8
Change regex pattern and move test under unit/command
2019-05-11 18:29:03 +05:30
Aman Sharma
bf9ca598c0
Pass codeclimate test
2019-05-10 19:45:17 +05:30
Aman Sharma
db07f3a08d
Modify tests to use pytest fixture
2019-05-10 13:00:42 +05:30
Aman Sharma
21388952e9
Write tests for dvc version
2019-05-10 09:31:30 +05:30
Aman Sharma
9e8ad95e6d
Change import of DVC version
2019-05-10 09:30:09 +05:30
Aman Sharma
7540fd7b48
Add dvc version command
2019-05-10 09:30:09 +05:30