From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0PB1KESN0F+/OgAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 08:39:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id vd0+JESN0F+yFgAAB5/wlQ (envelope-from ) for ; Wed, 09 Dec 2020 08:39:32 +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 762D89400BF for ; Wed, 9 Dec 2020 08:39:32 +0000 (UTC) Received: from localhost ([::1]:38892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmv0T-0004tz-RK for larch@yhetil.org; Wed, 09 Dec 2020 03:39:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmv02-0004gd-5x for bug-guix@gnu.org; Wed, 09 Dec 2020 03:39:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmv01-0000CV-V1 for bug-guix@gnu.org; Wed, 09 Dec 2020 03:39:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmv01-0001kU-S8 for bug-guix@gnu.org; Wed, 09 Dec 2020 03:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45058: Duplicate inputs with Crate importer Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 09 Dec 2020 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45058 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Goaziou Received: via spool by 45058-submit@debbugs.gnu.org id=B45058.16075031046660 (code B ref 45058); Wed, 09 Dec 2020 08:39:01 +0000 Received: (at 45058) by debbugs.gnu.org; 9 Dec 2020 08:38:24 +0000 Received: from localhost ([127.0.0.1]:60924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmuzP-0001jL-Qc for submit@debbugs.gnu.org; Wed, 09 Dec 2020 03:38:24 -0500 Received: from flashner.co.il ([178.62.234.194]:55444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmuzN-0001j1-Jb for 45058@debbugs.gnu.org; Wed, 09 Dec 2020 03:38:22 -0500 Received: from localhost (unknown [31.210.180.46]) by flashner.co.il (Postfix) with ESMTPSA id 56BB7402FD; Wed, 9 Dec 2020 08:38:15 +0000 (UTC) Date: Wed, 9 Dec 2020 10:38:13 +0200 From: Efraim Flashner Message-ID: References: <87ft4knexa.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="P0+ge7ZuwmTboEX+" Content-Disposition: inline In-Reply-To: <87ft4knexa.fsf@nicolasgoaziou.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45058@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-TUID: QMhwQ67LYIJD --P0+ge7ZuwmTboEX+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 05, 2020 at 10:03:45PM +0100, Nicolas Goaziou wrote: > Hello, >=20 > I noticed the Crate importer sometimes returns duplicate inputs. For > example >=20 > guix import crate bat >=20 > returns >=20 > ... > (arguments > `(#:cargo-inputs > (("rust-ansi-colours" ,rust-ansi-colours-1) > ("rust-ansi-term" ,rust-ansi-term-0.12) > ("rust-atty" ,rust-atty-0.2) > ("rust-clap" ,rust-clap-2) > ("rust-clap" ,rust-clap-2) > ... As noted here=C2=B9 rust-clap-2 is listed as both a dependency and a build-dependency. For the sake of completeness, there are also packages which require the same crate+version for cargo-dev-input and a looser version requirement for cargo-input. It seems worthwhile to deduplicate the cargo-inputs, since it's a combination of 'dependencies' and 'build dependencies', but I'm not sure about removing duplicates when they appear in both cargo-inputs and cargo-development-inputs. =C2=B9 https://crates.io/crates/bat >=20 > Regards, > --=20 > Nicolas Goaziou >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --P0+ge7ZuwmTboEX+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl/QjPIACgkQQarn3Mo9 g1FdVg/9Has9+9TihDcO8uXvrk8XCaJv0iWzJalfPBbqwGzkfQs0B6gIJIILvu7f jcBL2NliWtlcc9lgWHpRKCq/GgkdtEKvVzK9Oook+JVerUf4+wsu0UvFXeGCmzhu nktSAbasV4bWxGcKpeLsdRF6tlZpkaZHMdvDV9N/KKFXacGhwh4SxIlf6Kns6HIC si2qsWpwZY6/lzmiHgIKlkcK0pa76JCUI0TsO0ambE6of5QOdPqRDF5T0sBU3Fx9 ssF928wOe9M7mgXAwjgacGKFWd7FSSrXeoZ6q8S/4tA4Etn00MkUVVTfPWr6JL8v p51pvvvehDCcsyC3BiuLnOmKFFZ1gylWrgqJrTrToHwLzlTPCX57Nh1s++OClID0 UieECZHPBtvB+BQw2Add9vQqu6vn4+0+dz1YlLbyuVCSNWIIIB2DgeCuTKnJXd6a yPr0zxWvOn4ABXvsOTwJeg5xkKXh++w0DdjxCD82bfgJOHwIdUI1xEYqCGs3vp0O 4mjxPxBGHFjEGUouGQlkHjP+zQWCMgvSSDCejkHPqLjy5sacOcc/gWWiokRoaKCZ b4RZvTugUieQcub89PGCH8+BTJDqyDlld2NTOTFMjytz8wHeyKfIgsInSpzavgcr u2ekEhUeaS2I00i8VV9HDAY/AZ7nSC34i7uqlikeP3wAYEdSeRg= =fRn3 -----END PGP SIGNATURE----- --P0+ge7ZuwmTboEX+--