From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 UARcMbmHrGO5MgEAbAwnHQ (envelope-from ) for ; Wed, 28 Dec 2022 19:15:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KO8vMbmHrGO5CgAAauVa8A (envelope-from ) for ; Wed, 28 Dec 2022 19:15:21 +0100 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 8B66438A68 for ; Wed, 28 Dec 2022 19:15:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAaxF-0000fX-4m; Wed, 28 Dec 2022 13:15:05 -0500 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 1pAaxC-0000f8-Og for guix-patches@gnu.org; Wed, 28 Dec 2022 13:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAaxC-0002Dm-Ev for guix-patches@gnu.org; Wed, 28 Dec 2022 13:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAaxC-0004tv-Av for guix-patches@gnu.org; Wed, 28 Dec 2022 13:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60288] [RESEND #2] [PATCH v1 0/2] Start adding ZIM file(s) Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Dec 2022 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60288 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Denis 'GNUtoo' Carikli Cc: 60288@debbugs.gnu.org X-Debbugs-Original-Cc: 60288@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 60288-submit@debbugs.gnu.org id=B60288.167225127018576 (code B ref 60288); Wed, 28 Dec 2022 18:15:02 +0000 Received: (at 60288) by debbugs.gnu.org; 28 Dec 2022 18:14:30 +0000 Received: from localhost ([127.0.0.1]:58618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAawg-0004pX-38 for submit@debbugs.gnu.org; Wed, 28 Dec 2022 13:14:30 -0500 Received: from mira.cbaines.net ([212.71.252.8]:42072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAawe-0004pO-Ab for 60288@debbugs.gnu.org; Wed, 28 Dec 2022 13:14:28 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 447AB27BBE9; Wed, 28 Dec 2022 18:14:27 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 3394dc86; Wed, 28 Dec 2022 18:14:26 +0000 (UTC) References: <20221220052349.4965-1-GNUtoo@cyberdimension.org> User-agent: mu4e 1.8.11; emacs 28.2 From: Christopher Baines Date: Wed, 28 Dec 2022 18:10:54 +0000 In-reply-to: <20221220052349.4965-1-GNUtoo@cyberdimension.org> Message-ID: <87bknn2y67.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672251321; a=rsa-sha256; cv=none; b=SQDVnVzJB57qgiJjGS4N81u9dzeW/jbuuro4qWx7t+Iq9Zqi9iXpHdMKdJRwWmlpILvasQ YUgB1gqZYpK8S+M3EU9qC7vC/XxJ/Eravk74oWtc3gDWj+heBYkKSpvxICykNuWIVOcets xBMm0yr5a8PVju6zHY24MPCyTaGEHMN39bsVRdPw/ED7kq9G3Xco5cyWJf9YrCYt8J517b FJ1AldfDXpXK29bgXLUPyKkXUtw7xwGslCpO1pLwldT356DInDVdcRufK3ZzvXThG07l1I vUi8hKHYWqIc9iZ5aj7BTHl/XyK/PvrjsEcB8GdghVVUP4qhQvoIZZCT7f+iGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672251321; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=eg73/+JltMMdtR06kK8c7yE0Rj6rvK6h8D0AlWkLFiY=; b=WLprVP88+H6lWNEqUerpSst0vXKsivVZ7Cnk+WA6iZnwJULlo547UpWWB4TS826kLC/CQ+ 2b0ZFoC7d7lxz+AaDm9iJTPC8i+KBTpmd7/U2KqPWDErnfiq4Vcc3kvVSeEVouM5YbpwSZ PFBhKe986J0eYQMArxmz27MQu7qLvBnMgcKj2fJ1fYHuoXrpUbR2CX1yix+0nP8vLmievu k5UZeRE59qnu3vNl6JO4i5xThG7tGlva6xkQ8Z30iy7sqqUf1h/+Czc3NPN4+Ta0XSzlri yzmRfWLJpHDFP5BQ02wLuazTCunKeNIU6hmUCjvplDSwRlZJBU/n58gWmdp2Tg== X-Spam-Score: -3.93 X-Migadu-Queue-Id: 8B66438A68 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.93 X-TUID: fYoOJJSdv3jq --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Denis 'GNUtoo' Carikli writes: > Here are two small patches. > > The first one add #:substitutable? to the copy-build system. > > I don't know how to check if it works as intended though. It's > similar to the commit d0050ea8ad1c32d94cf5ba6725a0fc961bb23f38 > ("build-system/go: Add #:substitutable? argument.") so normally > it shouldn't be an issue, but if someone can double check it it > would be best as it would avoid keeping around substitutes of > very big sizes. > > The second patch adds a ZIM file. I'll most likely send more > patches to add additional ZIM files packages (about 10) later > on. I prefer doing it this way as it avoids having to deal with > potential rebases breaking if there is something wrong with my > second patch. > > Denis 'GNUtoo' Carikli (2): > build-system/copy: Add #:substitutable? argument. > gnu: Add wikipedia_en_all_maxi I haven't looked at this in detail, but one comment on the QA failures. Building the package for this large file involves copying it from the store, to another place in the store. This requires 2x the space which this large file takes up, which is a pretty wasteful approach. This is the reason behind the build failures I've seen, the build machines run out of space when attempting the file copy. Maybe an alternative if you want to have a package would be to symlink to the source. That way, there's only a large file and a symlink in the store, rather than two copies of the same large file. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmOsh4BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xe3HA//ZH8Wp4Sg/muK1kak62JcRLbFNFDGpCMe yoOuTBlnySZkG6/g5AWcu/m3TXwwo3MePO2WZ0bqhCYLLo+fuzYn7vaKfSQTVbbe eRz+n/8PRgfHnBYeT9EvDLndELGkhzAz4FDhRyAsfqUoiHil+Fg6GWRs6pvAEuav 9GwpYhMtnxzzn/l3dLi4UpBIOdUl8jsfnTMQiPmzYPnXFhLATi3oQHNwSmOR8UiJ EXGiuhuFjVcd5y0hdR46CDw/KjeSrjdOJEJzAjlzSOxuto7TgD1jCLdPqcj5oLwT cxxbsHPK4Htce3FuLPKxmM2S6E87ga7ku66TcMHpU+H8Bi7XU3meJsAnAN//3BqD PfJTc8On46sQgaoW5yctwJK/pbURUGYufd/OEKlwA7yRK9/CUikU1IqEk9fCiNZV KYjeo1m8qEQxB9Hhjfd/NzWVMlLzUOzWqf07sVn0Q69m8PgOcXCWj8uviFdOZsg9 QotG2KVyhLO04MX4Ccykf/BiTj2+6snCbvs2NcMMmd72DmBPD+1pq7rHDywm4X1d O00niQ/KzqP9a5DEd8cJtAohxvmlkXzgEYLaB0bSC5/GJl2fSlthCDPGx6bcepP4 9HjmXDhRr4UTshFDJCuuw9LgmuJoyrA0s5eQlCO3rk8jZYJs23ECW1U4SGT0t7nf YVfys+yvSOs= =CtrP -----END PGP SIGNATURE----- --=-=-=--