Skip to content

Get Remote Storage URL for files/directories added directly from S3 #3714

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

Closed
AratiNagmal opened this issue May 1, 2020 · 2 comments
Closed
Labels
enhancement Enhances DVC p3-nice-to-have It should be done this or next sprint

Comments

@AratiNagmal
Copy link

AratiNagmal commented May 1, 2020

The dvc get --show-url command provides remote storage location for the files/directories added to DVC repo from local machine.
But this feature is currently not available for the files/directories which are added directly from S3 using dvc add s3://....

Scenario:
My source data location is S3 bucket s3://data_bucket/. I configured another S3 bucket (s3://dvc_bucket) for DVC remote.

For the first time I add files to DVC repo,

dvc add s3://data_bucket/dataset1.csv -f dataset1.csv.dvc

We might receive new data in different location on S3 bucket. It could be something like s3://data_bucket/dir1/dataset1.csv. Then, we again add new version of data to DVC repo:

dvc add s3://data_bucket/dir1/dataset1.csv

Once the data added to DVC, source data (i.e. files/directories on s3://data_bucket) might be cleared.

So I am looking for a way to get remote storage url i.e a location in s3://dvc_bucket for the files added from s3://data_bucket. So that this url can be utilised in later steps in our pipeline without worrying about source data location.

More context:

https://discordapp.com/channels/485586884165107732/485596304961962003/705308604257009766

Thank you!

@ghost ghost added the triage Needs to be triaged label May 1, 2020
@jorgeorpinel jorgeorpinel added the enhancement Enhances DVC label May 2, 2020
@ghost ghost removed the triage Needs to be triaged label May 2, 2020
@efiop efiop added the p3-nice-to-have It should be done this or next sprint label May 3, 2020
@efiop
Copy link
Contributor

efiop commented May 3, 2021

Closing as stale.

@efiop efiop closed this as completed May 3, 2021
@bgalvao
Copy link

bgalvao commented Sep 13, 2022

I need this for CI/CD...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhances DVC p3-nice-to-have It should be done this or next sprint
Projects
None yet
Development

No branches or pull requests

4 participants