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 131871F5AE for ; Wed, 5 May 2021 10:46:39 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] lei rediff + solver-related fix Date: Wed, 5 May 2021 10:46:36 +0000 Message-Id: <20210505104638.68435-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: "rediff" is something I've wanted in the WWW UI for several years, however: 1) the amount of git-diff options is staggering and I find HTML
elements difficult-to-use 2) git-diff can be monumentally expensive, on top of being difficult/impossible to cache ..so I couldn't figure out a good way to support it On a local system, we can feed "git diff" command-line options and not worry about 10K users trying to regenerate diffs at once. Eric Wong (2): lei rediff: regenerate diffs from stdin lei blob: support "lei index"-ed mail MANIFEST | 1 + lib/PublicInbox/Inbox.pm | 2 +- lib/PublicInbox/LEI.pm | 22 ++++ lib/PublicInbox/LeiInput.pm | 6 + lib/PublicInbox/LeiRediff.pm | 245 +++++++++++++++++++++++++++++++++++ lib/PublicInbox/LeiSearch.pm | 10 ++ t/solver_git.t | 18 ++- 7 files changed, 302 insertions(+), 2 deletions(-) create mode 100644 lib/PublicInbox/LeiRediff.pm