tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: What to do about github (dynamic) downloads

> Date: Mon, 7 Aug 2017 20:15:06 +0000 (UTC)
> From: John Klos <>
> It appears that github generates these on the fly and has decided to change 
> their method, seemingly arbitrarily, which makes checksums fail.
> In the case of wip/bitcoin, the untargzipped files match the original 
> repository on which the checksums were calculated, according to mtree, but 
> the size of the file is now off by four bytes. The files from the actual 
> Bitcoin project haven't been touched since November.

If you've confirmed there is no difference in the content, is there a
problem with just updating the distinfo to reflect the change in the
tar format at Github?

Does Github unpredictably alternate how the file is generated, or did
it just change all at once at a definite time and now always use the
new version?

Also, does diffoscope reveal exactly what the difference is?  Might be
worthwhile to make sure there's nothing nefarious in the details of
the tar format that might, say, trigger a bug in some implementations.

Home | Main Index | Thread Index | Old Index