[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] doc: clarification for hashing git checkouts
From: |
Leo Famulari |
Subject: |
Re: [PATCH] doc: clarification for hashing git checkouts |
Date: |
Mon, 11 Jul 2016 12:17:31 -0400 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
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.