From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTkj0-0002bh-Ld for guix-patches@gnu.org; Mon, 03 Dec 2018 04:41:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTkf0-00088s-0d for guix-patches@gnu.org; Mon, 03 Dec 2018 04:37:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54433) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTkez-00088k-U7 for guix-patches@gnu.org; Mon, 03 Dec 2018 04:37:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gTkez-0002PM-Me for guix-patches@gnu.org; Mon, 03 Dec 2018 04:37:01 -0500 Subject: [bug#33540] [PATCH 2/3] gnu: Add lttoolbox. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20181130071612.6268-1-arunisaac@systemreboot.net> <20181130071612.6268-2-arunisaac@systemreboot.net> <87y397k1ki.fsf@gnu.org> Date: Mon, 03 Dec 2018 10:36:10 +0100 In-Reply-To: (Arun Isaac's message of "Mon, 03 Dec 2018 13:06:26 +0530") Message-ID: <87ftvf7y0l.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Arun Isaac Cc: 33540@debbugs.gnu.org Arun Isaac skribis: >>> + (origin >>> + (method url-fetch) >>> + (uri (string-append >>> + "https://github.com/apertium/lttoolbox/releases/download/= v" >>> + version "/lttoolbox-" version ".tar.gz")) >> >> Instead of relying on generated tarballs like this one whose content may >> change over time, we=E2=80=99re now switching to using =E2=80=98git-fetc= h=E2=80=99. Could you >> change this one accordingly? > > I don't think > https://github.com/apertium/apertium/releases/download/v3.5.2/apertium-3.= 5.2.tar.gz > is an autogenerated tarball. That is at > https://github.com/apertium/apertium/archive/v3.5.2.tar.gz . Should I > still switch to using git-fetch? > > That said, I tried building lttoolbox again now, and the hash does seem > to have changed. I don't understand what's going on. Ouch. Indeed GitHub has an =E2=80=9Casset=E2=80=9D feature that some proje= cts use, which allows them to upload tarballs. You could use that (esp. since the project uses the Autotools), except if it turns out to be modified in place too often=E2=80=A6 Ludo=E2=80=99.