From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yD+NOFZlemGw0wAAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 10:54:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SOFWNFZlemGWRwAA1q6Kng (envelope-from ) for ; Thu, 28 Oct 2021 08:54:46 +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 A8C092A554 for ; Thu, 28 Oct 2021 10:54:46 +0200 (CEST) Received: from localhost ([::1]:38140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg1BN-00022y-RD for larch@yhetil.org; Thu, 28 Oct 2021 04:54:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1Ay-00022q-Gg for guix-devel@gnu.org; Thu, 28 Oct 2021 04:54:20 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:33923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1Av-0007Mz-Om for guix-devel@gnu.org; Thu, 28 Oct 2021 04:54:20 -0400 IronPort-Data: =?us-ascii?q?A9a23=3AcGkbkK2WV7jwy0pLR/bD5eZzkn2cJEfYwER7XOP?= =?us-ascii?q?LsXnJ1Tgi3jAEy2EWUTjTPfrbN2ameYsjaIu+9xhU6Jfdn942QQE+nZ1PZyIT+?= =?us-ascii?q?JCdXbx1DW+pYnjMdpWbJK5fAnR3huDodKjYdVeB4EfyWlTdhSMkj/jRHuCsULe?= =?us-ascii?q?s1h1ZHmeIdg9w0HqPpMZp2uaEsfDha++8kYuaT//3YDdJ6BYoWo4g0J9vnTs01?= =?us-ascii?q?BjEVJz0iXRlDRxDlAe2e3D4l/vzL4npR5fzatE88uJX24/+IL+FEmPxp3/BC/u?= =?us-ascii?q?/k7zxdUtirrz6bFHI0yQOHfH73V4Y/nVaPqUTbZLwbW9TljmOgdF6jt5KqIasR?= =?us-ascii?q?BwBP6vWme1bXQMw/yRWbfwco+aeSZS4mYnJp6HcSFPj3vR+SU07I4Ac0ulxHCd?= =?us-ascii?q?J7/NwADQEdAur2fKvhrS2VoFRam4LRCXwFNJG/yg+lXSAVKljG8iaBb7X78Qex?= =?us-ascii?q?C03lslCW/DTe6IkhfNUREyoS3Vy1p0/U/rSRNuVu0Q=3D?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3ARqvIOK4U/OTOCcw84APXwFPXdLJyesId70hD?= =?us-ascii?q?6qkXc20uTiX4rbHIoB11726NtN98YhwdcJW7V5VoIkmsjqKdg7NxAV74ZniehI?= =?us-ascii?q?LAFugLhrcKgQePJ8SZzIJgPMxbGZSWZueAaWRSvILf6A6xHdoshPK2mZrY59v2?= =?us-ascii?q?/jNXcEVObad4qz5jBhmWFVB3Qg4uP/oEPavZ3fcCgSGhd3QRZsH+Kn4OWeXCoN?= =?us-ascii?q?OjruOBXTc2QyUbrC+UjT2p77bmFQPw5GZ6bxp/hYwetVXEmQ70+8yYwpKG9iM?= =?us-ascii?q?=3D?= X-IronPort-AV: E=Sophos;i="5.87,189,1631570400"; d="scan'208";a="892311" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 10:54:15 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars-Dominik Braun Subject: Re: Accuracy of importers? References: <878ryd8we4.fsf@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Brumaire an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 28 Oct 2021 10:54:14 +0200 In-Reply-To: (Lars-Dominik Braun's message of "Thu, 28 Oct 2021 10:17:30 +0200") Message-ID: <87a6it7cnd.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635411286; 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; bh=FLZ+nBKceGJqju52l27hXbcOsX4fszIjh89Yaxz/Srw=; b=Ggw7p5dHprgd9J9RvXkTQl0w1rVssMgs2uEtVzrPSs7AfxqZhsCuYiu+hopCZcznZDwiS2 soj+9ODpqyeJ50B/MpVcPzWwAJkxHSDVk0F+8n6tGE0XrY1dOgmbFOzMl7VBawO4y19u7h nRrrO/yv5cwU9Vu2olps79XyuU7PQLukM/IoI4H41ndV2a7udm+mluFGamfX+4Zdb4s0Lw pcrWe4tAvgi7t6pkx/DGQWbUxW7TDatXqNg9wIsu6fKR9l6X6dydgbW8QsFiXB4kiKHs5n M6DH0Ven3n7y8jawbX+XAiWFvYKGnr/AI1iQBx6CiAw0IYRIq6+Esc+CqnpKGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635411286; a=rsa-sha256; cv=none; b=YBB8hu80DKC3puwK0inBFt0UcI462povasgsWx6/6Jr+AanWH4z2aPnzAxxHzQzTERkDKG 2H7Xd16yt3lb770BlcjXEs9Nneca0XzLq7UnksX6tXumFa/0P+bT/IBNB3g6Gr58+3hNc/ Wc07muBZdziQUp6mrcBf8UlpGBGU4c9CmsuKw9bNyi1vLuQpzbq6Enunz3DSzrhnGxutZm FcnoUKc0U7PWZ2+I5X2HEcGMeni/XtcSiVSeWthV60kEuzXr05UzD9jdrqnWyPB4J+pVLE LD6M22mOxYAvAS60S8KXHo3jZX1PsInCOOamCLS31/lFAouQre37pQqZ/yufEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A8C092A554 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: YaFbZAJrwXvR Hi! Lars-Dominik Braun skribis: >> My understanding is that most of them require manual intervention=E2=80= =94i.e., >> one has to tweak what =E2=80=98guix import=E2=80=99 produces, even if we= ignore >> synopsis/description/license, to set the right inputs, etc. If we were >> to estimate the fraction of imported packages for which manual changes >> are needed, what would it look like? >>=20 >> importer fraction of imported packages needing changes >> pypi 50% (some miss source distro, =E2=80=9Csdist=E2=80=9D; s= ome have >> non-Python deps) > that seems right, although the most common modification I do nowadays > is replacing 'check with a pytest phase. Right. PyPI/setup.py/.whl doesn=E2=80=99t contain info as to how to run te= sts, right? >> hackage ? >> stackage (Lars?) > I=E2=80=99ve mostly used the updater, not the importer, so I can=E2=80=99= t say a > number unfortunately. Did the updater suggest input changes? >> cran 5% (Ricardo? Simon? seems to almost always work?) > In my experience the number of interventions here goes towards zero > actually, except for description. It=E2=80=99s pretty good :) Yay! >> npm (WIP) (Jelle? Timothy?) > Maybe 5%? But the imported packages do not build anything and don=E2=80= =99t > run tests either, so chances for failure are pretty low. Yeah. > Would it be possible to just run the importer again for existing packages > and compare the result (minus synopsis/description) with what=E2=80=99s > available in Guix? That should give you much more accurate numbers than > our guesswork. That=E2=80=99s a good idea. I can try and do that on a sample of packages. Thanks! Ludo=E2=80=99.