From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KJT1Fs6iVGCECwAA0tVLHw (envelope-from ) for ; Fri, 19 Mar 2021 13:10:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QAu7Es6iVGCYfAAAbx9fmQ (envelope-from ) for ; Fri, 19 Mar 2021 13:10:38 +0000 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 EE7FF2CBC4 for ; Fri, 19 Mar 2021 14:10:36 +0100 (CET) Received: from localhost ([::1]:33750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNEtf-0007Vv-Qk for larch@yhetil.org; Fri, 19 Mar 2021 09:10:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNEt4-0007Ui-FP for help-guix@gnu.org; Fri, 19 Mar 2021 09:09:58 -0400 Received: from mx1.dismail.de ([78.46.223.134]:9323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNEt2-0002GR-PB for help-guix@gnu.org; Fri, 19 Mar 2021 09:09:58 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id be7230e9; Fri, 19 Mar 2021 14:09:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=20190914; bh=94e/nB8bp6Pc8jeH3NK/FP1ERkYD0/kuaR UW8SkJBYo=; b=sXJT3uve7bCELtU/uHnih8KmDYRfxddGBjKusGjW/szaf78ZKu BS6XVrf95Vz4rpyxKsrdNP4fLwOpgEcmF33RWRvsvEg4q7/CtoxlA9vbo9ULNJ0Y 73SmOReB/czZfp2WSjI6DL7w1gXuxipP7ksS51ldVPiSbKmINkP2bs4CmYPZcPmX ayYJtpnBsoPxLbTTK7gfgH7mzFV5bepIaWhilbDe5/dgf+yzeU4taP2AjlrAuJS1 c1ZiwvURJmhEspHPITebFYihu+MFeNZEbvynTmdpjaAlnIo+WzXVN6ZI+oQR+eOW QBKtIvIKAKUq87HB1fw29kjwiXYGaT/e/xKA== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 16c754c8; Fri, 19 Mar 2021 14:09:54 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 692a03fd; Fri, 19 Mar 2021 14:09:54 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c78ebf22 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 19 Mar 2021 14:09:53 +0100 (CET) From: Joshua Branson To: Zelphir Kaltstahl Cc: zimoun , Leo Famulari , help-guix Subject: Re: calculate hashes for a new packages References: <09886bce-2fb5-ca7a-896a-5f34f486bf40@posteo.de> <86y2eubw2v.fsf@gmail.com> Mail-Followup-To: Zelphir Kaltstahl , zimoun , Leo Famulari , help-guix Date: Fri, 19 Mar 2021 09:09:35 -0400 In-Reply-To: (Zelphir Kaltstahl's message of "Wed, 10 Mar 2021 22:00:41 +0100") Message-ID: <87pmzvp9ww.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616159437; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tCS/Bn64kNTdEsbgBri8csD+0UmjDw8EYHKTJ62PYh0=; b=BMeJM56Nx3LUMFcPvFs58CoY8O5Mff9YWqins0m6zMc+v1QlxbtvVJRHLIBo0cWxFOaq1+ CiU/e+Zn1GEb5YujDMA7YI7OAtsiTfro0YZb4e/jZ66Ii8CB53sJoSlXJ4zJN1KVvXH95A teuEZavNH99O789eAt7+mYWbPU9hVmgyQXqhrHTsYNPMvU3Vt4MAzcAQp43HR/vRHa/UgE cVJbM1Sd8D1txCiBWGnNPN4E9gGxzdPuuJ94vnu/JIfWh6thO8j4qFzCjiqBFXHE/t3fgw ifJqSvqhWFTa0OYx3V7fpD3Jbi71speNoSqRWM0sbEnVk1n3Bogc66yFroNQbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616159437; a=rsa-sha256; cv=none; b=mATRe8mt80h5mY6U1X4q2RzKJNWjeEaaiJu71Us3RKJPk7P8ZdNTk7L2L9G6QbGwa449HQ IJl95xcAExsrb/z/iiltOAPpmDxbcp3OaMaLdkztiqcdwsymDGKSrwYeQK9f6KfNZuftxT sOuMgUQew6LYPCO/J8+xjsyQQWPZzjTKjXx4c11flwRIJ/xuENcn3JKeY/ow+nSQay/2Ks AvV7fh8ivQ6mF8CFmd1l3ODJ6XYHCzzzfZf/DvxzKg4oQcWdTtjfuV2etpcgpamMQx3BVN /UJ1X+6z9wIfrhaqPiPAiudBmCZNEHIVa3Nr1g6FqZqYkopjj56nntNc7YOYfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=sXJT3uve; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=sXJT3uve; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: EE7FF2CBC4 X-Spam-Score: -2.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2xr6svBmrIJq Zelphir Kaltstahl writes: > Hello Zimoun! > > Ah, I think I get it now: > > If I for example created a tag for the version of my package and creation of the > tag caused the VCS host to create a tarball as release, I could go the url-fetch > way and then I would use `guix hash` on the tarball, which is the release > tarball, but if there is no release tarball addressable using a URL, I would use > the git-fetch way, which means GNU Guix would have to verify the downloaded > repository, so I calculate the hash using the other way. I personally use guix download https://path/to/tarball. That outputs the hash for me. :) Please note that I have never added or fixed a patch for guix. > > So it all depends on what I specify in my package description, about how GNU > Guix is to retrieve my package. > > Regards, > Zelphir -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar