From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9DC561F803 for ; Fri, 11 Jan 2019 04:10:09 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/7] implement purge tool Date: Fri, 11 Jan 2019 04:10:01 +0000 Message-Id: <20190111041008.24361-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Of course, I found and fixed a bunch of little purge bugs in the process :x Still need to WTFM so I can tell others to RTFM :> The following changes since commit b0e5062d43a96372801713ef78a78d6a1bc852bc: Merge commit 'mem' (2019-01-10 21:41:55 +0000) are available in the Git repository at: https://public-inbox.org/ purge for you to fetch changes up to 440b0feaa209e12e4bcb8ef16a95041fce71e7dc: implement public-inbox-purge tool (2019-01-11 04:07:17 +0000) ---------------------------------------------------------------- Eric Wong (7): hoist out resolve_repo_dir from -index import: purge: reap fast-export process v2writable: ->purge returns undef on no-op v2writable: purge ignores non-existent git epoch directories v2writable: cleanup processes when done v2writable: read epoch on purge implement public-inbox-purge tool MANIFEST | 4 ++ lib/PublicInbox/Admin.pm | 44 +++++++++++++++++ lib/PublicInbox/Import.pm | 3 +- lib/PublicInbox/V2Writable.pm | 16 ++++-- script/public-inbox-index | 32 +----------- script/public-inbox-purge | 111 ++++++++++++++++++++++++++++++++++++++++++ t/admin.t | 81 ++++++++++++++++++++++++++++++ t/purge.t | 97 ++++++++++++++++++++++++++++++++++++ t/v2writable.t | 3 ++ 9 files changed, 357 insertions(+), 34 deletions(-) create mode 100644 lib/PublicInbox/Admin.pm create mode 100755 script/public-inbox-purge create mode 100644 t/admin.t create mode 100644 t/purge.t -- EW