From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHIst-0004sy-EA for guix-patches@gnu.org; Sat, 03 Jun 2017 19:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHIsq-0006oW-Cg for guix-patches@gnu.org; Sat, 03 Jun 2017 19:55:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHIsq-0006oQ-8x for guix-patches@gnu.org; Sat, 03 Jun 2017 19:55:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHIso-000631-Av for guix-patches@gnu.org; Sat, 03 Jun 2017 19:55:04 -0400 Subject: bug#27225: [PATCH] artwork: Use a descriptive name for the source directory. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHIs7-0004qs-4I for guix-patches@gnu.org; Sat, 03 Jun 2017 19:54:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHIs4-0006al-2y for guix-patches@gnu.org; Sat, 03 Jun 2017 19:54:19 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHIs1-0006Wn-UN for guix-patches@gnu.org; Sat, 03 Jun 2017 19:54:16 -0400 Received: from localhost.localdomain (unknown [84.19.184.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 11AFF7E808 for ; Sat, 3 Jun 2017 19:54:10 -0400 (EDT) From: Leo Famulari Date: Sat, 3 Jun 2017 19:54:01 -0400 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 27225@debbugs.gnu.org * gnu/artwork.scm (%artwork-repository): Set a descriptive file-name and use the full commit hash when fetching. --- gnu/artwork.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/gnu/artwork.scm b/gnu/artwork.scm index 94c89143a..204845bd6 100644 --- a/gnu/artwork.scm +++ b/gnu/artwork.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015 Ludovic Courtès +;;; Copyright © 2017 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,13 +29,15 @@ ;;; Code: (define %artwork-repository - (origin - (method git-fetch) - (uri (git-reference - (url "git://git.savannah.gnu.org/guix/guix-artwork.git") - (commit "6998d30"))) - (sha256 - (base32 - "0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j")))) + (let ((commit "6998d30425289b087c64f63e7415df2241e591db")) + (origin + (method git-fetch) + (uri (git-reference + (url "git://git.savannah.gnu.org/guix/guix-artwork.git") + (commit commit))) + (file-name (string-append "guix-artwork-" (string-take commit 7) "-checkout")) + (sha256 + (base32 + "0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j"))))) ;;; artwork.scm ends here -- 2.13.0