Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix harvest extras for packages #458

Merged
merged 18 commits into from Oct 8, 2021
Merged

Fix harvest extras for packages #458

merged 18 commits into from Oct 8, 2021

Conversation

jbrown-xentity
Copy link
Contributor

@jbrown-xentity jbrown-xentity commented Sep 20, 2021

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

This replaces #438, as our team member Chris has moved onto another project.

@amercader, any possibility we could merge this?

nickumia-reisys and others added 3 commits July 19, 2021 11:03
This allows the harvest information on the package to be easily searched
and removes complicated logic for adding/removing extras
@jbrown-xentity
Copy link
Contributor Author

Passing tests (in case they don't get run here): https://github.com/GSA/ckanext-harvest/actions/runs/1254660702

@jbrown-xentity
Copy link
Contributor Author

@amercader ping

@amercader amercader merged commit 2910693 into ckan:master Oct 8, 2021
@amercader
Copy link
Member

Many thanks @jbrown-xentity , this is a much simpler implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants