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 0/5] no trash, glossary doc
@ 2021-03-10 13:23  7% Eric Wong
  2021-03-10 13:23  7% ` [PATCH 1/5] doc: technical/data_structures: update for EOFpipe Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-03-10 13:23 UTC (permalink / raw)
  To: meta

-watch on IMAP now matches Maildir behavior in skipping
trashed (deleted) and draft messages.

"lei import" now ignores (trashed|deleted) messages, as well;
but imports drafts.

The glossary is intended to help reduce confusion as more
things overlap with different terminology.

Eric Wong (5):
  doc: technical/data_structures: update for EOFpipe
  watch: IMAP: ignore \Deleted and \Draft messages
  lei import: simplify Maildir handling
  lei import: skip trashed Maildir messages
  doc: start glossary for overlapping concepts

 Documentation/public-inbox-glossary.pod     | 95 +++++++++++++++++++++
 Documentation/technical/data_structures.txt | 10 +--
 Documentation/txt2pre                       |  1 +
 MANIFEST                                    |  1 +
 Makefile.PL                                 |  3 +-
 lib/PublicInbox/LeiImport.pm                |  8 +-
 lib/PublicInbox/LeiStore.pm                 |  6 --
 lib/PublicInbox/MdirReader.pm               |  1 +
 lib/PublicInbox/NetReader.pm                |  2 +
 lib/PublicInbox/Watch.pm                    | 26 +-----
 t/lei-import-maildir.t                      |  7 ++
 xt/net_writer-imap.t                        | 44 ++++++++++
 12 files changed, 165 insertions(+), 39 deletions(-)
 create mode 100644 Documentation/public-inbox-glossary.pod

^ permalink raw reply	[relevance 7%]

* [PATCH 1/5] doc: technical/data_structures: update for EOFpipe
  2021-03-10 13:23  7% [PATCH 0/5] no trash, glossary doc Eric Wong
@ 2021-03-10 13:23  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-03-10 13:23 UTC (permalink / raw)
  To: meta

ParentPipe no longer exists and was replaced by the more
flexible EOFpipe.
---
 Documentation/technical/data_structures.txt | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/Documentation/technical/data_structures.txt b/Documentation/technical/data_structures.txt
index 8776a67b..4dcf9ce6 100644
--- a/Documentation/technical/data_structures.txt
+++ b/Documentation/technical/data_structures.txt
@@ -222,10 +222,8 @@ daemon classes
   given PublicInbox::Config which may be instantiated more than
   once in the future.
 
-* PublicInbox::ParentPipe
+* PublicInbox::EOFpipe
 
-  Per-worker process class to detect shutdown of master process.
-  This is not used if using -W0 to disable worker processes
-  in public-inbox-httpd or public-inbox-nntpd.
-
-  This is a per-worker singleton.
+  Used throughout to trigger a callback when a pipe(7) is closed.
+  This is frequently used to portably detect process exit without
+  relying on a catch-all waitpid(-1, ...) call.

^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-03-10 13:23  7% [PATCH 0/5] no trash, glossary doc Eric Wong
2021-03-10 13:23  7% ` [PATCH 1/5] doc: technical/data_structures: update for EOFpipe 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).