Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1276 - 1278 of 2152)

Ticket Resolution Summary Owner Reporter
#270 fixed Refactor ckan/lib/importer and ckanclient/loader. johnbywater johnbywater

Reported by johnbywater, 4 years ago.

Description

There is code to create packages in-process (ckan/lib/importer) and via HTTP (ckanclient/loaders/base). There is also code to read different kinds of package source (Google Spreadsheets spreadsheet, other spreadsheet).

Propose to refactor all this to have template method in base command class (subclasses may implement command line interface, graphical user interface, or Web interface), where the template method calls on aggregated strategy objects for: reading raw spreadsheet data from spreadsheet application; for inferring CKAN package entities from the raw spreadsheet data; and for writing package entities to CKAN service.

Spreadsheet readers to be factored to allow for variations of spreadsheet application.

Raw data inferrers to allow for variations in spreadsheet cell structure.

CKAN writer strategies to allow for either CKAN client or direct linking.

Actual cases then supported by specifying existing strategies (or defining new ones) in a script that invokes the command class.

#1420 fixed Refactor ckanext-qa to work as a celery task johnglover johnglover

Reported by johnglover, 3 years ago.

Description

Currently can run as a celery task launched by paster command.

Still have to add a CKAN plugin so that QA will run when a resource is added or URL changed, and then update the extension controller/templates to look for QA data from the task_status table instead of directly on the resource.

#409 fixed Refactor cli to be more 'pluggable' rgrp rgrp

Reported by rgrp, 4 years ago.

Description
  • (Load cli commands from setuptools entry point name datapkg.cli)
  • Document how other can write new commands
  • Refactor base Command class to support this pluggability (if necessary)
Note: See TracQuery for help on using queries.