]> Sergey Matveev's repositories - public-inbox.git/commit
config: support "inboxdir" in addition to "mainrepo"
authorEric Wong <e@80x24.org>
Wed, 16 Oct 2019 08:59:55 +0000 (08:59 +0000)
committerEric Wong <e@80x24.org>
Wed, 16 Oct 2019 09:00:26 +0000 (09:00 +0000)
commit3c39f9c942a6975245fda878e9b957d8d3367662
tree10c2ea542787ff08dae59ddd3f13f129ed63dd76
parent28264f7af4d9f4fab951f0613a0b08b6e98af7d3
config: support "inboxdir" in addition to "mainrepo"

"mainrepo" ws a bad name and artifact from the early days when I
intended for there to be a "spamrepo" (now just the
ENV{PI_EMERGENCY} Maildir).  With v2, "mainrepo" can be
especially confusing, since v2 needs at least two git
repositories (epoch + all.git) to function and we shouldn't
confuse users by having them point to a git repository for v2.

Much of our documentation already references "INBOX_DIR" for
command-line arguments, so use "inboxdir" as the
git-config(1)-friendly variant for that.

"mainrepo" remains supported indefinitely for compatibility.
Users may need to revert to old versions, or may be referring
to old documentation and must not be forced to change config
files to account for this change.

So if you're using "mainrepo" today, I do NOT recommend changing
it right away because other bugs can lurk.

Link: https://public-inbox.org/meta/874l0ice8v.fsf@alyssa.is/
72 files changed:
Documentation/public-inbox-config.pod
Documentation/public-inbox-convert.pod
Documentation/public-inbox-init.pod
Documentation/public-inbox-watch.pod
examples/public-inbox-config
lib/PublicInbox/Admin.pm
lib/PublicInbox/AdminEdit.pm
lib/PublicInbox/AltId.pm
lib/PublicInbox/Config.pm
lib/PublicInbox/Inbox.pm
lib/PublicInbox/InboxWritable.pm
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm
lib/PublicInbox/WwwAtomStream.pm
lib/PublicInbox/WwwListing.pm
lib/PublicInbox/WwwStream.pm
lib/PublicInbox/WwwText.pm
lib/PublicInbox/Xapcmd.pm
script/public-inbox-convert
script/public-inbox-edit
script/public-inbox-init
script/public-inbox-mda
scripts/dupe-finder
scripts/import_vger_from_mbox
t/admin.t
t/altid.t
t/altid_v2.t
t/cgi.t
t/config.t
t/config_limiter.t
t/convert-compact.t
t/edit.t
t/feed.t
t/filter_rubylang.t
t/html_index.t
t/indexlevels-mirror.t
t/mda.t
t/mda_filter_rubylang.t
t/nntp.t
t/nntpd-tls.t
t/nntpd-validate.t
t/nntpd.t
t/perf-msgview.t
t/perf-nntpd.t
t/perf-threading.t
t/plack.t
t/psgi_attach.t
t/psgi_bad_mids.t
t/psgi_mount.t
t/psgi_multipart_not.t
t/psgi_scan_all.t
t/psgi_search.t
t/psgi_text.t
t/psgi_v2.t
t/purge.t
t/replace.t
t/search-thr-index.t
t/search.t
t/solver_git.t
t/v1-add-remove-add.t
t/v1reindex.t
t/v2-add-remove-add.t
t/v2mda.t
t/v2mirror.t
t/v2reindex.t
t/v2writable.t
t/watch_filter_rubylang.t
t/watch_maildir.t
t/watch_maildir_v2.t
t/www_listing.t
t/xcpdb-reshard.t