From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YK0XK3cD7mY+lwAA62LTzQ:P1 (envelope-from ) for ; Fri, 20 Sep 2024 23:21:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YK0XK3cD7mY+lwAA62LTzQ (envelope-from ) for ; Sat, 21 Sep 2024 01:21:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=Ih+Lrcu9; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=ngraves.fr ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726874487; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jYc5YMjQ3TOJLXPJDlVngFQ86wuuRDmVf0X+Yf0s1mU=; b=UFjtNqjkaIv2jHKXD6fWlVYAgFKIQxWcfs5ozl5hHvYekyuJaozltJkiRbe6lF2jEPlq74 gQOK0aAVZhy95CmFJLqRRx+tHXwTwqnC1sfkwG2hO7vW/blRETbihPXoq5qIKK4WRzI+AW AySFcqv7+u+1xWkT3GIiJ74L5mulUqorz3SME/ATQ84biSGLZ93StQcEzu1mf9o0/2Rjkd fvxkbI1ZjIpnnHRnZJFNnJP/sl8QFqR+Pu8RgUAjo8hneW09KPd7Iij/UWFpaNwAGngmqc oef8P2SNSHMm0v5E+WMGuG4Kwq+dJsMKpnNQfXZ2CH8YrBjPJui8poSIVOvgBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=Ih+Lrcu9; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=ngraves.fr ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726874487; a=rsa-sha256; cv=none; b=jkCx7gg5aniymGzLugcrlg2paBe3wQQZ4sJ+beycQmXPuqxm7Ewt7XMkBcHUZmlGwKzxJu YBT6skqRNw0tYYlJ+m1KStRYjY5ZNf53uS56uFlB8asO6J9iaDL3HhPvP2vWTM2iAiY3B6 fJ/9RSYSkW9gtiYHTPwDfQy6JsOTIoPwm+pu1jLn3zk6zDcE/dNUpK+IXTeTu81PbiN7sP y5bgEo/041x9Ldaf1OdrASZURoQfyVCcIVdDZK/qCdKeykn0u5ExsF4nWz5BURh7eCm3jy jBz+4BemTwav7dSrTFEL7eSBxn5BxOPGDeeqo8esx6J+HM6myBOwpz4DqUDjXQ== 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 6076883B3A for ; Sat, 21 Sep 2024 01:21:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srmvS-0005yl-Ls; Fri, 20 Sep 2024 19:20:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srmvQ-0005yX-9h for guix-devel@gnu.org; Fri, 20 Sep 2024 19:20:33 -0400 Received: from 12.mo550.mail-out.ovh.net ([87.98.162.229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srmvN-0007Nz-U7 for guix-devel@gnu.org; Fri, 20 Sep 2024 19:20:32 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.25.152]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4X9SzP30jMz1WXn for ; Fri, 20 Sep 2024 23:20:17 +0000 (UTC) Received: from ghost-submission-55b549bf7b-skrmg (unknown [10.110.164.150]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E73441FD16 for ; Fri, 20 Sep 2024 23:20:16 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-55b549bf7b-skrmg with ESMTPSA id vHPoHTAD7mZlPgAA6r19nQ (envelope-from ) for ; Fri, 20 Sep 2024 23:20:16 +0000 X-OVh-ClientIp: 86.246.19.221 From: Nicolas Graves To: guix-devel@gnu.org Subject: Custom sha256 updaters ? Date: Sat, 21 Sep 2024 01:20:15 +0200 Message-ID: <875xqp3ob4.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 229965058005393973 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudelgedgvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdfghfeuhedvuddtiefgfeduudehgffhkeehtddtvedtgefgkeekffekveehuddvnecuffhomhgrihhnpeguohgtuhhmvghnthhfohhunhgurghtihhonhdrohhrghenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidquggvvhgvlhesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=jYc5YMjQ3TOJLXPJDlVngFQ86wuuRDmVf0X+Yf0s1mU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1726874417; v=1; b=Ih+Lrcu9dUQZ9LkUI9bq9r0rFvwDqwVfKN6gykL2lRn/8F50yfIfWcWPvJ7ViHXVhjoi8bfA 0nE1WMjPbTQr2/it08E0GHEjPGHkifGr+2yV8g1J8/fa3gztyC8+FU90WZ5exLxBe8xFqGN5/zn HffxyRm530C1bdahO9DfDU1c59xd02cTr8w6fbLhaqDx8MAP3rBXSgsZMaKQW/+hX93pxd/GvWc xcFMx+2LXA+c6ynHudSd1W1ypYzsfXT3N8FEqpybPFf9g+HvcfJ0jdnuh0ku4oxZC/HAss9PiMX pgBV28uw9yr++Oqc8pl+wqvIdnkZ9tD2WhFpfHlADU2jg== Received-SPF: pass client-ip=87.98.162.229; envelope-from=ngraves@ngraves.fr; helo=12.mo550.mail-out.ovh.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6076883B3A X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -8.82 X-Migadu-Spam-Score: -8.82 X-TUID: CyM4nUNjkcXg Has there already been some discussion about custom hash updaters? I have written an import module for libreoffice, and we have access to the sha256 hash in for example https://download.documentfoundation.org/libreoffice/src/24.2.6/libreoffice-24.2.6.2.tar.xz.sha256 which would make it trivial to update without having to download 267MiB of data twice. However, %method-updates doesn't seem to allow such a flexibility for now. Maybe a custom field for a function in could be possible? WDYT? -- Best regards, Nicolas Graves