Skip to content

Conversation

@rerowep
Copy link
Contributor

@rerowep rerowep commented Feb 3, 2026

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

Implementation includes:

  • ApiMemovs class with pagination and date filtering support
  • JSON transformation layer mapping Memovs metadata to RERO-ILS
  • Document type detection (Film, Audio, Photo, Other)
  • Holdings creation with electronic locations
  • Support for creators, contributors, subjects, and descriptions
  • Integration with existing CLI and task infrastructure

Configuration added as VS-MEMO in apisources.yml with endpoint https://archives.memovs.ch/docs/api/ and code 'memovs'.

@rerowep rerowep self-assigned this Feb 3, 2026
@github-actions github-actions bot added f: data About data model, importation, transformation, exportation of data, specific for bibliographic data dev: fixtures Fixtures data used for ils.test and ilsdev.test labels Feb 3, 2026
@rerowep rerowep force-pushed the wep-harvesting-audiovisual-archives branch 2 times, most recently from a072a85 to 6377ef8 Compare February 4, 2026 13:09
@github-actions github-actions bot added the developers From a developer point of view. label Feb 4, 2026
@rerowep rerowep force-pushed the wep-harvesting-audiovisual-archives branch 5 times, most recently from e41e4c2 to 6170f6c Compare February 5, 2026 10:49
* Upgrades urllib3 from 1.26.20 to 2.6.3 to resolve security
  vulnerabilities:
    - GHSA-pq67-6m6q-mj2v
    - CVE-2025-66418
    - CVE-2025-66471
    - CVE-2026-21441
* Updates pyproject.toml constraint from "urllib3 (<2.0.0)" to
  "urllib3 (>=2.6.0,<3.0.0)".
* Removes all vulnerability exceptions from scripts/test as they
  are now resolved (4 urllib3 CVEs) or patched (nbconvert CVE-2025-
  53000 fixed in 7.17.0).
* Also includes code quality fixes:
  - Fix pytest.raises to use context manager form (RUF061)
  - Format code with ruff

Co-Authored-by: Peter Weber <[email protected]>
Add new API harvester for Médiathèque Valais audiovisual archives
(archives.memovs.ch). This harvester enables automatic ingestion of
Film, Photo, and Audio metadata from the Memovs digital archives.

Implementation includes:
- ApiMemovs class with pagination and date filtering support
- JSON transformation layer mapping Memovs metadata to RERO-ILS
- Document type detection (Film, Audio, Photo, Other)
- Holdings creation with electronic locations
- Support for creators, contributors, subjects, and descriptions
- Integration with existing CLI and task infrastructure
- Fix duplicate logging in CLI by disabling logger propagation

Configuration added as VS-MEMO in apisources.yml with endpoint
https://archives.memovs.ch/docs/api/ and code 'memovs'.

Technical notes:
- Uses current_app.logger with lazy % formatting for performance
- Sets app.logger.propagate = False to prevent duplicate log messages
  in CLI commands

Co-authored-by: Peter Weber <[email protected]>
@rerowep rerowep force-pushed the wep-harvesting-audiovisual-archives branch from 6170f6c to f2ff57a Compare February 9, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev: fixtures Fixtures data used for ils.test and ilsdev.test developers From a developer point of view. f: data About data model, importation, transformation, exportation of data, specific for bibliographic data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant