Skip to content

Use cover source for legacy remote cover validation - #52

Open
sigilabcodex wants to merge 1 commit into
mainfrom
fix/cover-source-validation-precedence
Open

Use cover source for legacy remote cover validation#52
sigilabcodex wants to merge 1 commit into
mainfrom
fix/cover-source-validation-precedence

Conversation

@sigilabcodex

Copy link
Copy Markdown
Owner

Summary

Updates cover URL validation so the legacy remote-cover metadata path uses cover.source when present, falling back to the album provider only when the cover does not declare its own source.

Why

An Internet Archive release may use a direct HTTPS cover URL for lab/smoke testing or mirrored artwork without changing the release identity. Previously the sideload cover path honored cover.source, but the legacy _campwp_remote_cover_url path still validated against the album provider.

Tests

  • SingleReleaseManifestImporterTest: 50 tests, 259 assertions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant