Ticket #1574 (new enhancement) — at Version 4

Opened 2 years ago

Last modified 2 years ago

[super] Storage changes

Reported by: ross Owned by:
Priority: awaiting triage Milestone: ckan-v1.7
Component: ckan Keywords: storage,archiver
Cc: Repository: ckan
Theme: none

Description (last modified by ross) (diff)

Allow uploading of files to push the data into webstore. Initially we were going to suggest changes to ckanext-storage but after further analysis we arrived at the conclusion that this should be implemented by ckanext-archiver as it already handles archiving of data from various sources and would be the best place to 'archive' to webstore.

  1. A user wants to upload a file to CKAN, and so chooses the file upload option as they do currently with ckanext-storage. The file upload itself should be handled by this code internal to core (see #1608) but still using ofs
  1. The user is provided the link to the file as currently.
  1. The archiver's update task will check configuration to determine if it should upload some mime-types (tabular formats) to webstore. Configuration should also determine where webstore is. (see #1609)

3a. It should be stored in webstore using {username}/{resource-id} where {username} is the name of the user uploading

the original file.

  1. The archiver will continue to move the file into permanent storage as per current practice.

Change History

comment:1 Changed 2 years ago by ross

Related:

#1608 Merge storage into Core #1609 Celery task for ckanext-archiver to write to webstore.

comment:2 Changed 2 years ago by ross

Added #1611 as relevant to webstore integration

comment:3 Changed 2 years ago by rgrp

@ross: Is it possible to update the detailed description of this ticket so it reflects current reality (whatever that is ;-) ) (BTW: you can edit the main descript of the ticket by scrolling to the bottom of this ticket edit page)

comment:4 Changed 2 years ago by ross

  • Description modified (diff)

Updated description.

Note: See TracTickets for help on using tickets.