AppImage / AppImage/AppImageKit

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

未关闭
#595 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
PR 指标待抓取

描述

#### 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。