Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1159 - 1161 of 2152)

Ticket Resolution Summary Owner Reporter
#251 fixed Present in the API a list of revision IDs, and present individual revisions when referenced by ID johnbywater johnbywater

Reported by johnbywater, 4 years ago.

Description

Want to have:

  • /api/search/revision/

Support querying by "since time" and "since revision". Each individual revision should be available in the REST API (read-only):

  • /api/rest/revision/{revision ID}
    • should include revision attributes plus revision.packages e.g. like { "id": "...", ... "packages": [ list of packages names from e.g. revision.packages ] }
#252 invalid Change revision object so that it has parent(s) attribute dread johnbywater
#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.

Note: See TracQuery for help on using queries.