From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YLoMKdBcemHFwwAAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 10:18:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cKTGJNBcemEkLQAA1q6Kng (envelope-from ) for ; Thu, 28 Oct 2021 08:18:24 +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 6BD8D29B24 for ; Thu, 28 Oct 2021 10:18:24 +0200 (CEST) Received: from localhost ([::1]:50808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg0cB-0006pg-JS for larch@yhetil.org; Thu, 28 Oct 2021 04:18:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg0be-0006lu-SS for guix-devel@gnu.org; Thu, 28 Oct 2021 04:17:50 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:36874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mg0bZ-00052Q-Qi for guix-devel@gnu.org; Thu, 28 Oct 2021 04:17:50 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Hfz291bj6zQkkP; Thu, 28 Oct 2021 10:17:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1635409055; h=from:from: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; bh=TWbSwHM8o4CY7bL8wN7hsdyMxrLuPzOH26vEo693ln4=; b=D2W1JLPjUUsP7jWt5zy6e2gB0t+SXlLdkrldmzKviUiwECRxYKCIZPl6awkk+OVvbqkQ6U Bl3XxZ88HrS0p+3noA2/3X+qa/pyA/mixxEOz76/6Psq1ZNLhmpmap2pxhrUL7N9VtYrtq l5or2qc5igKNCjow64c7nPFidGyPsJ/Naya5NxSb3OcTCguRpdoCWV2S1xxojK+9rxifaG 1j4vXuktvH8HGVeRrLJWwdU8+LJQOQdeCePVvifFVxGl7h0buQtW9nwb7wZQuzkscnmadt lrP+ISeHdDmd0KGQwpzPAYWawkr8JnF52KSeLwLuVffN+dWZ1RdS1BQfkJU2Cg== Date: Thu, 28 Oct 2021 10:17:30 +0200 From: Lars-Dominik Braun To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: Accuracy of importers? Message-ID: References: <878ryd8we4.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878ryd8we4.fsf@inria.fr> X-Rspamd-Queue-Id: AFEC71313 Received-SPF: pass client-ip=80.241.56.152; envelope-from=lars@6xq.net; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_LOW=-0.7, 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=1635409104; 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=TWbSwHM8o4CY7bL8wN7hsdyMxrLuPzOH26vEo693ln4=; b=rHBT2UoHK7TXz9DFoqIPgL4SD4za8FiqFcePKrjlympPDaT4jcKKZGFk8jKsRcB6rTE1v1 HrJolF4u+2+KxZq7dKxrxD2gnaFwT+tIVDZAL9aWRNZ4mYyf/0yi565bujs5ZlV4y4twI7 ZGLoTviFSD317tfkvSjsyjgrbGFcXKHZEnLcp0vGGWUy3cpW36mipsCucOIj4+6MOHNRSS mydyjeo9pWA9JAv9V5Ba6LEiy9Qq131tt7W11EWTM9SxBG6kXHo9Kj75/METJPD/VwaVvc e0b/E8Q7M/jgAsDTd8TURQpoNNKx4q9mYHDwPDDddBj1NYMM+M65yk1z9WLm+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635409104; a=rsa-sha256; cv=none; b=joDWI66UrYeBuu+w9kNY52II2cloDF4pMvnorMz1oDYieOzqr4G1Q2Lb6VMElQfhUAIGWy 6HavaX2lHtL0yMqJegZPuNN8FQv32jH8vPvgxpYPe0WhQiIN4H4KFt//GJJNQvdzCFvCe7 md21upGGpED8o0qvtE+yDbQ6hTl+JTSSyiMCZeTD3mNtK6RyoomEn+TJ5ZVCKVmvfJU9Ot x+wjt/liPeYJphi64GhVLaLQ37VVMQOA93V7NLRJhb6tYFiclU0QHSlyz3glziqAu5JwBK R/1aakCskkQN/hY2z61Zr39wVHbhK3jOwCG4hpCkTZGIoSp+4BbtJnsZoNtaSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=D2W1JLPj; dmarc=pass (policy=none) header.from=6xq.net; 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: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=D2W1JLPj; dmarc=pass (policy=none) header.from=6xq.net; 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: 6BD8D29B24 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: /KJojSzFOSVM Hi Ludo’, > My understanding is that most of them require manual intervention—i.e., > one has to tweak what ‘guix import’ 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? > > importer fraction of imported packages needing changes > pypi 50% (some miss source distro, “sdist”; some have > non-Python deps) that seems right, although the most common modification I do nowadays is replacing 'check with a pytest phase. > hackage ? > stackage (Lars?) I’ve mostly used the updater, not the importer, so I can’t say a number unfortunately. > 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’s pretty good :) > npm (WIP) (Jelle? Timothy?) Maybe 5%? But the imported packages do not build anything and don’t run tests either, so chances for failure are pretty low. Would it be possible to just run the importer again for existing packages and compare the result (minus synopsis/description) with what’s available in Guix? That should give you much more accurate numbers than our guesswork. Cheers, Lars