]> Sergey Matveev's repositories - public-inbox.git/blob - TODO
TODO: add item for config linter and grapher
[public-inbox.git] / TODO
1 TODO items for public-inbox
2
3 (Not in any particular order, and
4 performance, ease-of-setup, installation, maintainability, etc
5 all need to be considered for everything we introduce)
6
7 * general performance improvements, but without relying on
8   XS or pre-built modules any more than we currently do.
9
10 * mailmap support (same as git) for remapping expired email addresses
11
12 * POP3 server, since some webmail providers support external POP3:
13   https://public-inbox.org/meta/20160411034104.GA7817@dcvr.yhbt.net/
14   Perhaps make this depend solely the NNTP server and work as a proxy.
15   Meaning users can run this without needing a full copy of the
16   archives in a git repository.
17
18 * HTTP and NNTP proxy support.  Allow us to be a frontend for
19   firewalled off (or Tor-exclusive) instances.  The use case is
20   for offering a publically accessible IP with a cheap VPS,
21   yet storing large amounts of data on computers without a
22   public IP behind a home Internet connection.
23
24 * optional Cache::FastMmap support so production deployments won't
25   need Varnish (Varnish doesn't protect NNTP, either)
26
27 * dogfood and take advantage of new kernel APIs (while maintaining
28   portability to older Linux, free BSDs and maybe Hurd).
29
30 * dogfood latest Xapian, Perl5, SQLite, git and various modules to
31   ensure things continue working as they should (or more better)
32   while retaining compatibility with old versions.
33
34 * Support more of RFC 3977 (NNTP)
35
36 * Combined "super server" for NNTP/HTTP/POP3 to reduce memory overhead
37
38 * Configurable linkification for per-inbox shorthands:
39   "$gmane/123456" could be configured to expand to the
40   appropriate link pointing to the gmane.org list archives,
41   likewise "[Bug #123456]" could be configured to expand to
42   point to some project's bug tracker at http://example.com/bug/123456
43
44 * configurable synonym and spelling support in Xapian
45
46 * Support optional "HTTPS Everywhere" for mapping old HTTP to HTTPS
47   links if (and only if) the user wants to use HTTPS.  We may also
48   be able to configure redirects for expired URLs.
49
50   Note: message bodies rendered as HTML themselves must NOT change,
51   the links should point to an anchor tag within the same page,
52   instead; giving the user options.
53
54 * configurable constants (index limits, search results)
55
56 * handle messages with multiple Message-IDs (done for v2, doable for v1)
57
58 * handle broken double-bracketed References properly (maybe)
59   and totally broken Message-IDs
60
61   cf.  https://public-inbox.org/git/20160814012706.GA18784@starla/
62
63 * improve documentation
64
65 * linkify thread skeletons better
66   https://public-inbox.org/git/6E3699DEA672430CAEA6DEFEDE6918F4@PhilipOakley/
67
68 * streaming Email::MIME replacement: currently we generate many
69   allocations/strings for headers we never look at and slurp
70   entire message bodies into memory.
71   (this is pie-in-the-sky territory...)
72
73 * use REQUEST_URI properly for CGI / mod_perl2 compatibility
74   with Message-IDs which include '%' (done?)
75
76 * more and better test cases (use git fast-import to speed up creation)
77
78 * large mbox/Maildir/MH/NNTP spool import (see PublicInbox::Import)
79
80 * Read-only WebDAV interface to the git repo so it can be mounted
81   via davfs2 or fusedav to avoid full clones.
82   davfs2 needs Range: request support for this to be feasible:
83     https://savannah.nongnu.org/bugs/?33259
84     https://savannah.nongnu.org/support/?107649
85
86 * Contribute something like IMAP IDLE for "git fetch".
87   Inboxes (and any git repos) can be kept up-to-date without
88   relying on polling.
89
90 * Improve bundle support in git to make it cheaper to host/clone
91   with dumb HTTP(S) servers.
92
93 * Expose targeted reindexing of individual messages.
94   Sometimes an indexing bug only affects a handful of messages,
95   so it's not worth the trouble of doing a full reindex.
96
97 * code repository integration (with cgit, gitweb, etc...)
98
99 * migration path to v2 without breaking v1 "git fetch" cronjobs
100
101 * imperfect scraper importers for obfuscated list archives
102   (e.g. obfuscated Mailman stuff, Google Groups, etc...)
103
104 * consider using HTTP::Date instead of Date::Parse, since we need the
105   former is capable of parsing RFC822-ish dates, used by Plack, and
106   the latter is missing from OpenBSD and maybe other distros.
107
108 * improve performance and avoid head-of-line blocking on slow storage
109
110 * share "git cat-file --batch" processes across inboxes to avoid
111   bumping into /proc/sys/fs/pipe-user-pages-* limits
112
113 * make "git cat-file --batch" detect unlinked packfiles so we don't
114   have to restart processes (very long-term)
115
116 * support searching based on `git-patch-id --stable` to improve
117   bidirectional mapping of commits <=> emails
118
119 * linter to check validity of config file
120
121 * linter option and WWW endpoint to graph relationships and flows
122   between inboxes, addresses maildirs, coderepos, etc...