AppImage / AppImage/AppImageKit

[Enhancement] Add MD5 or SHA256 or SHA512 checksum/hash to AppImageKit releases

Đang mở
#595 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
9.4k
Fork
588
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

#### TL;DR: supply checksum / hashes alongside the download links for binaries
----

It's not the first time that developers of this project claim a user reporting issues didn't use the latest versions of AppImageKit tools when the issue reporter in question in fact had just downloaded or updated the respective tools, or vice versa -- the developer had himself not checked with the latest version at hand.

[Example 1:](https://github.com/AppImage/AppImageKit/issues/593#issuecomment-352807990) *" I have tested it with the latest continuous build, which I downloaded with AppImageUpdate as well. **Your build is just not the one I have**."*

[Example 2:](https://github.com/AppImage/AppImageKit/issues/545#issuecomment-346704727) *"[...] double-check if you was testing the right version?"*

It's also not the first time when I suspect that sometimes, somehow downloads from the Github release page may not deliver what they claim they do, or may even lead to subtly corrupted downloads. I've no idea how they use external content delivery networks (Akamai, Amazon, Cloudflare & Co.), and how caching, binary deltas and other techniques may interfere and make things "work" in unexpected ways...

Also, using the CLI parameter *`--appimage-version`* is not the best way to compare binaries, because:

1. It gives the version of the AppImageKit used to build the tool, not the version of the tool itself.
1. In some cases it still returns a relatively meaningless generic string like '`continuous`* (examples: recent versions of [appimagetool-x86_64.AppImage](https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage).

The (optional) version string used in an original filename may have been removed when re-naming the file manually, or by some automatic mechanism when updating the tool.

Any of the MD5/SHA256/SHA512 hashes would give a better way to resolve ambiguities about different versions in circulations amongst users and developers then the current *`--appimage-version`* method. It would additionally provide a means to verify downloads and uncover corrupted ones if there is a doubt.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.