mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 10:33:22 +01:00
docs(archives): correct RAR support claim in read_rar_archive_files
The bundled Alpine 7zz build lacks the RAR codec: listing RAR members works, but streaming their contents fails with "Unsupported Method" (verified against the production image). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -399,7 +399,9 @@ def read_rar_archive_files(
|
||||
) -> Iterator[tuple[str, int, Iterator[bytes]]]:
|
||||
"""Yield eligible files from a RAR archive, sorted by internal path (ASCII).
|
||||
|
||||
Delegates to the 7zz binary, which natively supports RAR (v3-v5, read-only).
|
||||
Delegates to the 7zz binary. Listing RAR members always works, but
|
||||
streaming their contents requires a 7zz build with the RAR codec; the
|
||||
bundled Alpine build lacks it, so content reads fail and log an error.
|
||||
"""
|
||||
return read_7z_archive_files(file_path, excluded_names, excluded_exts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user