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.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE 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 CDB5C1F54E for ; Mon, 29 Aug 2022 09:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1661765207; bh=7fX4mjSGTnm+oKl0kt4qP7dRk/A1xKKvwVl7p6SzRc0=; h=From:To:Subject:Date:From; b=y0tGf228k84Dm4twIj0Vn+ROhztedM4KdZInV3+Ezryll7/k5JvffDTQGUKvkDk3/ 7wLhGp1nlviWOPALA2wDiJ79tdQICJMH1AjoZ3yskNjPStHauDXw8f+VE0r692W8n3 Au9Zql2WvQXleVFr+VnHWMI8AdXPP5JNJxFVvBwI= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/18] WWW: patch, tree, git glossary Date: Mon, 29 Aug 2022 09:26:29 +0000 Message-Id: <20220829092647.1512215-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Raw format-patch and tree HTML output now supported for git output. I suppose tags can be displayed, too, at some point... One thing I'm not 100% sure about is adding a git-related glossary for stuff like trees, commits, etc... It seems to bloat the page a bit, but it could be useful in slowly teaching basic git data concepts to beginners. I suspect folks who have trouble learning git too focused on the commands rather than the data concepts. (IMHO, the same goes for learning projects based on studying code vs studying (DB schemas || struct layouts)). I snuck one speedup in there, hopefully more to come... Eric Wong (18): solver: create tmpdir lazily viewvcs: share File::Temp::Dir with solver viewvcs: delay stringification of solver debug log www: allow html_oneshot to take an array arg viewvcs: use array for highlighted blob display viewvcs: add patch download link for single-parent commits viewvcs: author date links to contemporary messages view: speed up /$INBOX/ landing page by 0.5-1.0% treewide: ditch inbox->recent method view: /$INBOX/: show "messages from $old to $new" view: cleanups and reuse for {obuf} preparation www: atom: fix "changed" href to nowhere www: provide text/help/#search anchor solver: early make hints detection more robust viewvcs: add tree view viewvcs: reduce hash assignments for commit info viewvcs: add glossary for commit viewvcs: show "blob $OID" rather than "$OID blob" lib/PublicInbox/ExtSearch.pm | 1 - lib/PublicInbox/Inbox.pm | 5 - lib/PublicInbox/LeiSavedSearch.pm | 1 - lib/PublicInbox/LeiXSearch.pm | 7 - lib/PublicInbox/SolverGit.pm | 22 +- lib/PublicInbox/View.pm | 101 ++++----- lib/PublicInbox/ViewDiff.pm | 18 +- lib/PublicInbox/ViewVCS.pm | 341 ++++++++++++++++++++---------- lib/PublicInbox/WWW.pm | 2 +- lib/PublicInbox/WwwAltId.pm | 6 +- lib/PublicInbox/WwwAtomStream.pm | 1 + lib/PublicInbox/WwwStream.pm | 7 +- lib/PublicInbox/WwwText.pm | 3 +- t/convert-compact.t | 2 +- t/indexlevels-mirror.t | 10 +- t/lei_xsearch.t | 2 +- t/plack.t | 2 +- t/replace.t | 4 +- t/solver_git.t | 3 +- t/v1-add-remove-add.t | 2 +- t/v2-add-remove-add.t | 2 +- 21 files changed, 333 insertions(+), 209 deletions(-)