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

rero / rero-ils / 34112596319
91%

Build:
DEFAULT BRANCH: staging
Ran 07 Sep 2026 11:18AM UTC
Jobs 1
Files 620
Run time 2min
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

07 Sep 2026 10:39AM UTC coverage: 91.452% (-0.08%) from 91.535%
34112596319

push

github

rerowep
feat(harvester): add Memovs audiovisual archives API

Add new API harvester for Médiathèque Valais audiovisual archives
(archives.memovs.ch) enabling automatic ingestion of Film, Photo,
and Audio metadata from the Memovs digital archives into RERO-ILS.

Harvester (api_harvester/memovs/):
* ApiMemovs class with pagination, date filtering, and orphan deletion
* Celery tasks for scheduled harvest and cleanup of removed records
* Configuration as VS-MEMO in apisources.yml with location/item_type PIDs
* Alembic migration for default location and item_type PID settings

BIBFRAME-to-RERO-ILS transformation (dojson/json/model.py):
* Document type detection from bf:content/bf:media/bf:carrier (Film, Audio, Photo, Other)
* Provision activity from bf:provisionActivity with date normalisation
* Electronic locators for landing page and thumbnail
* MEF entity resolution for contributions, subjects, genre/form and places
* Fallback to identifiedBy when MEF ref cannot be resolved
* Physical description from bf:extent split into extent, otherPhysicalDetails and colorContent
* Warning logged when bf:contribution agent carries a URL as rdfs:label

Document and item creation (api.py):
* Holdings created per document with electronic locations
* Items created per bf:hasPart call number, stale items deleted on update
* Local fields synced from bf:note annotations (vsavmat, vsavgeo, vsavfonds...)

Other changes:
* feat(documents): add rpt (Reporter) to contribution roles schema
* refactor(documents): load _CONTRIBUTION_ROLE dynamically from JSON schema

Co-authored-by: Peter Weber <peter.weber@rero.ch>

701 of 792 new or added lines in 13 files covered. (88.51%)

25066 of 27409 relevant lines covered (91.45%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
50
83.33
rero_ils/modules/api_harvester/memovs/api.py
20
94.99
rero_ils/modules/api_harvester/memovs/dojson/json/model.py
10
37.5
rero_ils/modules/api_harvester/memovs/tasks.py
6
90.53
-1.02% rero_ils/modules/api_harvester/cli.py
3
84.24
-0.38% rero_ils/modules/utils.py
2
84.81
-1.3% rero_ils/modules/api_harvester/api.py
Jobs
ID Job ID Ran Files Coverage
1 34112596319.1 07 Sep 2026 11:18AM UTC 620
91.45
GitHub Action Run
Source Files on build 34112596319
  • Tree
  • List 620
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34112596319
  • 7f04833e on github
  • Prev Build on staging (#34100976629)
  • Next Build on staging (#34192999912)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc