From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YG4sCgOjZ2NcAQEAbAwnHQ (envelope-from ) for ; Sun, 06 Nov 2022 13:05:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AGPyCQOjZ2OsAwEAauVa8A (envelope-from ) for ; Sun, 06 Nov 2022 13:05:23 +0100 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 E93F621B8D for ; Sun, 6 Nov 2022 13:05:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oreOi-0000yH-1D; Sun, 06 Nov 2022 07:05:08 -0500 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 1oreOc-0000xT-Kd for guix-patches@gnu.org; Sun, 06 Nov 2022 07:05:06 -0500 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 1oreOc-0002HX-BI for guix-patches@gnu.org; Sun, 06 Nov 2022 07:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oreOb-0008EL-Ri for guix-patches@gnu.org; Sun, 06 Nov 2022 07:05:01 -0500 Subject: bug#58624: [PATCH v2] guix gc: Add '--vacuum-database'. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 06 Nov 2022 12:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58624 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 58624-done@debbugs.gnu.org Received: via spool by 58624-done@debbugs.gnu.org id=D58624.166773627031589 (code D ref 58624); Sun, 06 Nov 2022 12:05:01 +0000 Received: (at 58624-done) by debbugs.gnu.org; 6 Nov 2022 12:04:30 +0000 Received: from localhost ([127.0.0.1]:58849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oreO5-0008DR-Rd for submit@debbugs.gnu.org; Sun, 06 Nov 2022 07:04:30 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:37440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oreNz-0008DA-UK for 58624-done@debbugs.gnu.org; Sun, 06 Nov 2022 07:04:27 -0500 Received: by mail-wr1-f44.google.com with SMTP id bs21so12632069wrb.4 for <58624-done@debbugs.gnu.org>; Sun, 06 Nov 2022 04:04:23 -0800 (PST) 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=Q5bDhve3Fp1jo468GdOwMuN9z4w4j7+9Qd0EVymt154=; b=NrbPLFa8H0qa6pfo0d7y/JkRdNw8WJK6lB4klGDu2svt8vjq5XKEEsLHaLdpIHWg0u F88NqumODNW/jvjxSiV+SKzkjNXxLGLg/VNjQWq8ZC2gjUwBKsIxZwSW44xJX6W0wdgC IJUF567q4/hQWU8exn8eIB6WskbXOsygcgZ5VxBcYBusQ95szjaIYD/dgEdmbZjpRM3L T5UfW9MN9E3LL+4Uunv1sc0xd96OV56cPGU80pYr3s7UGV5NmI7utfpNFE405zmbBgNC utyNq04hF+a4e4TmT60CtaDs7/0qFAFlGTsOofDFJIMSQWmm9t8oYwjWtDPC3s/ZQq5n w0Dw== 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=Q5bDhve3Fp1jo468GdOwMuN9z4w4j7+9Qd0EVymt154=; b=QY/b+acqNmbfLFfeVkgEdJ9PxLx5h6WqbFhkjVfZ3k4KeqTEFAVLp/TkTwpqLmPLI+ 9kZ9J2DEFoS9OLinBKKhGOHgIbSgUmPKMU2+IpyN426rwcRnfLHvlXFI/1PyF8ZfyE4i 8tsO2Pm6xHYqhIw7fNIIHA6RwtwUBa6LMdqlJBb3Qcb5GoHQ70WfxABXhQP20HxrB5zV m/JSgEw6ypPmErBLDFm9DVkdQKpzATo1tuO9Z/tEnNcupxO9yJv1aglAqm1xIwdeE7+z 1xujBgEhW9JQsIxXst1pH9FJin7m4sTD8y6GCnfyAzSQ1hXhhlIrR/fEmPVqMa1JOZ+e 23bQ== X-Gm-Message-State: ACrzQf1gk5FIZ4iswGGZektnCx3co61uSyE9Z+Pf2ZRmNkTRrx5Jeooi pFKfMnqmfA952D2N6yfiNEE= X-Google-Smtp-Source: AMsMyM4CFpHufJ2OtJeI4Jr7WjjfTpr7yzSEowelS+gp4L4dpriZXpP8TyeH5qICnRZ6fOj/G3ubaQ== X-Received: by 2002:a5d:42c5:0:b0:236:60ed:9abf with SMTP id t5-20020a5d42c5000000b0023660ed9abfmr28434520wrr.454.1667736256922; Sun, 06 Nov 2022 04:04:16 -0800 (PST) Received: from localhost ([141.226.15.67]) by smtp.gmail.com with ESMTPSA id hn3-20020a05600ca38300b003cf78aafdd7sm5064616wmb.39.2022.11.06.04.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 04:04:16 -0800 (PST) Date: Sun, 6 Nov 2022 14:04:14 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Christopher Baines , 58624-done@debbugs.gnu.org References: <56516d4a8143b96ef80d6dfd18f147568f23b73e.1666171506.git.efraim@flashner.co.il> <875yfwnh5z.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="57bD3ytS9oS22zX2" Content-Disposition: inline In-Reply-To: <875yfwnh5z.fsf@cbaines.net> 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org 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=1667736322; 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-to: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=Q5bDhve3Fp1jo468GdOwMuN9z4w4j7+9Qd0EVymt154=; b=P/jtF8Fcxol1vBv8Lf/yLDMWMYZ6rZM1beamQ4irMD9g31GcIl7guyfmUTUgmVGSyJlv9p nzk16FMSGoL7R8ECdTQEy2R4mfK/W5Z4r9GAZsa2WPX5Pb9dTXgIvSS8N9Fc5LQlOFDHyR KNwTU6Zv7aqiqYYVIXRLuvhetauhuxxUmkQJfW5x5j1wqzbkpi5xpzN51oibM7iIOE4VLV ftdqAtil3HNLynn/Bfzu6s9T/HWtRhZX2xvPx0pq7pjfPZA1DObhmw5DpyFH4z/+Q6adVj jlztGVqZNh4p72WzMOS9xbbVraAvhuYu7w79WZyKbiHXqSrL0/FkWweMt6FeNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667736322; a=rsa-sha256; cv=none; b=PK/7EqvF3SRdiAoyGd2IDhPtTAGK3RgIXYiDF5QFDwCdCTYvljdpq+FwZMkR0kzV9u9Bmn KZ1Qz5Mf3p9X5DPU5ZxOy9wPWLcLz2BdPp/vn+Ll0rv4iouXb/fy5zgvsZSmd2+3ZiGRqY rhkGqpOLU3UYKxLermOkMWBWt1k4mw7iT51imSECBEs5twML1bdAM+DnLp9ZOwe/NR8W26 ppINyGAqmzi2NHci5if9RU6UKEbmWPG+QjGONHroyBP/753FEN/nsNyH9Azzo/OspEul5z pXZTQaavX50SgB3WeDHcqHCi272LvF+bvnB+kqJe7baj0KqSTmGeS9rvPXxu6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NrbPLFa8; 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: 0.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NrbPLFa8; 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: E93F621B8D X-Spam-Score: 0.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: +Q/oDIHwiIt8 --57bD3ytS9oS22zX2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 03, 2022 at 05:20:24PM +0100, Christopher Baines wrote: >=20 > Efraim Flashner writes: >=20 > > * guix/scripts/gc.scm (show-help, %options): Add '--vacuum-database'. > > * guix/store/database.scm (vacuum-database): New procedure. > > * doc/guix.texi (Invoking guix gc): Document the option. > > --- > > doc/guix.texi | 12 ++++++++++++ > > guix/scripts/gc.scm | 11 +++++++++++ > > guix/store/database.scm | 9 ++++++++- > > 3 files changed, 31 insertions(+), 1 deletion(-) >=20 > I haven't tried this out, but it sounds good to me +1. Thanks. In the documentation I used overtime vs 'over time' and I had a double period at the end of the last sentence, which I cleaned up before pushing. --=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 --57bD3ytS9oS22zX2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmNnor4ACgkQQarn3Mo9 g1Fx2xAAqLtJl/cg0EOQvFAA4yY1EJmivs09WUkW3Q4WQ3YhRUPP/tGnOmIIosL4 wj5yFCYrgQ07Zd3jY0h2BEj+C9X0/qnBUvBAHPThDZG+FQNG2JPU/FrxrsYRaZug h+tHSJTjEPug25d+i8nuvN7OQhFmie2Gt2klSv7QxRuDiTZTNmscmX5psChjy1Fp tBK/MzIkM3//uRd9Cag3qoTsKW2sTtuSILq/qzC9RzztqH53pPor2MAS25USIYNN U4A+qphlbuxi8fXbcprT6Zbcbf7erqGBJldTUJAAuPTV0vV4Gc6JxsW9P2q7bxKQ cz8rwEKkXroUfVhSiYjQrF2u92hL6MCgHbb3hitA/OIuVJ+myg53cIfdUXN2xO4i YzeIK6bK28ciDqtS2K7AjM0yrzlxHGBmhdSjRkl0N72JqABqKwmKH7iBGCwc0jf7 GfHTndsIO95A9rmj8VExfzXSm0dYC+idNvdmSOU+07dFjtwy7FgKmpyVvNzerYtQ 6x6O/2hSaCPH+SI7zQ8sSxoKROJX1f9rnLEvB/jnqnBCn/2texUEeDTBAksWxYHP RmYVEu49UOheLgn+tGXcxUrOOqF++7wBXy6cSOWCqHK5FgpU4x9y+Q3C1FaKl7Ie d8tE0IwxQqksQsa6FtLy9Ku3I2U7ZBOWr95CNPIjEXKGf6af8RE= =Rfqp -----END PGP SIGNATURE----- --57bD3ytS9oS22zX2--