* [PATCH 2/5] www: mbox*: use Perl 5.12
2024-04-25 21:31 5% [PATCH 0/5] xap_helper stuff for public daemons Eric Wong
@ 2024-04-25 21:31 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2024-04-25 21:31 UTC (permalink / raw)
To: meta
We were already silently relying on v5.10 features (`//') and
all the regexps to work correctly with v5.12 unicode_strings.
---
lib/PublicInbox/Mbox.pm | 2 +-
lib/PublicInbox/MboxGz.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index 82fba5c6..17893a09 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -4,7 +4,7 @@
# Streaming interface for mboxrd HTTP responses
# See PublicInbox::GzipFilter for details.
package PublicInbox::Mbox;
-use strict;
+use v5.12;
use parent 'PublicInbox::GzipFilter';
use PublicInbox::MID qw/mid_escape/;
use PublicInbox::Hval qw/to_filename/;
diff --git a/lib/PublicInbox/MboxGz.pm b/lib/PublicInbox/MboxGz.pm
index 864d701e..90e69c09 100644
--- a/lib/PublicInbox/MboxGz.pm
+++ b/lib/PublicInbox/MboxGz.pm
@@ -1,7 +1,7 @@
# Copyright (C) all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
package PublicInbox::MboxGz;
-use strict;
+use v5.12;
use parent 'PublicInbox::GzipFilter';
use PublicInbox::Eml;
use PublicInbox::Hval qw/to_filename/;
^ permalink raw reply related [relevance 7%]
* [PATCH 0/5] xap_helper stuff for public daemons
@ 2024-04-25 21:31 5% Eric Wong
2024-04-25 21:31 7% ` [PATCH 2/5] www: mbox*: use Perl 5.12 Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2024-04-25 21:31 UTC (permalink / raw)
To: meta
1 and 2 are trivial fixes.
3 and 4 makes failures more graceful when dealing with resource
exhaustion.
5 allows configuring the Xapian helper processes from the
top-level daemon and reverts to disabling helpers by default.
Eric Wong (5):
t/cindex: require DBD::SQLite for now
www: mbox*: use Perl 5.12
send_cmd4: make `tries' a per-call parameter
search: async_mset: pass resource errors to callback
daemon: share and allow configuring Xapian helpers
Documentation/public-inbox-daemon.pod | 38 +++++++++++++++++++++++++--
Makefile.PL | 6 +++++
lib/PublicInbox/CmdIPC4.pm | 12 ++++-----
lib/PublicInbox/Daemon.pm | 24 +++++++++++++++--
lib/PublicInbox/Mbox.pm | 2 +-
lib/PublicInbox/MboxGz.pm | 2 +-
lib/PublicInbox/Search.pm | 16 ++++++-----
lib/PublicInbox/Spawn.pm | 12 +++++----
lib/PublicInbox/Syscall.pm | 8 +++---
lib/PublicInbox/TestCommon.pm | 9 ++++++-
lib/PublicInbox/XapClient.pm | 7 ++---
t/cindex.t | 2 +-
12 files changed, 106 insertions(+), 32 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2024-04-25 21:31 5% [PATCH 0/5] xap_helper stuff for public daemons Eric Wong
2024-04-25 21:31 7% ` [PATCH 2/5] www: mbox*: use Perl 5.12 Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).