From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id DF1C01F47C; Sun, 8 Jan 2023 20:58:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1673211493; bh=YUWUDyJjHnEKThwgsPVfei3y1uqIoCSprmqzytQNIKM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DM0yGLNft1RMQ4c470xpsapa6d4aRzjdjscA2ENZrHjQL6rpuKhH3DZ7yb/wtMVnY GM8KG5Olkf8MnbSeXodvSKgVZBPhdQXayw3BDlPvJRaAf/aIWpxmOhxgKd5PyOpxEI LjhPvj4N3qB6amjXt2fje0orFj0z/ZbfYjZ8mO3s= Date: Sun, 8 Jan 2023 20:58:04 +0000 From: Eric Wong To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= Cc: meta@public-inbox.org Subject: Re: Add "generator" information to HTML pages Message-ID: <20230108205804.M144044@dcvr> References: <20230108190404.nghzrip46oh4wl3p@snowball.t-8ch.de> <20230108194738.M225235@dcvr> <20230108200233.y2zqecm3ob47gsdd@snowball.t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230108200233.y2zqecm3ob47gsdd@snowball.t-8ch.de> List-Id: Thomas Weißschuh wrote: > On Sun, Jan 08, 2023 at 07:47:38PM +0000, Eric Wong wrote: > > Thomas Weißschuh wrote: > > > Hi, > > > > > > it would be nice if public-inbox could extend the HTML pages it > > > generates with the "generator" meta tag [0]. > > > Especially the version would be useful. > > > > > > This would help users during debugging to see the specific version of > > > public-inbox they are looking at. > > > > What would users be debugging? > > Admins would be the only ones who care, I think... > > Since recently my mails to linux-kernel@vger.kernel.org that should end > up on public-inbox on https://lore.kernel.org/lkml/ don't do so. > They are accepted by the mail server on vger.kernel.org but never end up > in the archives. > I suspect some interactions between b4 which is used to generate the > mails, the unicode characters in my name and public-inbox to be the > culprit. Your mail seem fine to my server, but coming from an IPv6 address has caused problems with some other servers in the past. Another potential thing might be your use of utf-8 in the From: header, while your Content-Type: is iso-8859-1 for the body. > This is what I wanted to reproduce locally, for which exact versions > would have been nice. I remember Konstantin has cherry-picked some commits from public-inbox.git in the past, and I suspect he already has https://public-inbox.org/meta/20221124213155.M736847@dcvr/ ("eml: header_raw converts octets to Perl UTF-8") for SMTPUTF8 One thing I wouldn't be opposed to doing is adding a way to download all loaded files in a tarball as a means for AGPL enforcement. The tricky thing is those files may change on disk after loading (and often does in my case :x), so they'd need to be copied into stable storage at startup (and updated if there's lazy-loading). Same security caveats apply, though. > > I also don't like wasting memory+bandwidth on things most users > > won't see or care about. This is especially true for stuff at > > the beginnning of the output since that's most likely to succeed > > in being transferred. > > Fair enough. > The loading speed of public-inbox is really great, let's keep it that > way. Good to know it's great for you. It's still too slow for me, but I'm anti-consumerist and refuse to follow Moore's law :x