[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31499] [PATCH 01/21] gnu: emacs-daemons: New variable.
From: |
Ricardo Wurmus |
Subject: |
[bug#31499] [PATCH 01/21] gnu: emacs-daemons: New variable. |
Date: |
Tue, 22 May 2018 11:17:49 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
Hi Pierre,
> Ricardo Wurmus <address@hidden> 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
[bug#31499] [PATCH 01/21] gnu: emacs-daemons: New variable., Clément Lassieur, 2018/05/22
[bug#31501] [PATCH 17/21] gnu: emacs-helm-mu: New variable., Pierre Neidhardt, 2018/05/18
[bug#31502] [PATCH 05/21] gnu: emacs-evil-mu4e: New variable., Pierre Neidhardt, 2018/05/18
[bug#31503] [PATCH 07/21] gnu: emacs-evil-org: New variable., Pierre Neidhardt, 2018/05/18
[bug#31509] [PATCH 03/21] gnu: emacs-evil-ediff: New variable., Pierre Neidhardt, 2018/05/18