Commit Graph

40 Commits

Author SHA1 Message Date
svlandeg 1ae6fa2554 move subcommand one place up as project_dir has default 2020-06-30 16:04:53 +02:00
svlandeg a46b76f188 use current working dir as default throughout 2020-06-30 15:39:24 +02:00
svlandeg b228111925 fix funny printing 2020-06-30 14:54:45 +02:00
Ines Montani 8e20505970 Resolve within working_dir context manager 2020-06-30 13:29:45 +02:00
Ines Montani 72175b5c60 Update project command 2020-06-30 13:17:26 +02:00
svlandeg 140c4896a0 split_command util function 2020-06-30 12:54:15 +02:00
svlandeg d23be563eb remove redundant setting of no_args_is_help 2020-06-30 11:23:35 +02:00
svlandeg b311ce982f Merge remote-tracking branch 'upstream/develop' into fix/small-edits
# Conflicts:
#	spacy/cli/project.py
2020-06-30 11:17:31 +02:00
svlandeg 7e4cbda89a fix project_init for relative path 2020-06-30 11:09:53 +02:00
Ines Montani e8033df81e Also handle python3 and pip3 2020-06-29 20:30:42 +02:00
Ines Montani c874dde66c Show help on "spacy project" 2020-06-29 20:11:34 +02:00
Ines Montani 1d2c646e57 Fix init and remove .dvc/plots 2020-06-29 20:07:21 +02:00
svlandeg 1176783310 fix one more shlex.split 2020-06-29 18:37:42 +02:00
svlandeg 894b8e7ff6 throw warning (instead of crashing) when temp dir can't be cleaned 2020-06-29 18:16:39 +02:00
svlandeg efe7eb71f2 create subfolder in working dir 2020-06-29 17:46:08 +02:00
svlandeg 3487214ba1 fix shlex.split for non-posix 2020-06-29 17:45:47 +02:00
Ines Montani 126050f259 Improve asset fetching
Get all paths first and run dvc add once so it only shows one progress bar and one combined git command (if repo is git repo)
2020-06-29 16:55:24 +02:00
Ines Montani 7c08713baa Improve error messages 2020-06-29 16:54:47 +02:00
svlandeg f8dddeda27 print help msg when just calling 'project' without args 2020-06-29 16:38:15 +02:00
svlandeg bf43ebbf61 fix typo's 2020-06-29 16:32:25 +02:00
Ines Montani 569376e34e Replace curl with requests 2020-06-28 16:25:53 +02:00
Ines Montani dbe86b3453 Update project.py 2020-06-28 15:45:19 +02:00
Ines Montani 90b7fa8fed Run DVC command in project dir 2020-06-28 15:33:53 +02:00
Ines Montani 2f6ee0d018 Tidy up, document and add custom clone logic 2020-06-28 15:08:35 +02:00
Ines Montani 1b331237aa Update hashing and config update 2020-06-28 13:17:19 +02:00
Ines Montani f385344286 Update asset logic and add import-url 2020-06-28 13:07:31 +02:00
Ines Montani d6aa4cb478 Update asset logic 2020-06-28 12:40:11 +02:00
Ines Montani ed46951842 Update 2020-06-28 12:24:59 +02:00
Ines Montani df22d490b1 Tidy up types 2020-06-27 21:13:06 +02:00
Ines Montani 6678bd80c2 Check if deps exist in non-DVC commands 2020-06-27 20:57:26 +02:00
Ines Montani 165c37ccba Update project.py 2020-06-27 15:03:21 +02:00
Ines Montani 8979dc254f Update project init 2020-06-27 14:40:28 +02:00
Ines Montani c96b4a37b6 Update DVC integration 2020-06-27 14:15:41 +02:00
Ines Montani 8b305253d3 Update with DVC WIP 2020-06-27 13:02:10 +02:00
Ines Montani 82a03ee18e Replace python with sys.executable 2020-06-25 12:26:53 +02:00
Ines Montani a6b76440b7 Update project CLI 2020-06-22 14:53:31 +02:00
Ines Montani 1e5b4d8524 Fix DVC check 2020-06-22 00:30:05 +02:00
Ines Montani 5ba1df5e78 Update project CLI 2020-06-22 00:15:06 +02:00
Ines Montani 275bab62df Refactor CLI 2020-06-21 21:35:01 +02:00
Ines Montani c12713a8be Port CLI to Typer and add project stubs 2020-06-21 13:44:00 +02:00