-
Notifications
You must be signed in to change notification settings - Fork 21
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
gs: add {_strip/unstrip}_protocol #41
Conversation
Codecov Report
@@ Coverage Diff @@
## main #41 +/- ##
==========================================
+ Coverage 47.00% 47.77% +0.77%
==========================================
Files 46 46
Lines 2517 2545 +28
Branches 307 307
==========================================
+ Hits 1183 1216 +33
+ Misses 1311 1306 -5
Partials 23 23
Continue to review full report at Codecov.
|
b3aeade
to
562418c
Compare
fixes resolution of relative paths fixes iterative/dvc#7638
562418c
to
9c92c56
Compare
@dtrifiro Could you please explain the issue and the solution? There is no info on it in the issue, so I'm trying to make sure I understand it correctly |
Since we were not stripping protocol for gs, the dvc-objects/src/dvc_objects/fs/base.py Lines 475 to 480 in feecfba
this resulted in |
@dtrifiro I guess it raises another question: should fs.path be able to handle full urls? This is an aspect of fsspec path handling that I'm not sure about. On the one hand it is handy, but feels like path normalisation would be nice to default to. So maybe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to check other filesystems too. Might have to come back to this later.
fixes resolution of relative paths (iterative/dvc#7638)
fixes #38