It seems that injecting the harvest extra information at search/show time is very complex.
We (US data.gov CKAN team) propose a solution that puts the extra objects into the package itself, and remove the complex necessary code.
This was raised to our attention when we discovered that we had bad data from harvesting another CKAN source, and when the harvest information was no longer displayed when using package_show, only on package_search (which hurt our API users).
See example package_search vs package_show
It seems that injecting the harvest extra information at search/show time is very complex. We (US data.gov CKAN team) propose a solution that puts the extra objects into the package itself, and remove the complex necessary code.
This was raised to our attention when we discovered that we had bad data from harvesting another CKAN source, and when the harvest information was no longer displayed when using
package_show
, only onpackage_search
(which hurt our API users). See example package_search vs package_showThis replaces https://github.com/ckan/ckanext-harvest/pull/438, as our team member Chris has moved onto another project.
@amercader, any possibility we could merge this?