From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6G9vKQejb2KZWQEAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 11:23:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eLlKKQejb2KfLQAAauVa8A (envelope-from ) for ; Mon, 02 May 2022 11:23:19 +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 6CAA5DAEB for ; Mon, 2 May 2022 11:23:19 +0200 (CEST) Received: from localhost ([::1]:40604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlSH0-0008SU-8C for larch@yhetil.org; Mon, 02 May 2022 05:23:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlSEm-0005lS-G3 for guix-devel@gnu.org; Mon, 02 May 2022 05:21:00 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:40772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlSEk-0004as-8y for guix-devel@gnu.org; Mon, 02 May 2022 05:20:59 -0400 Received: by mail-wm1-x335.google.com with SMTP id v64-20020a1cac43000000b0038cfd1b3a6dso10446093wme.5 for ; Mon, 02 May 2022 02:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=1mU/AoOBVk0gLCz0VLHORrYqSLxv7Doa88r+un+HZE4=; b=p3JKlTjT+WD9iH6oqLQsTNLakapJLjd98MMfWgj+7yRS0l1q+7Nuf4fRNR8Jf9rZIk WWdNfy3zQXP/qDgRJEXANHgMX8GHAKWP5MIp4yGhegpH0HZrGZqgC75YjPJwl7SRLoz0 i27j8YrMKp9EzR9iAY/ettoPixkPcYVIGQT+U36e2WE2xR7I5GzEw4jAva/HiD0UiGA8 m6+YqGQV9uPyCk3PYC4je+KhCYVT5Ruc1nDljhDDSPNF7G6q96OoEIbLG0WVlmF6CkZs J+P+QuHKvScBiz7McrssDspTSjls47c3gj7niXieENUogjY5i3FiCiIWT1O/C0InXQDQ gasw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=1mU/AoOBVk0gLCz0VLHORrYqSLxv7Doa88r+un+HZE4=; b=hL6dOQrF9z9U5Z8WUr1UV4ZQhOCWsg2c89l+AU09WV6VZvttwgw6wqRZPTwk5+rNZ9 2b2sK8uzgRN6AVY6VFfZmLnVvfssPtnLbxfbhFn27PlKfdXjKWDd7Z2dxn5ny8K1wyfQ OkHj2eD/z2ONbgo0FlbtF9+gjwUmxH4MkTG/Z9ormG6vfRQuuj4N8c/lA4YUiIoPWsOd UrwMpOdIXH5CFsaAtE2lFa97Lj5gzHlVYmqMvEqCj72WeheMMcn899u47Xt7/1n1M/3Y PXjyTXxFtzqSR2uvGm65TOlvrHPtmodAuhgpqwOKVPkZHsNbt+GqvZyGnNIHXm5b0c1X anrA== X-Gm-Message-State: AOAM5315ER2Y8PlymzDXbhN7/ZJTlfun3iA9Qu1ByKSZ39NHB5sccpXP g1y0QxuNNQnzobU70wi/bDM= X-Google-Smtp-Source: ABdhPJzqEgSrvVMiuEt/oHnNGPvmJ/BYQguDuC1Aoe+s1hqG1PwrVUULqCkNV+EvW9O38mB5lhbDwA== X-Received: by 2002:a05:600c:3b14:b0:394:1f06:37eb with SMTP id m20-20020a05600c3b1400b003941f0637ebmr10088583wms.193.1651483256916; Mon, 02 May 2022 02:20:56 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w7-20020adf8bc7000000b0020c5253d8f9sm6520692wra.69.2022.05.02.02.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 02:20:56 -0700 (PDT) From: zimoun To: mail@brendan.scot, guix-devel@gnu.org, Maxime Devos , John Soo Subject: Re: Improving importers best investment for growing gnu/packages/ In-Reply-To: References: Date: Mon, 02 May 2022 11:19:15 +0200 Message-ID: <87levk9trg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: 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" 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=1651483399; 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: 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=1mU/AoOBVk0gLCz0VLHORrYqSLxv7Doa88r+un+HZE4=; b=KwXxGp9tt7TUwLpliq6CGl69qJ3bW4PDCsI34S9JV/wAFLBTSm4gMwSVrUKNpL/56pYYbj 1w7wY0eleq4GkOh7OBxWWtneS8YqscJiL+BQEZJ/p2hlf3eIJmQAbNba6FESEIJpFlVnFC JZCeirZCH7JE24QTJIhmWbatK6AWJlPEz6+67tjPe95AIieMQRiZeYa8leYC8wvxsLVfgx G6FqIVpKCdfXiymAn/H48kaqxZcOPjKP/haYlH2Hu1BY1Sjj4ASU7hTspUES7qrtAB5sxc pCf5NwMlKR/84R2hcJ2hrKL6mcpWZP31h7NH9WcPkOYWN0s4BEqZHoPA8xDVbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651483399; a=rsa-sha256; cv=none; b=IxpalI/auw7H3w5wZraMrrhQ0Sfu2VTcS/NcRkzJFOhbvzZ7rFOyASnxt5/cd+DFKBMMzD jhrsQkujxL0Mwip3WTnJZZc6TbieIj3rJMqQfvrSS/e9aZ9R5nDtoBJPVswM0u4dor5mR0 LS9ocKvDZSoHzBoTn9CR7O6aybEGH+nNNAy6cm5Ktud1GftU6VUcvREdK6BI8d04nVnhmM MpjAEmiYkn9FjcLQZRc+hNP6SaLcUb+zvyTy8wjwO8foTEJpnk/sQfmzUHqdOMsxqHczo2 uvUWJRkOk79MrP5lcMxDSxBcUUCWsHiEF+s/HYRTnhvJQygf1xHy2+qO5X4M+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p3JKlTjT; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p3JKlTjT; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 6CAA5DAEB X-Spam-Score: -3.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: SYLncwdQ0XaU Hi, On Tue, 29 Mar 2022 at 10:50, Brendan Tildesley wrote: > Therefore I'm working on making use of > https://github.com/rust-lang/crates.io-index to fully import base defini= tions > all required crates rather than pulling metadata from the internet with e= ach refresh. >From my point of view, the issue is that it requires external Rust tools and I think such tool will never be part of the Guix dependencies. Guix itself cannot depends on Rust-thing, GHC-thing, OCaml-thing, Julia-thing, etc. because they ease the importers. And that=E2=80=99s why the current importers parse metadata and somehow =E2=80=9Creimplement=E2=80=9D the logic behind the package manager of each = language. I agree that it is a lot of work and hard to maintain but doing so allow Guix to have a small footprint (dependency, speaking). That=E2=80=99s said, how to improve the importers? Well, Guix provides now GUIX_EXTENSIONS_PATH which allows to extend by other subcommands. =E2=80=9Cguix workflow=E2=80=9D is an example, I do not= remember how =E2=80=9Cguix home=E2=80=9D did initially, anyway! My point is: this mechanism allows to have a package (with many dependencies) extending Guix itself. Somehow, it reads guix install guix-rusty guix rusty where =E2=80=99guix-rusty=E2=80=99 would be a Guile package (program) using= whatever it needs from the Rust ecosystem (say parse system calls of cargo or whatever). Guix is Scheme library after all, let use it! :-) Cheers, simon