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 2CIvEvWLemEsKgEAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 13:39:33 +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 oK3lDfWLemHlNQAA1q6Kng (envelope-from ) for ; Thu, 28 Oct 2021 11:39:33 +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 D201E2E0B9 for ; Thu, 28 Oct 2021 13:39:32 +0200 (CEST) Received: from localhost ([::1]:41314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg3kp-0006E8-Rk for larch@yhetil.org; Thu, 28 Oct 2021 07:39:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg3jx-0006Dz-65 for guix-devel@gnu.org; Thu, 28 Oct 2021 07:38:41 -0400 Received: from lepiller.eu ([89.234.186.109]:34922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg3jr-0003dI-2s for guix-devel@gnu.org; Thu, 28 Oct 2021 07:38:36 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 8c249e86; Thu, 28 Oct 2021 11:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=nwSq+4TI0V2T bXbsKq/5UyjeMSdCeQXH39+D6LDcVo8=; b=kRLzQ0IIVksdH+RcIe+Tl7pmTUoK hriTQyMY74NHsWKyv+zoJBa5jp54kXvZG3bXrO9mYfF6L62kwzcw09p7kpxlDFoO CdeB3Jf0dQhonXsinqlNdU6Rj1g6h7tgLu8rTddyYLOJC7J9VcaTFpZ1bMaw0sum XiNl+0cdkilVT1nbPeq+m30s32/ZE+n6ADJkRiNvAdgdjz+L2GNjIwW4pfxKG19D jWuG9vPS5FDDXjAtfEonb/Gy6X88gUdIEf625Ip+exFxnzJeuCj2Re60UILMiJcG n7nMzO4TsP9+3qeKPSxc9Il1lbsxUIODIEHbnzGsxlhYkfWFv4pfb7AYYg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e3a2252d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 28 Oct 2021 11:38:18 +0000 (UTC) Date: Thu, 28 Oct 2021 07:38:12 -0400 From: Julien Lepiller To: guix-devel@gnu.org, =?ISO-8859-1?Q?Ludovic_Court=E8s?= , Guix Devel Subject: Re: Accuracy of importers? User-Agent: K-9 Mail for Android In-Reply-To: <878ryd8we4.fsf@inria.fr> References: <878ryd8we4.fsf@inria.fr> Message-ID: <741B74BD-D4F6-45A6-A068-461ED8EB5AE7@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, SPF_HELO_PASS=-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: , 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=1635421172; 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: 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=DhLnm/rpIV1xqZ1QaMXKtmIswJbZuhaPTv1vKnnAn6M=; b=Z8CYiF3AP1N5i9uGrKFCzEISf+x93CrWtAMqZwQN6SdXTqemUm2q7v58uPNmbPX5Q0c5k1 gTGJtdl3xpqafTR4M+QPmaHT6B8VsLfQ/TULDbUbnwBdNxsrEHgpa3Gll0OZiAFqn0n4Ad x7d72IO9Fh+o3rvBt1oezeCuf+peM862NhmO7bFdfLXEVpHNl7MpZWh2JWemvhcm3zsHBE 03z6uDv50Ir/7uKi5npPi6JXdaZozmW2v9c1hLSAlIx42xCcMlmf9EogLtqrgubu/n+mfY M7Mp2viTGL+YOkC9kgRhPJ0PDIfxZ5maNVM38YaorYtBQzD6gOsGxlX5llicOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635421172; a=rsa-sha256; cv=none; b=IxCLZjbY8yIr7KTcTWkvS9eZoYZVLhk56EJej12KLLXzaiBbUPhyFNva6QAisJF0tPuOL4 Y7qXrOxmYQwQDBJqEIwUyvQp0Cktoyb4cICOU2qKE7qf10ly75nITj4osjqwje0JoH+IVm CmMgH0SejbfMYfO+ak3nsqkv7osuA4M9PFwbBKkKyQYcT5ahrFrrAmUx7LlSbfJmaQzytG FRrmFfhZt4QqGe04L6SS8y9Ld3VGZZ0halAFiSZia33CKo/+Tuxah0D6bAX03Qkim1Gyiy S8Y6WV8xWPmsjFz+l1vEj+Y41USamqduoBEEWRweH0K9mAUJxYtTNqOK3d97kQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=kRLzQ0II; dmarc=pass (policy=none) header.from=lepiller.eu; 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=lepiller.eu header.s=dkim header.b=kRLzQ0II; dmarc=pass (policy=none) header.from=lepiller.eu; 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: D201E2E0B9 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3zLoZT8S5gM+ Le 28 octobre 2021 03:02:27 GMT-04:00, "Ludovic Court=C3=A8s" a =C3=A9crit=C2=A0: >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=2E > >My understanding is that most of them require manual intervention=E2=80= =94i=2Ee=2E, >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=2E 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?) > gem ? > go (Sarah? Leo? Raghav?) > cran 5% (Ricardo? Simon? seems to almost always work?) > crate 10% (Efraim?) > texlive (Ricardo? Thiago? Marius?) > opam (Julien?) I find it pretty good, when importing huge numbers of packages recently, I= was able to build all of them without modification=2E However, lots rely o= n a github tarball, so I would change the source in these cases before send= ing them to guix=2E > minetest (Maxime? Vivien?) > julia (WIP) (Simon?) > npm (WIP) (Jelle? Timothy?) > >(Lower is better=2E) What would be your estimate? =20 > >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) > gem (similar to PyPI) > npm (ditto) > >What about licensing info: which ones provide accurate licensing info? >My guess: > > gnu > pypi > cpan > cran > elpa > go (?) > cran > crate (?) > texlive > opam (?) > minetest (?) > >TIA! :-) > >Ludo=E2=80=99=2E >