ckan / ckanext-qa

CKAN QA Extension
MIT License
26 stars 52 forks source link

QA 2.0 (to go with Archiver 2.0) #24

Closed davidread closed 8 years ago

davidread commented 8 years ago

This takes substantial improvements from the data.gov.uk team. It is intended to work with the Archiver 2.0 https://github.com/ckan/ckanext-archiver/pull/15

Key changes are similar to the archiver:

QA specific:

To do:

KrzysztofMadejski commented 8 years ago

As for "results of the QA are now stored in a dedicated QA table, rather than in the TaskStatus objects (which were awful to query) and ResourceExtras":

Having QA score in ResourceExtras allows to easily filter datasets (look for Openess Score on https://danepubliczne.gov.pl/en/dataset). Would it be possible to do in new approach (for example through some hook?). BTW: Seee https://github.com/DanePubliczneGovPl/ckanext-danepubliczne/issues/74

davidread commented 8 years ago

Yes, the providing the Openness Score as a facet in the search can be done from the QA table too - see https://data.gov.uk/dataset.

The QA information is accessed via the qa_package_openness_show action but I'm quite keen that it is pulled into the dataset using the schema. So it wouldn't be a resource_extra in the database (and therefore update the metadata_modified date every time the resource.url's server goes down etc) but it would be included when you do package_show and you can add a facet using IFacets as you've done.

Process-wize, you've come across this annoying problem with ckanext-qa and put in a fix that works for you into your fork, but no-one is tending to the core so it got ignored. Meanwhile at data.gov.uk we did a separate fix for this a couple of years ago because the main development went on on our fork. I'd much prefer that we merged all our efforts together, which is why I'm proposing we merge the data.gov.uk fork in now, seeing as the core has been left to rot.

KrzysztofMadejski commented 8 years ago

Sure, let me know where I could be of assistance. I've also done some work on translation.

davidread commented 8 years ago

Thanks @KrzysztofMadejski . Got you - the translation work here: https://github.com/ckan/ckanext-qa/issues/17 Am very happy to merge this in, assuming we do indeed unite forces and everyone agrees this big PR can be merged.

davidread commented 8 years ago

Thanks for all the responses. No-one's come out against this merge, 4 parties have stated their support at https://github.com/ckan/ckanext-archiver/pull/15, plus 1 here plus the support of @amercader and the CKAN tech team, so I'm going to do the merge this week and I look forward to working with you all on this better maintained main-line of Archiver & QA!

florianm commented 8 years ago

@davidread looking forward to testing once merged! thanks for the hard work!