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

rero / rero-ils / 26504638268
91%
staging: 91%

Build:
Build:
LAST BUILD BRANCH: wep-remove-cypress
DEFAULT BRANCH: staging
Ran 27 May 2026 10:57AM UTC
Jobs 1
Files 616
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

27 May 2026 10:04AM UTC coverage: 91.222% (-0.001%) from 91.223%
26504638268

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 796 new or added lines in 12 files covered. (88.07%)

31 existing lines in 7 files now uncovered.

24764 of 27147 relevant lines covered (91.22%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
82.25
0.0% rero_ils/modules/api_harvester/memovs/api.py
30
93.29
-0.12% rero_ils/modules/api_harvester/memovs/dojson/json/model.py
10
37.5
0.0% rero_ils/modules/api_harvester/memovs/tasks.py
5
91.4
0.0% rero_ils/modules/api_harvester/cli.py
1
85.33
0.0% rero_ils/modules/api_harvester/api.py

Coverage Regressions

Lines Coverage ∆ File
10
85.33
0.0% rero_ils/modules/api_harvester/api.py
7
94.92
0.0% rero_ils/modules/ext.py
4
67.86
0.0% rero_ils/modules/api_harvester/utils.py
4
84.72
0.0% rero_ils/modules/utils.py
3
91.4
0.0% rero_ils/modules/api_harvester/cli.py
2
95.35
0.0% rero_ils/modules/api_harvester/cantook/api.py
1
96.55
0.0% rero_ils/modules/api_harvester/tasks.py
Jobs
ID Job ID Ran Files Coverage
1 26504638268.1 27 May 2026 10:56AM UTC 616
91.22
GitHub Action Run
Source Files on build 26504638268
  • Tree
  • List 616
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26504638268
  • 72b28dbc on github
  • Prev Build on bib-memovs (#26472467568)
  • Next Build on bib-memovs (#26573525224)
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