From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EBpLIX7TymLKSgEAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 15:26:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4PknIX7TymJCxQAA9RJhRA (envelope-from ) for ; Sun, 10 Jul 2022 15:26:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DBCFBB2AF for ; Sun, 10 Jul 2022 15:26:21 +0200 (CEST) Received: from localhost ([::1]:34000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAWx1-00082h-4L for larch@yhetil.org; Sun, 10 Jul 2022 09:26:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAWwS-0007xl-Vo for help-guix@gnu.org; Sun, 10 Jul 2022 09:25:45 -0400 Received: from libre.brussels ([2a01:4f8:201:1044::1]:38054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAWwR-000374-3x for help-guix@gnu.org; Sun, 10 Jul 2022 09:25:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libre.brussels; s=mail; t=1657459536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dn7xpgqnsnPgclWR6oyQ8h8tNHmApqzzNhef88fVjmo=; b=IRSAeVJAO4gVW7w5iM7quCb1nhYjUJxb5L+Y5f3o4SkIX/TsWQou4FenLvrqHxHLsfgAG7 p7ricns8ZtAoAd3jrIbOx4tDP/w8Lh/6hp9NNWIEzMcrpG67nWmzjSo6PT+mVTla31Hwyc 2dmdcH9YYWLH1ngukogNmKYbUe5Niew= MIME-Version: 1.0 Date: Sun, 10 Jul 2022 15:25:36 +0200 From: indieterminacy To: jgart Cc: Guix Help Subject: Re: How do I verify my hashes? In-Reply-To: <20220709211259.GB25347@gac> References: <20220709211259.GB25347@gac> Message-ID: X-Sender: indieterminacy@libre.brussels Organization: Icebreaker Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a01:4f8:201:1044::1; envelope-from=indieterminacy@libre.brussels; helo=libre.brussels X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657459582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Dn7xpgqnsnPgclWR6oyQ8h8tNHmApqzzNhef88fVjmo=; b=Uh4k5Hp9046Y6wp62rjkWeD4aetR/+J4hX8uNVawxjXdp79cW38cIuxB8nvfx+zt/jcQQo +UfIj40Dr/abVvXvTakgYAoF4g+JTCAgsYy79HtyVVLLqsefs2MOXZqnkV72Ekzduipq3f kM0eHrVB32C0d+46PpNtC8f5Bo3bcJjAyQaNusfm4ROWM2kVewdMQcmE/UdMSso+S2E+jG V28bizaRMTcOZa+LNogapnMbHrc7Rxhz1W+ViAu47pkfMgef/AlHY/ip++GwtRG0Dct8La vCHazkmGOSInzfo5he4tBCMci4CvblSvEcli+8VNhFuohoIHQYs/AG46wLbBQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657459582; a=rsa-sha256; cv=none; b=ZJ7G3ORWYNc+x5G//Df9XHP4iGYeV9HRm546kyral24q2RCdKtkKRa9kGaM5DL5Q4TP97R qDLo6ex+m696uFQzISo1Kn9ZjZnrZjzY8uxJtFnN+8hm7//HY+jQ7Cf1Q25qOcdy2fmsWc ykU0DPofIU2CBALqO5zYeDDXh4Z0TaEpcMz3SUHQ+gtumd1vIjo+vaA8G3Qq/O5Xglxycu gisCHKwO7Z5ukHxix60BZ/UiqxK+2iy4CQekwOei9MM6lBJagyS/sRfwHjMjtuOp44Dtvl U9mKoDARM3PnvDZbE3iAS77AtNwYHjNp3mpfwY75KNTW0nS9NugMSJS6/iUL4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b=IRSAeVJA; dmarc=pass (policy=none) header.from=libre.brussels; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b=IRSAeVJA; dmarc=pass (policy=none) header.from=libre.brussels; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DBCFBB2AF X-Spam-Score: -4.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: Kax4YbCozGCG On 10-07-2022 04:12, jgart wrote: > Hi Guixers, > > Today Bonface mentioned to me that I should be cloning my packages and > verifying the hashes with `git hash-object` or `git hash` iirc? > Bonface gives very cogent demonstrations of workflow, encourage him to do a screencast! > Do others do this when packaging? > > My workflow currently is the lazy way: > > 1. I change the version in the package definition. > > 2. build the package > > 3. package blows up on stdout > > 4. I retrieve the hash and add it > > 5. profit! > > But how can I trust that computed hash? > > wdyt Im slowly moving up the value-chain with my usage of Emacs' Git porceline, Magit. IMHO, the ultimate experience would be for everything operating from Magit's interface - for the beneficence of Guix. > > Am I committing a newbie sin with the above workflow? > > I know `guix refresh` exists but sometimes it is slowwww (e.g. outdated > *.go) > > I know `make go-clean` exists but sometimes it breaks things in my > tree... > > Should I stop worrying and just `git send-email > --to="guix-patches@gnu.org" -1`? > > all best, > > jgart -- Jonathan McHugh indieterminacy@libre.brussels