ckanext-qa icon indicating copy to clipboard operation
ckanext-qa copied to clipboard

How ckanext-cloudstorage and ckanext-qa could work together?

Open KrzysztofMadejski opened this issue 8 years ago • 1 comments

Following up on the discussion from https://github.com/ckan/ckanext-archiver/issues/36#issuecomment-286719861: how qa can work on resources stored in the cloud by dataportal provider (so it's part of the infrastructure) without "archiving" them on local application server.

@TkTech: ckanext-cloudstorage can populate the mimetype and hash fields which are core fields on a resource as it's uploaded."

@krzysztofmadejski: Some feaures (like hash and libmagic) would need to be run on the storage server.

KrzysztofMadejski avatar Mar 15 '17 12:03 KrzysztofMadejski

This should be simple, taking a quick look at it. If the resource has the mimetype and hash fields populated simply use those values instead of pulling the file to guess it.

TkTech avatar Mar 15 '17 13:03 TkTech