From patchwork Sun Jul 10 21:54:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Sankey X-Patchwork-Id: 13727 Received: (qmail 59312 invoked by uid 89); 10 Jul 2016 21:54:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:742 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 10 Jul 2016 21:54:54 +0000 Received: from localhost ([::1]:56977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMMge-0001Zm-5D for patchwork@sourceware.org; Sun, 10 Jul 2016 17:54:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMMgY-0001ZU-Pa for guix-devel@gnu.org; Sun, 10 Jul 2016 17:54:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMMgV-0005q3-Mb for guix-devel@gnu.org; Sun, 10 Jul 2016 17:54:46 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:33278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMMgV-0005pt-IB for guix-devel@gnu.org; Sun, 10 Jul 2016 17:54:43 -0400 Received: by mail-qt0-x244.google.com with SMTP id j37so796250qta.0 for ; Sun, 10 Jul 2016 14:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:content-transfer-encoding:to:message-id:from :user-agent:subject:date; bh=9ot/uuxFkoPN5+tY4B85N1f32Dsj8g1TJVW4OS0SoJ8=; b=FJnAteYwmhKMQ28fbk4AUeSjuRR8udpk7kSX1MVQmfzsoWx1lSkAuRYf0ZELz1Os/G cGU1NMz+vDpQN5mKrGg6XGWWStH8u4DR3UbclyDPzQCbm17jFDr3joE9xJPQBqiJo8tF ziDjGfBdCGJg05DhkM5iGtcOa1lgAeZuJ4dQAeZ2ezEtWI+ah5gEvjmweNNQOSJghZ3u 0q9QhmK9JEDCeb3Q88vX/i4Hem+5W3qw5h06hi0Rc+ggik7/bmfcxfROZI9yrg9dc93k 0EzcJRROOKRGBdukX7mjjEFGLUubpUVr1ztlgGkNbpAnC1NBaHa7SadZLcrtttvMc8TK JqLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:content-transfer-encoding:to :message-id:from:user-agent:subject:date; bh=9ot/uuxFkoPN5+tY4B85N1f32Dsj8g1TJVW4OS0SoJ8=; b=KhMf+B+FN85O4dfm1q7S0xLcnT0Zw1GbGlEsDZyvH37C+YVKtCrq2jWYcBMdGSpE9J 1UQXvGYoxw+GRszQXf/dAKJZQCMnljFBHOcHlgVzyxKCtLkXy0cfrklgDTp94PG0gjjq i1MOzuCjD6KsbfdKuuhBkE/+OWIT38v6c/OUz6gzM4nBzAPGJRhGYU5yGd+li7MEHBZq u5iJudsI8e8oVJEV/Pp5k2FtZqGgSmfEWS9IxWOtzIWwe5luDvoyS94BuN7szeI5qFsU P2KuCKT6SscC17ip7qrFpD6NJy4EnTyYZd1KDvTegw8OrWedo1KcspQXWhdA3jCF9vMm 9Jug== X-Gm-Message-State: ALyK8tI1c5/jyEgmh3x4Npe1ju0tijE/noOF/FGJPNLvcCknl1WNNiehhSS4ENfxnRZ9/g== X-Received: by 10.200.36.13 with SMTP id c13mr25361493qtc.88.1468187682616; Sun, 10 Jul 2016 14:54:42 -0700 (PDT) Received: from localhost (c-73-167-118-183.hsd1.ma.comcast.net. [73.167.118.183]) by smtp.gmail.com with ESMTPSA id l129sm1258058qke.27.2016.07.10.14.54.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 14:54:42 -0700 (PDT) MIME-Version: 1.0 To: guix-devel Message-ID: <20160710215438.15418.98984@what> From: Troy Sankey User-Agent: alot/0.3.6 Subject: [PATCH] doc: clarification for hashing git checkouts Date: Sun, 10 Jul 2016 17:54:38 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::244 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" When hashing git checkouts of packages, packagers must first remove the .git directory. This commit adds this clarification to the "Invoking guix hash" page in the documentation. --- doc/guix.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index c9d9bd8..f9fe85a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4533,6 +4533,9 @@ hash (@pxref{Invoking guix archive}). @c FIXME: Replace xref above with xref to an ``Archive'' section when @c it exists. +When hashing a git checkout, be sure to remove the git configuration +directory (@code{rm -r .git}) as it will erroneously impact the hash. + @end table @node Invoking guix import