dandi / handbook

Handbook for interacting with the DANDI archive.
https://www.dandiarchive.org/handbook/
6 stars 12 forks source link

State explicitly that our current maximal length of the path in dandiset must no exceed 512 #124

Closed yarikoptic closed 7 months ago

yarikoptic commented 8 months ago

ATM, if my check is right -- maximal length we can encounter is only 192, so we are quite ok

dandi@drogon:/mnt/backup/dandi/dandisets$ pwd
/mnt/backup/dandi/dandisets

dandi@drogon:/mnt/backup/dandi/dandisets$ declare m=0;for ds in 00*; do git -C $ds ls-tree -r --name-only HEAD; done | awk '{ if (length($0) > max) max = length($0) } END { print max }'
192

When user manages to get over -- server 500s. Filed

satra commented 8 months ago

we don't put dandi nwb inspector or schema constraints in the policy document. is this really something for a policy change? also if this is a policy change, the policy version should be incremented.

i would say this is out of scope for this policy document.

yarikoptic commented 8 months ago

It has nothing to do with nwb and inspectors. See the issue I linked in the archive - it is our current coded in technical limitation similarly to max file size on s3.

yarikoptic commented 8 months ago

per discussion on slack -- moved both into another document from Policy and boosted policy version.