GNU bug report logs -
#31499
[PATCH 01/21] gnu: emacs-daemons: New variable.
Previous Next
Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>
Date: Fri, 18 May 2018 18:50:02 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Pierre,
> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>>> + (uri (string-append "https://github.com/cbowdon/daemons.el/archive/"
>>> + version ".tar.gz"))
>>
>> Please do not use these auto-generated tarballs from GitHub, as they are
>> generated upon demand. This means that at some point in the future the
>> hash may change.
>
> OK, but I have a few question:
>
> - Why would the hash change? If the version tag is not changed (and
> it's not meant to) the archive remains the same, doesn't it? Besides
> many Emacs packages use the "/archive" URLs, such as
> `emacs-emms-player-mpv`.
Unfortunately, the archive does not remain the same. These archives are
created on demand and cached for months. Once they expire they are
recreated. Since the archives contain timestamps the hash will change.
We still have many packages that use the /archive URLs, which should be
changed eventually. I have been changing some of these URLs whenever I
updated one of the affected packages, but there are many more that
remain.
> - Do you know the difference between "/archive and "/releases/download"?
> For instance, Magit uses "https://github.com/magit/magit/releases/download/".
Releases are *uploaded* tarballs, not automatically generated tarballs.
Tarballs that have been uploaded to Github won’t change over time.
--
Ricardo
This bug report was last modified 7 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.