Where to get MD5 hashes from a GitHub release?

冷暖自知 提交于 2019-12-18 21:03:55

问题


I am looking to get the MD5 hash for a tar.gz GitHub release from here: https://github.com/jbeder/yaml-cpp/releases

Would like to use it in my CMake. Does anyone know where I can get it? I could not find much of a solution through Google.


回答1:


If GitHub wanted to provide this information, I would expect it to be provided in the API. The GitHub API doesn't currently provide this information. If they did, I would expect it to be here: https://api.github.com/repos/jbeder/yaml-cpp/releases/latest

More info: https://developer.github.com/v3/repos/releases/#list-assets-for-a-release

If you'd like the feature added, you could get in contact with @github. You could send them an email.




回答2:


As VertigoRay suggests in his answer, I emailed GitHub at support@github.com.

Subject: Suggestion: Show the checksum of each release

For example, I want to download a release from https://github.com/vim/vim/releases.

Shouldn't there be a sha256 checksum displayed next to each release?

See also: Where to get MD5 hashes from a GitHub release?

They replied within 40 minutes thanking me for my feedback and informing me that they had added my +1 to their internal Feature Request List.

Feel free to send GitHub my email if you'd also like to add your +1.



来源:https://stackoverflow.com/questions/29671303/where-to-get-md5-hashes-from-a-github-release

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!