• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NaturalHistoryMuseum / ckanext-query-dois / 19
32%
main: 41%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: main
Ran 02 Dec 2019 01:25PM UTC
Jobs 1
Files 8
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
19

push

travis-ci

jrdh
Implement multisearch minting and add multisearch download hook

There's quite a lot in this commit, apologies :(

To start with, we now have the fairly nasty situation where we
support queries that are for the old datastore_search action and
the new datastore_multisearch action. To accommodate for this
the query_dois table has had an extra column added which stores
the query version. If the query doi is for a datastore_search
search then this is left null, otherwise it is filled in. This
choice has been made to make supporting both the new multisearch
and the old search easier as users may get confused if the doi
they minted on the old search action now resolves through the
landing page to the new search page. Once we migrate completely
over and rely entirely on the new search page we'll migrate all
of these old dois to the new query schema.

A minting action called `create_doi` has been created which allows
the creation of multisearch dois without triggering a download.

For normal multisearch downloads, a versioned datastore extension
hook is used, allowing us to create a DOI and add it to the email's
body text.

NOTE: you will need to run the database migration before you run
this code as there is a new column in the query_dois table.

61 of 172 relevant lines covered (35.47%)

0.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19.1 02 Dec 2019 01:26PM UTC 0
35.47
Travis Job 19.1
Source Files on build 19
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #19
  • 4d2d20e5 on github
  • Next Build on josh/multisearch (#20)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc