DataVault / datavault

DataVault Project
MIT License
19 stars 16 forks source link

Allow partial retrieval of deposits #165

Open tomhigginsuom opened 9 years ago

tomhigginsuom commented 9 years ago

Currently the entire deposit package can be restored to the user's active storage. Can a "partial" restore be implemented to pull back a single file or directory?

Path traversal of deposit contents would be required for the user to be able to select a download.

stuartlewis commented 9 years ago

Good question! I'm tempted (for now, at least) to suggest we shouldn't implement this in order to try and encourage good behaviour in terms of how deposits are used.

It would also stop the case where someone might make three restore requests against a single bag, each time only picking a single file, as they think this is more efficient, yet assuming the whole bag needs to be pulled from tape then that wouldn't be the case.