-
Notifications
You must be signed in to change notification settings - Fork 12
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 webdav.dandiarchive.org to "services" for the main instance and redirect /download/ for zarrs to webdav #1993
Comments
I'm not a fan of a plain However, since the primary motivation for this issue seems to be improving the UX when clicking on a Zarr in the Archive GUI, an alternative would be for the Zarr links to just go to webdav.dandiarchive.org directly without redirecting through Also, if we actually want to encourage users to download Zarrs via dandidav, one idea would be for dandidav to display a message of the form "To download this Zarr, run |
Since its is
|
First, Secondly, my point is that users shouldn't be running |
Why do you think the ship has sailed? I see Dandidav as, among other things, a successful proof of concept that (1) versioned Zarr is a viable concept; and (2) that in fact the Archive can have such a thing. We could of course simply decide to add Dandidav to the list of "external services" and be done with it. But I agree that the download URL should not simply redirect to Dandidav. |
FWIW -- relates to and discussions there in, as we should add webdav as a service at
|
ATM trying to hit
/download/
endpoint for an asset with zarr instead of blob would result in400 Bad Request
.e.g.
400 Bad Request
instead, since this asset
ee648ce0-fda7-44c4-816b-6a80bbcbf850
points to zarr id (in this casefd01fe56-9c26-4da3-9c78-e57e85d34033
) we already can do two alternativeswget
etc as the name of the folder to download underhttps://webdav.dandiarchive.org/zarrs/{zarr_id[:3]}/{zarr_id[3:6]}/{zarr_id}/{zarr_checksum}.zarr/
.attn @jwodder who might see the shortcomings etc.
The text was updated successfully, but these errors were encountered: