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

hypothesis / h / 10135 / 1
70%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 10 Feb 2016 03:11PM UTC
Files 92
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

10 Feb 2016 03:04PM UTC coverage: 69.73%. First build
10135.1

push

travis-ci

chdorner
Add script for migrating Elasticsearch annotations to Postgres

Scans annotations out of Elasticsearch in batches of 2000, tries to map
them on to the Postgres Annotation model and then bulk-inserts them into
the database.

When re-running the migration it will start scanning Elasticsearch
annotations where the `updated` field is greater or equal to one hour
earlier to the latest `updated` Postgres annotation.

Things to remember for mapping Elasticsearch annotation to Postgres
ones:

- Maps the ES permissions field to a single `shared` boolean.
- Discards multiple targets in favour of the first one.
- Discards the ES `annotation['uri']` in favour of the
  `annotation['target'][0]['source']`.

2686 of 3852 relevant lines covered (69.73%)

0.7 hits per line

Source Files on job 10135.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10135
  • Travis Job 10135.1
  • f3256602 on github
  • Next Job for on postgres-annotations (#10139.1)
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

© 2026 Coveralls, Inc