From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] doc: clarification for hashing git checkouts Date: Mon, 11 Jul 2016 12:17:31 -0400 Message-ID: <20160711161731.GB7615@jasmine> References: <20160710215438.15418.98984@what> <20160710231630.GA10509@jasmine> <20160711001326.GA3507@thebird.nl> <20160711053340.15418.55286@what> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMdu1-0002E5-68 for guix-devel@gnu.org; Mon, 11 Jul 2016 12:17:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMdtv-0003fo-2l for guix-devel@gnu.org; Mon, 11 Jul 2016 12:17:48 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMdtt-0003dt-D8 for guix-devel@gnu.org; Mon, 11 Jul 2016 12:17:43 -0400 Content-Disposition: inline In-Reply-To: <20160711053340.15418.55286@what> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Troy Sankey Cc: guix-devel On Mon, Jul 11, 2016 at 01:33:40AM -0400, Troy Sankey wrote: > Hashing sources is becoming quite compilated! I can't wait until 'guix > download' supports git, then this could be automated. In that case, `guix download` would need to take a Git hash as an argument. In general, I think it's a good idea to avoid `guix download` when writing packages, unless you make sure to double-check that the package's origin field works as expected. I've submitted packages with a bad URL that was masked because the tarball was already in my store from `guix download`. So, now I always download my sources "by hand" and calculate the hash from the result of that.