From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iA2zDGNcLGRKegEASxT56A (envelope-from ) for ; Tue, 04 Apr 2023 19:20:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UJSlDGNcLGSC5gAA9RJhRA (envelope-from ) for ; Tue, 04 Apr 2023 19:20:35 +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 BB9F7188D1 for ; Tue, 4 Apr 2023 19:20:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjkKA-0006nJ-8W; Tue, 04 Apr 2023 13:20:02 -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 1pjkK7-0006mh-Oq for guix-devel@gnu.org; Tue, 04 Apr 2023 13:19:59 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjkK5-0003V0-Tk for guix-devel@gnu.org; Tue, 04 Apr 2023 13:19:59 -0400 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-2cfe3278da7so730412f8f.0 for ; Tue, 04 Apr 2023 10:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680628796; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5JrUIrq8R/wyHY6xD14Cs2VBcoWe5I0m+EInfGZrpbo=; b=JdvH/9Fxo0bElSgOgak+Yx/YQZtmiG2FpPXC7/wg7951aX4bfsuabaCLJTtb6fOu3I zfCda8I5tu5wlO6NwznstKuyPmLUWenjJeWIeZOhSF2wnPCD6vDRYju3tk6MvC4oBs/r ndct3Klux4I8+mQJwMOmlqQwgURwcCkycAMZFlugP8EE2PYkf/iaWs8hXDi49pjTDeIq lVD15IFUl0H3NNSHhoEqelwbJUr2coC+8nPiPYQEiYll/tAU+ZmsEJ3KlduJvCQJIIwg g/YAfxSAi+U0UlXFJ3DEPGp2vhBVvavm7WJTsLiw1lkCpmEoTcsq+YIGt3gwC5ZhCplA 9tMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680628796; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5JrUIrq8R/wyHY6xD14Cs2VBcoWe5I0m+EInfGZrpbo=; b=xinT1gayElcbHlKeDK2uc9uTNVcos6nIcOUb3dvEafHHJBfqApLifUo9mIpm8DlNip L+tAP2vZlMGvaAIcYMf7BT2vukEf/Jj2yhNs59j33c2kVTf9A26dy3tzuRMCWD8/NT4J tHpNwqPGgzqbe9TDiymvGBwyuN4z6wa5hhXM800rUYuITOQ0tYTuy5bHcLFojxfOt4/y enNpEKSBPv9u836LTX3oEQ9fnsa0eUexBzADMrQsERCVLbWHjI7Uxq5TFjdKVN0XnyNe Vb7+1XiRqGrJfPViJ+0hxhRz0Sziix4F5mAKq/RpktdnjQ3QRalpS0t8+sih6BtH9oeV fj2Q== X-Gm-Message-State: AAQBX9dALtK/yMp4+UfXLgQF5zDCE0uuIdo2HN+9FK2Cmwk6pEQIAcTb BT8Pjo2leo9ptcsx7yPR9y8yRHMniJg= X-Google-Smtp-Source: AKy350anOO8V+wTfbi2nIdKK4N9PyPj2nQ6zvTv0v5/XStlMpeBTwT+NAenR4AL6s/9aACrsY5EbRA== X-Received: by 2002:a05:600c:4f0c:b0:3ef:6257:d0e7 with SMTP id l12-20020a05600c4f0c00b003ef6257d0e7mr381762wmq.2.1680628795633; Tue, 04 Apr 2023 10:19:55 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id k20-20020a7bc414000000b003ee10fb56ebsm15856503wmi.9.2023.04.04.10.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 10:19:55 -0700 (PDT) From: Simon Tournier To: Kyle , Spencer Skylar Chan , Ricardo Wurmus Cc: guix-devel@gnu.org Subject: Re: Google Summer of Code 2023 Inquiry In-Reply-To: <0DE0A1F6-58C0-47AD-BBDA-D99E4CD4213A@posteo.net> References: <6d30ee7b-f1f0-9199-fea8-efd434c8611c@terpmail.umd.edu> <86sfeb9zx8.fsf@gmail.com> <87ttycir7r.fsf@elephly.net> <42aa5844-0769-e122-efd7-8a152070c71c@terpmail.umd.edu> <09755392-de37-c039-6b60-46310f6f4314@terpmail.umd.edu> <86ttxwvx8q.fsf@gmail.com> <0DE0A1F6-58C0-47AD-BBDA-D99E4CD4213A@posteo.net> Date: Tue, 04 Apr 2023 19:15:54 +0200 Message-ID: <86h6tvtvp1.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::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.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 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-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=1680628834; a=rsa-sha256; cv=none; b=H6tg1THwrTlRNXzW+Gqwjwo+hs6nuk8rNBbxzO65UpS7p+EgZODz9gDo/qPLRHrAl69KKn kZ9Y9a0boNWA5Fa3Iu7VtmsAINPqWxvAxaI90Aq5Hz8SyI/YauWbiEuKLORJGUDmmsDzq5 mdFB7UNAO+IXmWpn9CB54/9Lig/7QabTzmhQq4vJsy3Ld8D2IEZbSgo3zCJNtH2FM+bMpY ICqI/GZoWju9V54bwAtH7MwV6JK0CGyUh6WXZJ9KAVuOsD62LyBbqNUich0O+gUw0aDYHd ALjv1eVdg2ib2/at5vI8sqTB8lBlOhnA9uuxzs+IpOWNp4K4DZ7iQoB8oMVIWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="JdvH/9Fx"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680628834; 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=5JrUIrq8R/wyHY6xD14Cs2VBcoWe5I0m+EInfGZrpbo=; b=o4xmMFNgy0jkPG5tJUva/TfMGriwFj0WsfThmTw1rMskHZaUA9Hej/ki/4prpqDgYhQ4bW 5INDLCT+yZG8wrVHd9Y4sd7YQpSt6zgLdNkCCtXeXsTy025nGkDrhlQoGnOWwnXMvLXOPh HRqZ/7jfjGxQSL9msULHljn60ccNMrLuQPFDAaRL+tNmmqKytxhT9WqNgEwbJeMEXW7D4X YDiDDX+dLbVbo5fB53hbToZjHThDJv254tb4Q3LVVb1BKn4jo2845qgS+3EpFr8zvS+BMo 47I6pXyl1ju9xN25c5HIaLPlwp/jOcWmy2UKwrubZyoJrdUUEI1wYpWQU6zaOA== X-Migadu-Spam-Score: -4.95 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="JdvH/9Fx"; 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-Spam-Score: -4.95 X-Migadu-Queue-Id: BB9F7188D1 X-TUID: /kFL69nM3ZQm Hi Kyle, On Tue, 04 Apr 2023 at 14:32, Kyle wrote: > The CRAN importer, for example, cannot yet detect non-R > dependencies. So, the profile author has to figure those out for > themselves. It's still very useful despite not being perfect.=20=20 Yeah, improving the importers is very helpful=E2=80=A6 > Sure, but as is shown with "guix import cran" as I previously > mentioned, it doesn't have to be perfect to be really useful in many > cases. =E2=80=A6but please note the R ecosystem is probably one of the best around. Well, I will not extrapolate to other ecosystem as Python or else based on what Lars did with the channel guix-cran [1]. For more details, give a look to this thread [2], Accuracy of importers? Ludovic Court=C3=A8s Thu, 28 Oct 2021 09:02:27 +0200 or slide 53 of https://git.savannah.gnu.org/cgit/guix/maintenance.git/plain/talks/packagin= g-con-2021/grail/talk.20211110.pdf=20 =20=20 In addition, quoting another discussion from [3]: Well, it strongly depends on the quality of the targeted language ecosystem. For some, they provide enough metadata to rely on for g= ood automatizing; for instance, R with CRAN or Bioconductor. Sadly, for many others ecosystem, they (upstream) do not provide en= ough metadata to automatically fill all the package fields. And some ma= nual tweaks are required. For example, let count the number of packages that are tweaking the= ir =E2=80=99arguments=E2=80=99 fields (from =E2=80=99#:tests? #f=E2=80= =99 to complex phases modifications). This is far from being a perfect metrics but it is a rough indicati= on about upstream quality: if they provide clean package respecting th= eir build system or if the package requires Guix adjustments. Well, I get: r : 2093 =3D 2093 =3D 1991 + 102=20 which is good (only ~5% require =E2=80=99arguments=E2=80=99 tweaks)= , but python : 2630 =3D 2630 =3D 803 + 1827 is bad (only ~31% do not require an =E2=80=99arguments=E2=80=99 twe= ak). and the analysis can be refined, for instance which keyword =E2=80=99argume= nts=E2=80=99 are they tweaked? I did it [4] for the emacs-build-system: emacs : 1234 =3D 1234 =3D 878 + 356 ("phases" . 213) ("tests?" . 144) ("test-command" . 127) ("include" . 87) ("emacs" . 25) ("exclude" . 20) ("modules" . 7) ("imported-modules" . 4) ("parallel-tests?" . 1)=20 Considering this 356 packages, 144 modifies the keyword #:tests?. = Note that =E2=80=99#:tests? #t=E2=80=99 is counted in these 144 and it r= eads, $ ag 'tests\? #t' gnu/packages/emacs-xyz.scm | wc -l 117 Ah! It requires some investigations. :-) Last, in addition to ideas of improvements provided by the thread [3,4], the conclusion is still: Indeed, it could be worth to identify common sources of the extra modifications we are doing compared to the default emacs-build-syst= em. Yeah, improving the importers is very helpful! :-) Well, considering that 95% of the current R packages in Guix just work out-of-the-box from the CRAN metadata, and considering how many packages guix-cran provides compared to how many packages CRAN provides, we can roughly extrapolate the meaning of =E2=80=9Cdoesn't have to be perfect=E2= =80=9D for other ecosystem as Python or else. Roughly speaking, consider the 30% of the current Python packages in Guix that are working out-of-the-box. Yeah, these numbers are very partial and finer analysis could help in improving the importers. But these numbers show that the conclusion drawn from the CRAN example would not apply as-is for others, IMHO. 1: https://hpc.guix.info/blog/2022/12/cran-a-practical-example-for-being-re= producible-at-large-scale-using-gnu-guix/ 2: https://yhetil.org/guix/878ryd8we4.fsf@inria.fr/#r 3: https://yhetil.org/guix/86cz9kk71y.fsf@gmail.com 4: https://yhetil.org/guix/87cz9gunwx.fsf@gmail.com Cheers, simon