]> Sergey Matveev's repositories - public-inbox.git/commit
lei up: fix canonicalization of Maildirs
authorEric Wong <e@80x24.org>
Sat, 17 Apr 2021 10:24:45 +0000 (10:24 +0000)
committerEric Wong <e@80x24.org>
Sat, 17 Apr 2021 20:16:42 +0000 (20:16 +0000)
commit74cac24c6238c73279a82f18c7a6f11d387756bb
tree0a615ec843f25f8dd37b65fccec8d5da0a188505
parente002b3bef06e9b812e95f67fcf723a1aaf632dd7
lei up: fix canonicalization of Maildirs

We always represent --output destination directories with a
trailing slash to disambiguate directories from mbox filenames.
Therefore, we must use the trailing slash when mapping the
destination beck from the lei/saved-search/* directory.

"lei up" now relies exclusively on the users --output pathname
or URL for updates.  This ought to be less confusing since
pathnames in ~/.local/store/lei/saved-searches aren't ideal.
lib/PublicInbox/LeiSavedSearch.pm
t/lei-q-save.t