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 iNTVJ7kkfWEfqQAAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 12:55:53 +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 0ESGI7kkfWFsTwAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 10:55:53 +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 5B2F93EB05 for ; Sat, 30 Oct 2021 12:55:53 +0200 (CEST) Received: from localhost ([::1]:56338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgm1g-0004mV-Gv for larch@yhetil.org; Sat, 30 Oct 2021 06:55:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgm1L-0004mB-Ae for guix-devel@gnu.org; Sat, 30 Oct 2021 06:55:32 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53180 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgm1H-0004Sh-6w for guix-devel@gnu.org; Sat, 30 Oct 2021 06:55:28 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1635591324; bh=uslmrMH5wqHq5vp4YNULwRVean8JhtDpygIfWsFJKbw=; h=From:To:Subject:In-Reply-To:References:Date; b=NNcJe/0coCwle7BBMyH/S17Ugqsp93rM0uTy+6jO82mcyn8ThDqhzlmzIktPtK5RB C70wo2L1HbqYWCDHwPsaiRpClkVwEFyHOoFiNJLSMyHRIj1NwWxfZfYg63X6e2rMkH 9llG7lcay/Ej0lIDO8GunGTDzyrrz5Ho9Cq9mWZw= To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Guix Devel Subject: Re: Accuracy of importers? In-Reply-To: <878ryd8we4.fsf@inria.fr> References: <878ryd8we4.fsf@inria.fr> Date: Sat, 30 Oct 2021 12:55:23 +0200 Message-ID: <87mtmq7pes.fsf@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=0.076, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , 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=1635591353; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hh9p10VaXwmSYL62jZN1i10xgSs2ldfp4gCJ7RLUmu4=; b=HTLHPR3a0qGcBM2eUtIpxE8QtzQXLe3wn3d8docb/YOxL76Su9uw2+LF/pTFxKFsm4DiqA Hf4pJ9Kpm7XsfjHPNNa/0/XFMQJkRo0Z1+lWnGrEWN38B6U0ZnZAsSlZdZnzaDNrjGoHyV dp+1ElDwhcIossu7ZIYA7BJG5c7liJr5+ZzFmNU3qRZHTUU7VBC6wRCz69ytGn45MJXsEo klaPDWuuuAiH1W95sdIfuHF/D6DncJPvRA/HlwCvk2HcYZ4VqS9uykPz1yV+0T8PqHEimF 20ugbucsAK41/+eyqtJW1UKzieqKSehr4pV6Z/JVQDlj+exnPG1JzJJAzY8ZnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635591353; a=rsa-sha256; cv=none; b=HOX2voZC4JC2Sa0aAOulH3Z3lF4oNGaY9/GsbUuC9admsnfOJ6JD+Ku9Iq7p3SRg67Gfpr s71K7LSjKhhSlyf2qQqfj4h5ctsoXa34IOlc0KqfqOXxvNXVgPQC4n8OYyv+1oK17YT+wj +3ABBEk25mRMsr+w9PmagUJIDiiBeNMA0rlF0peG3X64i3m0dGdyX7EXHvviK/+/hYrYtf kftKRQdPMirYIav/y2M8utfVYzQWjmWvFhTClPgocaa7QpcqwWH5+rdfz978GvHHG/lgnk I2cmsBvsyFrZpLB/k8wSnWLeED6gUKZ/sioC5qYoTfXnaAn4NE1b817HTuTNlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b="NNcJe/0c"; dmarc=pass (policy=none) header.from=yoctocell.xyz; 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: -4.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b="NNcJe/0c"; dmarc=pass (policy=none) header.from=yoctocell.xyz; 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: 5B2F93EB05 X-Spam-Score: -4.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: gsgglQgXpI9j --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Oct 28 2021, Ludovic Court=C3=A8s wrote: > Hello Guix! > > As I=E2=80=99m preparing my PackagingCon talk and wondering how language = package > managers could make our lives easier, I thought it=E2=80=99d be interesti= ng to > know how well our importers are doing. > > 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?) The Stackage is mostly based on the Hackage importer, and they are unable to parse certains things in the .cabal files.[1][2] I would say that this happens maybe 1/15 to 1/20 of cases. [1]: [2]: > egg (Xinglu?) I haven=E2=80=99t used it that much, but I would say it works ~80%. Some egg packages specify system dependencies (e.g., OpenSSL), but the importer doesn=E2=80=99t know what the name of that package is in Guix, so = it=E2=80=99s not always correct. > What about licensing info: which ones provide accurate licensing info? > My guess: > > gnu > pypi > cpan > cran > elpa > go (?) > cran > crate (?) > texlive > opam (?) > minetest (?) For the egg importer, many packages specify the wrong license in their .egg file, and there is no convention for what naming scheme to use, so sometimes it is =E2=80=98GPL3=E2=80=99, other times it is =E2=80=98GPL-3.0= =E2=80=99. The Hackage/Stackage importer generally results in correct licenses, so I would also put it on this list. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmF9JJsVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5UyAP/j2AbEF8Q7D/GOmSVowrTKBMuVmT 713EbAbZ9sSse1QnhE0bfDYwpKnDVumq1zCmR/zyh00G0C2jU6jnSSkH1LtN8Q+L HouqAK+Ss9kyccvdKQyipmQD1QB348cvWNm1BKwpoCFE5w+HRpjA6RIaGKiagspC LwUPt0FK9r94NBiG8ULZJLj3GXbXelseEFkyUTWDdAII0O9gJj7qmuqNIJP51UCu JPvV/rspaOoiYSqk24hRomrkmscZiPFwunXEgtxlWg/tVg81I7Bdm5yFSVH3EKuc Tf/CrrOxgOLCeNJscR7EEmWIHa4MDVmwXHG4sGnlGRfY8Bm89nHF9h6uJMFFguOY euE3X1G9ZJ5gv0Xts40ovY0GBk20tdQsSdsaGmav797BB7i8D+Mw3umVOdXmvWFq w+TwhscierqfMoEmsrphtKGqL79upOsXV8f4ZrFrMgAlAlXNEh7a9vqH5FxFm/hs ZtjDsXrdZyqQB89X66ZMeVBCxA+8W6CO1hLMCMM4qHkJWJpoNNNUmS5+N9U6OWzt agoT0w7rG9fvfR30U79xLqt7YdpMCKqmAdrrUGeq113OZuH03Dx0UzJwaGJgx49H X9jv7GsWum2RtkIaPpmD/oLaZJAGw3c+LH0u3fUrxKkikANH1LjdjK9ARQUnaa12 RPbheSz2P6GBG3iC =UdC1 -----END PGP SIGNATURE----- --=-=-=--