Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for import-url #18

Closed
pmrowla opened this issue Oct 5, 2021 · 3 comments
Closed

add support for import-url #18

pmrowla opened this issue Oct 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@pmrowla
Copy link
Contributor

pmrowla commented Oct 5, 2021

With iterative/PyDrive2#113 closed, would it be possible to resume GDrive support for import-url?

As far as I can tell, everything should be there for import-url, so let's create another issue to finalize the support / add it docs etc. (if I am not missing something)

Originally posted by @isidentical in iterative/dvc#2865 (comment)

@carlthome
Copy link

Status on this? Just got tripped up on assuming gdrive links would work with import-url.

@pmrowla
Copy link
Contributor Author

pmrowla commented Jun 23, 2022

@carlthome unfortunately there is no update on this, import-url support is still limited to the remote types listed in the docs: https://dvc.org/doc/command-reference/import-url#import-url

@efiop efiop transferred this issue from iterative/dvc Jan 1, 2023
@shcheklein shcheklein changed the title gdrive: add support for import-url add support for import-url Dec 24, 2023
@shcheklein
Copy link
Member

shcheklein commented Dec 24, 2023

It's now seems to be supported:

dvc import-url gdrive://1n-2czSzZ-KeWzW-vqZ5A2wz0oe0uxOCZ/file.png file.png

or

dvc import-url remote://storage1/file.png file.png

where storage1 is defined like this:

['remote "storage1"']
    url = gdrive://1n-2czSzZ-KeWzW-vqZ5A2wz0oe0uxOCZ

@shcheklein shcheklein added the enhancement New feature or request label Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants