flatpak / flatpak-builder

Tool to build flatpaks from source
GNU Lesser General Public License v2.1
141 stars 93 forks source link

files are re-downloaded after fixing hash #604

Open 2-www opened 5 months ago

2-www commented 5 months ago

Checklist

flatpak-builder version

flatpak-builder 1.4.1

Flatpak version

Flatpak 1.14.8

How to reproduce

  1. write a module definition that has the "sha256" property empty or wrong
  2. see error: Failed to download sources: module example-module: Wrong sha256 checksum for file.tar.gz, expected "...", was "..."
  3. fix the sha256 in the manifest

Expected Behavior

uses already downloaded file

Actual Behavior

downloads huge file again

Additional Information

No response