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

hypothesis / h / 10135
70%
master: 97%

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

pending completion
10135

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

Jobs
ID Job ID Ran Files Coverage
1 10135.1 10 Feb 2016 03:11PM UTC 0
69.73
Travis Job 10135.1
Source Files on build 10135
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10135
  • f3256602 on github
  • Next Build on postgres-annotations (#10139)
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