From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fL3hC-000497-Og for guix-patches@gnu.org; Tue, 22 May 2018 05:35:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fL3h8-0003g9-OJ for guix-patches@gnu.org; Tue, 22 May 2018 05:35:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fL3h8-0003g0-KT for guix-patches@gnu.org; Tue, 22 May 2018 05:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fL3h8-0003IK-Ds for guix-patches@gnu.org; Tue, 22 May 2018 05:35:02 -0400 Subject: [bug#31499] [PATCH 01/21] gnu: emacs-daemons: New variable. Resent-Message-ID: References: <20180518184910.9987-1-ambrevar@gmail.com> <20180518184910.9987-2-ambrevar@gmail.com> <87zi0soj8t.fsf@elephly.net> <87603g3xwq.fsf@gmail.com> From: Ricardo Wurmus In-reply-to: <87603g3xwq.fsf@gmail.com> Date: Tue, 22 May 2018 11:17:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <87po1onj5u.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 31499@debbugs.gnu.org Hi Pierre, > Ricardo Wurmus writes: > >>> + (uri (string-append "https://github.com/cbowdon/daemons.el/arch= ive/" >>> + 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/downloa= d/". Releases are *uploaded* tarballs, not automatically generated tarballs. Tarballs that have been uploaded to Github won=E2=80=99t change over time. -- Ricardo