user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/3] init: use the return value of rel2abs_collapsed
  2020-12-26  1:44  4% ` [PATCH 0/3] extindex --watch support Eric Wong
@ 2020-12-26  1:44  7%   ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-12-26  1:44 UTC (permalink / raw)
  To: meta

:x

Fixes: 9fcce78e40b0a7c6 ("script/public-inbox-*: favor caller-provided pathnames")
---
 script/public-inbox-init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/public-inbox-init b/script/public-inbox-init
index afaa4c12..6d538e43 100755
--- a/script/public-inbox-init
+++ b/script/public-inbox-init
@@ -138,7 +138,7 @@ close($fh) or die "failed to close $pi_config_tmp: $!\n";
 my $pfx = "publicinbox.$name";
 my @x = (qw/git config/, "--file=$pi_config_tmp");
 
-PublicInbox::Config::rel2abs_collapsed($inboxdir);
+$inboxdir = PublicInbox::Config::rel2abs_collapsed($inboxdir);
 die "`\\n' not allowed in `$inboxdir'\n" if index($inboxdir, "\n") >= 0;
 
 if (-f "$inboxdir/inbox.lock") {

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/3] extindex --watch support
  @ 2020-12-26  1:44  4% ` Eric Wong
  2020-12-26  1:44  7%   ` [PATCH 3/3] init: use the return value of rel2abs_collapsed Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-12-26  1:44 UTC (permalink / raw)
  To: meta

"public-inbox-extindex --watch --all" is nice, and now maybe
public-inbox-watch or -mda won't /need/ updating to support
extindex.

1/3 is me still learning Perl, brown paper bag on 3/3

Eric Wong (3):
  default to CORE::warn in $SIG{__WARN__} handlers
  extindex: --watch for inotify-based updates
  init: use the return value of rel2abs_collapsed

 lib/PublicInbox/Admin.pm         |   2 +-
 lib/PublicInbox/ExtSearchIdx.pm  | 128 ++++++++++++++++++++++++++++---
 lib/PublicInbox/InboxIdle.pm     |   8 +-
 lib/PublicInbox/InboxWritable.pm |   2 +-
 lib/PublicInbox/OverIdx.pm       |   8 +-
 lib/PublicInbox/V2Writable.pm    |   2 +-
 lib/PublicInbox/Watch.pm         |   6 +-
 script/public-inbox-extindex     |  19 ++++-
 script/public-inbox-init         |   2 +-
 9 files changed, 153 insertions(+), 24 deletions(-)

^ permalink raw reply	[relevance 4%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-12-25 10:39     [PATCH 0/7] index + extindex interaction improvements Eric Wong
2020-12-26  1:44  4% ` [PATCH 0/3] extindex --watch support Eric Wong
2020-12-26  1:44  7%   ` [PATCH 3/3] init: use the return value of rel2abs_collapsed 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).