From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oFz6K+jbVWMV/QAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 02:27:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kJc9LOjbVWMZdQAA9RJhRA (envelope-from ) for ; Mon, 24 Oct 2022 02:27:20 +0200 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 58BED2CE2D for ; Mon, 24 Oct 2022 02:27:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omjK0-0000FC-25 for larch@yhetil.org; Sun, 23 Oct 2022 18:19:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omKHr-0001H1-Mg for guix-patches@gnu.org; Sat, 22 Oct 2022 15:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omKHr-0006Wc-8W for guix-patches@gnu.org; Sat, 22 Oct 2022 15:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omKHr-0003yq-2f for guix-patches@gnu.org; Sat, 22 Oct 2022 15:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58614] [PATCH 000/187] Remove unused crates Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Oct 2022 19:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: Christopher Baines , 58614@debbugs.gnu.org Received: via spool by 58614-submit@debbugs.gnu.org id=B58614.166646734615264 (code B ref 58614); Sat, 22 Oct 2022 19:36:03 +0000 Received: (at 58614) by debbugs.gnu.org; 22 Oct 2022 19:35:46 +0000 Received: from localhost ([127.0.0.1]:42378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omKHZ-0003y7-RG for submit@debbugs.gnu.org; Sat, 22 Oct 2022 15:35:46 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:34305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omKHV-0003xr-RK for 58614@debbugs.gnu.org; Sat, 22 Oct 2022 15:35:45 -0400 Received: by mail-wr1-f41.google.com with SMTP id k8so1024537wrh.1 for <58614@debbugs.gnu.org>; Sat, 22 Oct 2022 12:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=JT6itanuXWeUjs2WG4YBhC4afMRbq24i4lzoDjJ5N4w=; b=qt552TVQx6YgYjn8OpTmLk4n50ozO8ohtEfky4frfF+wvrAf4K1m/jlopq1aDiZL5s yN1bLtQkwKBsQ+tPkrzNWa8caN5UWCrFQ4pi5/Pc7/ja2FwHjXh1lh91e41ThAmaq9O+ w4wQZiRPdorR8qjbcmZ5Hz2+W4aSpQMUN1NllvVNVkvgy/ggyKJIY8rdtzSaLaEwtVjV iUE3m6rRVzB/lgKPnaF6PS/kQpvjY6bl/hsIruQMD6Y5rgas2OlVk35NhV68rqWDmzei qnyniatYP/aGoeAdC40J5TZZwe0IUHMGEa50qlNMJsVsFrs8VpiYcV4hEJBGUendjRjO QhCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JT6itanuXWeUjs2WG4YBhC4afMRbq24i4lzoDjJ5N4w=; b=QMg5gXEJ8avhlEfiIoMMXi3NEbowjZPO7983WQmL9Dem1ZPb9F7Rmo/fZyWbPDLVS5 Bc5eXIqo0iyAnlHAz2tzHWAXG86/NkMdBP1wS06ptOc0gmE3vHaNz6lpzzu1wsGJBAL0 s1AzZrYOoAIwXqM5DE7CESKUmC51o4yuvXCT189H3jKjndLhaDawRM4p/9YdoPR7PXs1 PqmHS69pHDqUKTsbCoIqvukhVXlVwoSM1iXJg5El1epJHGXbUvSeNHk+nii+oDrm8mAP sZeRzr5Cv6e3lTDOJrOUdt4pSomoaJ/Oe2Dtx2AE+saxZiCbeYyqm17QMe6n2EjSt9Ac eJAg== X-Gm-Message-State: ACrzQf3O723cjv4MMq59/IyOYfKcZMQ+jBYCDRmYoNtipeuXWRJiRnXd 9Aw9FZ0xeFqjtdUk4pnny50= X-Google-Smtp-Source: AMsMyM6GWDIPbr8xXjr+IdbYJJY5mFktCbEuecg90BLBwlypGmHvNBMgeGXF7xA8neKQ1qg1dihGEA== X-Received: by 2002:a05:6000:1842:b0:22e:7bbf:c75 with SMTP id c2-20020a056000184200b0022e7bbf0c75mr16197817wri.547.1666467335525; Sat, 22 Oct 2022 12:35:35 -0700 (PDT) Received: from localhost ([141.226.13.62]) by smtp.gmail.com with ESMTPSA id n32-20020a05600c502000b003c6d0f8c377sm6891430wmr.7.2022.10.22.12.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 12:35:34 -0700 (PDT) Date: Sat, 22 Oct 2022 22:35:22 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Julien Lepiller , Christopher Baines , 58614@debbugs.gnu.org References: <878rl9i1tw.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Hs1E4e2P3Ss+pa2+" Content-Disposition: inline In-Reply-To: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666571240; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=JT6itanuXWeUjs2WG4YBhC4afMRbq24i4lzoDjJ5N4w=; b=YjIvm6JuQLLq0I7iidX+Wd1S9GFGRewckipSgKl4L0jYjnJvUyn8tNTWLxHr4/4MMBHw6T lVm45j7FSuP/5ciS3kpLUQWnCInPqvctgMQu5hUtGaUnQB4FfiAokgORvq2xIgSRcXqZp5 UBkc6ijRc9zYKW1djdFUbn1SLZTCLbLPbV77WO3uqVbZE7H+EXDdlYYXWg480VeroT0oVw a9p3u8CdqePKxQOw0FiqJm5JoeDL/YyqBfZMpetmBz4JldnMggRxO0tUyUTLvDbuRAjw1/ VJsdZZOcsuPww/KnHaGpJtnxwEYSEkxeIE45oFzLcREQ8zskGTnEWeUEYIc05w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666571240; a=rsa-sha256; cv=none; b=DPGyoMZ38id7Kx+wZTU5tqdPYdtHxepV3/WJ9o2pWjxb2rzUG073JWk+6V/u30N8yzYwl+ K5I81beTVYXYSr9IDj93nbs/IdCYyARjbgMMYEustsucW1sUujl9OUlJdNVDFsm9SGtO1A SNgJbg2kn24eAnvzM6oYi13DGlW3Vsdk9z4yXjvvTflsvThKNuDLNEdIu/gxHWUOoYsyAI pTJQ5E7l0CxGu/hilKlbNcuOLtP1A5gkk4w/YMrg7Ip683tvhQwcg850Xe4kI+wy0b93k3 eWBkGDrYoLRctp8nE64ncx8HaCQUqNNXGhEKgwnrMsfoRQu36uZ/tc3uuyURow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qt552TVQ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qt552TVQ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 58BED2CE2D X-Spam-Score: 5.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: WWIeUOAPfwTh --Hs1E4e2P3Ss+pa2+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 22, 2022 at 07:49:34AM +0200, Julien Lepiller wrote: > I'm wondering why we want to do that? Are those outdated maybe? At this r= ate we'll remove all crates :) Would it be that bad? :) The cargo ecosystem relies pretty heavily on semver and due to the upgrade cycle we don't always remove old crates when nothing else depends on them. I'd guess that some of them might be part of an upstream-all-dependencies move (which I've done before) and most of them are probably just outdated. > Le 21 octobre 2022 18:21:47 GMT+02:00, Christopher Baines a =C3=A9crit=C2=A0: > > > >Efraim Flashner writes: > > > >> This is round 1 of removing unreferenced crates. All of the crates > >> removed _should_ have no dependencies inside Guix proper. I used the > >> command listed below and then manually searched for the lines ending > >> with ':1' and made sure the package definition was the only reference = to > >> that package. > >> > >> grep define-public gnu/packages/crates-*scm | \ > >> awk '{print $NF}' | xargs -I{} sh -c 'echo {} && git grep -c {}' > >> > >> I then removed all the packages and rebuilt all the modules which used > >> the cargo-build-system somewhere inside them and rebuilt all the > >> modules. > >> > >> git grep -c cargo-build-system | cut -f1 -d':' | grep \\.scm$ | \ > >> sed -e 's/scm/go/' | xargs -n1 rm > >> > >> Efraim Flashner (187): > >> > >> gnu/packages/crates-graphics.scm | 187 -- > >> gnu/packages/crates-gtk.scm | 59 - > >> gnu/packages/crates-io.scm | 4645 ------------------------------ > >> 3 files changed, 4891 deletions(-) > >> > >> > >> base-commit: 3bb145b6e2a8c84e7739ead9ae76dc4d42bb9850 > > > >This looks good to me: https://qa.guix.gnu.org/issue/58614 > > > >Thanks, > > > >Chris --=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 --Hs1E4e2P3Ss+pa2+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmNURfoACgkQQarn3Mo9 g1FzHw//THc1/eICs29PStlngJW9Ctu9MSg3KA5sjSYVdajTQG+pFY39CirnMdp3 DMzfNl/0762Ma+4rgu20ZAUqwej01rt0rXJtG32UGkVNWboAZ/ht1xTteJ634O4f hKE2GIpTJqcgs8eTggUmWJBjs7XTTzREr2zQ+4YdMm1RXxDuYCrH3/JE11IqqQuQ AKrynn55aI2blVT+WCzXFQlCcTXo6gUHEfQhJlzCs+LWZPdh5sFRSb7q/w9RIacs b1w2aJ1tGy7cY2ZgD0EIAbyf0av3CqX9Wjps5cmtgHRiahVJHo3DYUs6z/pSbJBO AU8NU2IEFuG6kwJZU+6WEBKMju9rM/Whi80QKVoGQj+RY/15gRysh1xkHy17ZAmC jFDAA3murvQfGRa9EsE89KlNEIG/15CeVACS4+tj5tIGgVPoWn/DpUJ77oRn5Jqe VFccBvEZ9zJHvPKz5tjjUG+MPWz4JAd7Es1gSZm8peAEsDzNykomqtqSaDvGXcqI EyjKbth+GbvZIZFD7Vu9NkE9Pac/RC5Wx2mSYqRIvAnfq4TarSkp+Zxjj8rmxsHh w3DZmZxYn0A8uMjEue2xnFMQuqMG5anHxrzofKa8uttArreRVkwP5WFB/FIjfFXI fN5YOqFG5nSLqs2afKzS9xS7Uh/mcXfLzqINSc+amQ9UcVqStDo= =yd2v -----END PGP SIGNATURE----- --Hs1E4e2P3Ss+pa2+--