Skip to content

fix(engines): download LibreOffice from its permanent archive - #1484

Open
KnifeLemon wants to merge 1 commit into
mainfrom
fix/libreoffice-archive-url
Open

KnifeLemon wants to merge 1 commit into
mainfrom
fix/libreoffice-archive-url

Conversation

@KnifeLemon

Copy link
Copy Markdown
Owner

Fixes the LibreOffice download failing with 404 (Not Found) (#1474).

Why

LibreOffice 26.2.6 was removed from download.documentfoundation.org/libreoffice/stable/ when 26.2.7 came out. The URLs pinned in engines.json point there, so the download fails on Windows and both Macs. Linux uses the system's LibreOffice and isn't affected.

What changed

  • engines.json: the three LibreOffice URLs now point to downloadarchive.documentfoundation.org/libreoffice/old/26.2.6.3/, where every build stays.
    • It's the same build: size and SHA-256 match the existing pins exactly (checked against the archive's .sha256 files), so sha256/size are unchanged.
  • docs/ENGINES.md: the version-bump notes now say to pin LibreOffice to the archive.
  • EngineInstallerTests.LibreOffice_is_pinned_to_its_permanent_archive: keeps the URLs there for win-x64, osx-x64 and osx-arm64.

Checked

  • Every URL in engines.json (38): only the three LibreOffice ones were broken.
  • EngineInstallerTests: 50 passed.

engines.json is embedded, so 2.4.0 itself needs a new release to pick this up. Until then, installing LibreOffice from libreoffice.org works: Filee finds it.

Closes #1474

🤖 Generated with Claude Code

LibreOffice 26.2.6 left download.documentfoundation.org/libreoffice/stable/ when
26.2.7 came out, so the pinned URL answers 404 and the LibreOffice download fails
on Windows and macOS (#1474). The same build is kept for good at
downloadarchive.documentfoundation.org/libreoffice/old/26.2.6.3/: size and SHA-256
match the pins exactly, so only the URLs change. ENGINES.md says to pin the archive,
and a test keeps the LibreOffice URLs there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Unable to download the LibreOffice Engine

1 participant