Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1555 - 1557 of 2152)

Ticket Resolution Summary Owner Reporter
#1727 fixed Add "current" property to harvest objects amercader amercader

Reported by amercader, 2 years ago.

Description

Right now is quite difficult to get the most current version of a package via the harvest objects, and the queries involved are prone to errors. A new "current" field will be added which will identify unequivocally the most recent harvested object. Unfortunately this will involve some major changes:

  • Model update (See #1726)
  • Update queries for getting harvest sources' datasets
  • Update ckanext-csw queries for getting the objects
  • Update inspire and ckan harvesters
  • Document new field
#1728 fixed Update UKLP harvesters amercader amercader

Reported by amercader, 2 years ago.

Description

Three small changes:

  • Set Resource type to None instead of 'Undefined'
  • Set extra 'UKLP' = True instead of 'INSPIRE' = True

These two changes will require manual update of the database.

  • Allow datasets to be updated if the old source is inactive, even if the metadata date hasn't changed:
    if last_harvested_object.metadata_modified_date is None \
       or last_harvested_object.metadata_modified_date < self.obj.metadata_modified_date \
       or self.force_import \
       or last_harvested_object.metadata_modified_date == self.obj.metadata_modified_date and last_harvested_object.source.active is False:

#1729 duplicate Helper function for extensions to add vocabularies to a ckan instance johnglover seanh

Reported by seanh, 2 years ago.

Description

Add a helper function to make it easy for extensions to add new vocabularies to default_package_schema(). The helper function should take the name or ID of a vocabulary (which should already exist in the db) and add the necessary key: [schema] entry to default_package_schema(), with the necessary validation, authorisation, transformation.

Note: See TracQuery for help on using queries.