Ticket #1609 (closed enhancement: fixed)
Celery task for ckanext-archiver to write to webstore.
Reported by: | ross | Owned by: | ross |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-sprint-2012-01-23 |
Component: | ckan | Keywords: | storage,archiver 5d |
Cc: | kindly | Repository: | ckan |
Theme: | none |
Description (last modified by rgrp) (diff)
From super Storage changes - #1574 - and http://ckan.okfnpad.org/newstorage we determined that ckanext-archiver should have a celery task for grabbing local file uploads and writing to webstore
Analysis
When I upload a file to CKAN:
- End up with file in permanent storage
- IF file is ot type ... csv,xls,xlsx,sqlite,.sql
- End up with new db in webstore
- Where? {username}/{resource-id}/...
- If a single table: name it after the file name (appropriately slugified)
- A resource *always* corresponds to a 'database' in webstore ...
- In Data Explorer have "Sheets" tab ...
- Where? {username}/{resource-id}/...
- End up with new db in webstore
- Resource url = /dataset/{x}/resource/{y}/link -> cached_url ...
Change History
Note: See
TracTickets for help on using
tickets.
from the pad: