terrapkg / packages

Monorepo for Terra Packages
https://terra.fyralabs.com
GNU General Public License v3.0
36 stars 17 forks source link

fix(terra-release): disable repodata check to make mirroring work #1301

Closed madonuko closed 1 week ago

madonuko commented 1 month ago

This is done because not even Fedora enable this! This will cause issues when Terra mirrors are not syncing in real time, causing dnf to think Terra is broken when hashes don't match with tetsudou.

lleyton commented 1 month ago

Please don’t merge this yet, want to test some stuff. Albeit, isn’t the repomd verified using the metalink hash? Unsure if switching this to 0 changes that

korewaChino commented 1 month ago

Please don’t merge this yet, want to test some stuff. Albeit, isn’t the repomd verified using the metalink hash? Unsure if switching this to 0 changes that

iirc the repomd is only used from upstream, they only mirror the big RPM files so if that fails it will just try another mirror

lleyton commented 1 month ago

If that's the case, I don't see how this change is necessary

madonuko commented 1 month ago

If that's the case, I don't see how this change is necessary

No, that's exactly why this change is necessary.

Without this, dnf would only choose repos.fyralabs.com because that's the only mirror deemed to have "the correct hash" by dnf.