From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mKOSBKPqY2NKggAAbAwnHQ (envelope-from ) for ; Thu, 03 Nov 2022 17:21:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EPqwA6PqY2NIXwEAG6o9tA (envelope-from ) for ; Thu, 03 Nov 2022 17:21:55 +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 A569FA401 for ; Thu, 3 Nov 2022 17:21:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqcxk-0000LS-5f; Thu, 03 Nov 2022 12:21:04 -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 1oqcxi-0000DY-Nc for guix-patches@gnu.org; Thu, 03 Nov 2022 12:21:02 -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 1oqcxi-0000Hh-9M for guix-patches@gnu.org; Thu, 03 Nov 2022 12:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqcxh-0003B5-Vp for guix-patches@gnu.org; Thu, 03 Nov 2022 12:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58624] [PATCH v2] guix gc: Add '--vacuum-database'. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Nov 2022 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58624 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 58624@debbugs.gnu.org X-Debbugs-Original-Cc: 58624@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166749245512195 (code B ref -1); Thu, 03 Nov 2022 16:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2022 16:20:55 +0000 Received: from localhost ([127.0.0.1]:50134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqcxa-0003Ac-TO for submit@debbugs.gnu.org; Thu, 03 Nov 2022 12:20:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:37092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqcxW-0003AR-1c for submit@debbugs.gnu.org; Thu, 03 Nov 2022 12:20:53 -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 1oqcxV-0007UL-PK for guix-patches@gnu.org; Thu, 03 Nov 2022 12:20:49 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqcxU-0000GR-5M for guix-patches@gnu.org; Thu, 03 Nov 2022 12:20:49 -0400 Received: from localhost (93-63-133-243.ip27.fastwebnet.it [93.63.133.243]) by mira.cbaines.net (Postfix) with ESMTPSA id 022DE27BBE9; Thu, 3 Nov 2022 16:20:41 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b1e32608; Thu, 3 Nov 2022 16:20:41 +0000 (UTC) References: <56516d4a8143b96ef80d6dfd18f147568f23b73e.1666171506.git.efraim@flashner.co.il> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines Date: Thu, 03 Nov 2022 17:20:24 +0100 In-reply-to: Message-ID: <875yfwnh5z.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1667492514; 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; bh=Wj7rMcf63Zm5bYacYCPyQq24kYUjqn30Rrrj+T7D8sw=; b=Hz6bmNhOJbhmQK70pHYjm5lOP13FMVQHbfoRtZHWXGWbtPu5PNjJJNb2cee53m/YYy+o1v Yn8HGta1SgqyHbDapmb7YBu2b2MFekofXSMUWlKLZXIhQ5h7uk9Sy61UdPtGX7fwjjln0d NuPHHpx3xdZSxMqC0LR0L0ecLjmRh4XmExZhFnfhzXmA6qEQ/b/GJxj39jxpQ4+71Y+Qon xzNQ47Zz8rz/koEMDBQX9whNB9UGh/vk1gsZgXBin2NEkHqMv/UXl16WZHxtEGOtpCAIQb ag+jhrwwZyFbCG7V8prR34frkb+xTBYj9AanrRwzyIJMLvKEeT3w79Rk/reWVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667492514; a=rsa-sha256; cv=none; b=MfRVzo0DODA4Zh+55+O2ZPkiVEOgstMqYVlRWphlohbwBxxPr64p8YI1fh6ZrSUwVzIjZM Mpmo+pjseJjlEyINZZ0+C/EuSn5ZxXMnYbk+24BQwugdETOvpX+Wes6tnnc4hub2rtgksu ftfILDvqCE4lsZGAd8og4Pkap4Il3XGW5sDw4bY91qdZkOfscRw48KYeaVGUF9uT3D0aDB CW3q/EiF6/03BCRJ+r9QdR5Ep3b86ztYiCs4o4kY/OMHFkRpQCYr62AlRFXxpQWvdiTmHC cwQIQhFJyY1Slh6aU1r8rV747TmMUaWiBvwSmLo6onLMev7bEJlhzqGc0lIx9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -4.79 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: A569FA401 X-Spam-Score: -4.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: FhQa8mYeBmnG --=-=-= Content-Type: text/plain Efraim Flashner writes: > * 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(-) I haven't tried this out, but it sounds good to me +1. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNj6lhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeQXQ//SUtWH9tIqQPcupWFB+IOCcSvLzCX/wWJ 2n5bId8tGBtk8N9VrzFZN2vGUHgQpeLnBZHHBiEmHIzwFqgJ81KQvRW5nX8fPy28 S/cPUrNndB8YkiththX2RUZXpSuDzt4Qz4AynSP+6UQaP78oqTXBZ9qsMP07YCBm HS1D3rpACy84uq+yijoA7EQJiOdhYRcb6mPKoqK1kbGeelqxE7fl8F0rWHE2+BWe nlIlqHoVzeF7qzeihmIymgCxkHyltn+uy9svZUomCuhN3581TbpHRdl8ur8RD9na +6n2VJEMYP7oJsiYB/+QfI9T0RnruMhH8lQ0lESPKY+sp5vCA0IMQHEYDypOiGx1 yYk6EiYl6tws6Mh4+vW7g8tlupdzagYl1/puJjCsEUAO9hqsCSPYqoYic4ZHMVbm PQdryn94wYKhHjP7qUgXLhQ5nD1u9SwVwNnRuAc8+rF3SwmBl1jR2nifSVgEwWhr YrWrhvpwBx4c3RYv8OAK/kl9TqPEyUTu1kACC4zxJBAk1iOfv0tNiuDljtiFfRFI rwhqbsvkSZgnMHmDQe3ti/KumKKYh82qp+kiJ/qVVmgkpWgE0zkv8pOSOhNbBR5T KnqKlL1neimIpNu+qfOuKIC4bho03G3lzOVb8OFsPDntXDEnhSyalUehRiQoJeCl qSxhyt80m9g= =CEAF -----END PGP SIGNATURE----- --=-=-=--