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 ELm2KtBSfGH1jgAAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 22:00:16 +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 uMtzJtBSfGHbcwAA1q6Kng (envelope-from ) for ; Fri, 29 Oct 2021 20:00:16 +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 7315F347C6 for ; Fri, 29 Oct 2021 22:00:16 +0200 (CEST) Received: from localhost ([::1]:52400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgY2x-0000zO-G7 for larch@yhetil.org; Fri, 29 Oct 2021 16:00:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgXZH-0006aQ-LF for guix-devel@gnu.org; Fri, 29 Oct 2021 15:29:35 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:45277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgXZF-0000cd-29 for guix-devel@gnu.org; Fri, 29 Oct 2021 15:29:35 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 7F67D100003; Fri, 29 Oct 2021 19:29:27 +0000 (UTC) From: Nicolas Goaziou To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Accuracy of importers? References: <878ryd8we4.fsf@inria.fr> Date: Fri, 29 Oct 2021 21:29:23 +0200 In-Reply-To: <878ryd8we4.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Thu, 28 Oct 2021 09:02:27 +0200") Message-ID: <87ilxfy6i4.fsf@nicolasgoaziou.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=217.70.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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=1635537616; 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=whLUi2BiVQ34LC1zAaGVIZjQJbfcPNJizLoMcv+tmUU=; b=Nv3xRIpNIbNqLhLv1/293yVYXfGZ0OPpJ53U1z7tX3xyE+GEcJZx3ykrj5enH33/LnzaiK T4fURXzEDh56dYvPBd6hBddg0tkE1RaSlGotfVS4hGFddFc2HoL/ISCuAwHTjsT6C6m7zX Th2YEq8dI/9LsksaD8FdfHhx3d1/HPIvlMF5R02FoOHKFV5TiiXQQPAcxCEjSVg4Zq5YOX YepbWFPcCxV8eYC3qJMOQBUDGIoRj8ueCKt34Gf4Eyp75QqDT6T4s+mpNbV93SD7bnTLpr FW92OtQMskK+krpo2JT1sMJsDmwVz/wTwXo9x6HyULju+k5xYww8yACrHpr/Dw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635537616; a=rsa-sha256; cv=none; b=PBuad1dD5RBg/gynmjpCRNca1Wm9xfki41o2xfDa4NBPNQP2qkFd40VMnYZOVNj3fn1n2t TEh49x42Je55iGCtoDMR5KQGb2PXnAIZ3ZAxvd9atR68Myp3jaF6K2E7LC5jmTDhHb23su 6bm+Tb2rKdgKD7ruDeg9ZUrO76cJ7/ZtY5/g5G0vdzzViP+FV/xLRkjyvfv2eSnxRwQZ7n 0/7AtvBFnV8y4N2YwYhp4+8PfpICTtcTobruURoH9jJHPEYUJjB8hRGwPgPUGQu21+uLoN wGcmlzeRln6ljQgAlVYplW5yatjwtiV7Lo1+JTcli8bJHTJlmRuL7ABDLKcmyA== 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.43 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: 7315F347C6 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: mlDJsoluAeUT Hello, Ludovic Court=C3=A8s writes: > 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? > > importer fraction of imported packages needing changes > > gnu 90% (doesn=E2=80=99t know about dependencies) > pypi 50% (some miss source distro, =E2=80=9Csdist=E2=80=9D; so= me have > non-Python deps) > cpan ? > hackage ? > stackage (Lars?) > egg (Xinglu?) > elpa (Nicolas?) The elpa importer is accurate. Manual changes are often (I would say around 75%) required for the description field, tho. However, the generated source URI is not reliable (see bug #46849), which means the importer is not practical. Using it means the imported package will need to be updated quickly. > Among those, which importers provide source that differs from what you=E2= =80=99d > get from upstream=E2=80=99s checkout or release tarballs? My guess: > > pypi (see LastPyMile paper) > elpa (gives hosted tarballs that can differ from upstream repo) Indeed. > gem (similar to PyPI) > npm (ditto) > > What about licensing info: which ones provide accurate licensing info? > My guess: > > gnu > pypi > cpan > cran > elpa Correct Regards, --=20 Nicolas Goaziou