Skip to content

Handle SourceForge installer URLs that return HTML instead of the installer #50

Closed

Description

@theKBro

Installing TortoiseSVN.TortoiseSVN version 1.14.9.29743 through Pinget fails with an installer hash mismatch.

The current WinGet manifest points to a SourceForge installer URL ending in .msi, but that URL returns an HTML landing page. Pinget hashes the HTML rather than the MSI, so the computed hash does not match the hash declared in the manifest.

Refreshing the WinGet source does not resolve the issue; the source metadata is current. Appending /download to the URL and following its redirect retrieves the MSI, whose SHA-256 matches the manifest. That MSI installs successfully with msiexec.

Reproduction

pinget source update
pinget install --id TortoiseSVN.TortoiseSVN --exact --version 1.14.9.29743 --silent

Expected behavior

Pinget resolves the SourceForge download URL to the installer before checking its hash, allowing packages using this URL pattern in valid WinGet manifests to install.

Actual behavior

Pinget downloads the HTML landing page and reports a hash mismatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions