-
Notifications
You must be signed in to change notification settings - Fork 53
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
QA 2.0 (to go with Archiver 2.0) #24
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ts back live on DGU. Queries now execute fast enough so that Varnish does not time out before they return and templates are better formatted. * Set filename of the al broken links CSV file to all_broken_links.csv (it was set to the built-in function id() before) * Changed certain SQLAlchemy queries followed by multiple tsak_status queries into single SQL statements * All reports only return data for active packages and resources * Capitalized the openness score descriptions * Tweaked all the main templates so that long links don't break column widths * Made the "License not open" check come after the other checks, because we prefer to know if links are genuinely broken, rather than that information being supressed by the license. Only working, non-openly licences links now get the "License not open" message * Noticed that requests library sometimes fails to get head requests after a 301 redirect, reporting bad port. Can't fix this but have added approprate log messages
…o not have every page filtered for insertion of qa.css etc. Much improved logging in tasks.py.
… tha failure count in this case.
…st time link worked. Excluded "Bad content type" from broken links report. Improved "reason" field to include more detail of why the score was given, instead of a description of the score which is useless. Added many data types, based on DGU data formats. Fixed up test_tasks.py
…calls(!). See #2942.
…e we have a better list of format that we are interested in. Removing unfinished attempt to correlate mime-types with extension. Promote mime-type as most important thing - holds publishers to account more. Broken datasets report - fixed rows getting jumbled, updated dates being wrong, hours and minutes mixed up.
…riter. Tidied table presentation.
…CKAN now alert bulk/priority queue as appropriate. Can now specify group (instead of package) in update command.
…ow defaults to correct queue when you specify a group. Cope with groups with deleted datasets in (!). Broken link reports now cope when no results. File sniffer now copes with unicode in filenames. Sniffer has more logging when it succeeds. Tests fixed up.
…ensible there. Fixed some tests.
… score, since solr was getting overloaded.
…mmand. Avoid duplicate search index. Fix bug with archival_timestamp as datetime.
davidread
pushed a commit
that referenced
this pull request
Nov 20, 2015
QA 2.0 (to go with Archiver 2.0)
HristijanVilos
pushed a commit
to keitaroinc/ckanext-qa
that referenced
this pull request
Jul 18, 2022
QOL-8544 add more BDD tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This takes substantial improvements from the data.gov.uk team. It is intended to work with the Archiver 2.0 ckan/ckanext-archiver#15
Key changes are similar to the archiver:
QA specific:
To do: