* [PATCH 0/4] various doc updates
@ 2023-02-15 8:01 7% Eric Wong
2023-02-15 8:01 5% ` [PATCH 2/4] doc: flow: update with newer tools, note forkability Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-02-15 8:01 UTC (permalink / raw)
To: meta
Weird things happen when I start looking at old features as
a guide for implementing new ones.
Eric Wong (4):
doc: WWW + cgi: favor -netd over -httpd
doc: flow: update with newer tools, note forkability
doc: extindex update on configuration and union section
Makefile.PL: drop update-copyrights rule
Documentation/flow.ge | 13 +++++++++----
Documentation/flow.txt | 18 ++++++++++++------
Documentation/include.mk | 15 +++++++++------
Documentation/public-inbox-extindex.pod | 10 +++++++---
Documentation/public-inbox.cgi.pod | 14 ++++++++------
Makefile.PL | 6 ------
lib/PublicInbox/WWW.pod | 16 +++++++++-------
7 files changed, 54 insertions(+), 38 deletions(-)
^ permalink raw reply [relevance 7%]
* [PATCH 2/4] doc: flow: update with newer tools, note forkability
2023-02-15 8:01 7% [PATCH 0/4] various doc updates Eric Wong
@ 2023-02-15 8:01 5% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-02-15 8:01 UTC (permalink / raw)
To: meta
public-inbox-{clone,fetch,netd} are all relatively new
developments which we can document, here.
We'll also update the generator Makefile snippet since there may
be more Graph::Easy-based docs coming.
---
Documentation/flow.ge | 13 +++++++++----
Documentation/flow.txt | 18 ++++++++++++------
Documentation/include.mk | 15 +++++++++------
3 files changed, 30 insertions(+), 16 deletions(-)
diff --git a/Documentation/flow.ge b/Documentation/flow.ge
index 4308989a..5ad92fec 100644
--- a/Documentation/flow.ge
+++ b/Documentation/flow.ge
@@ -1,9 +1,11 @@
# public-inbox data flow
#
# Note: choose either "delivery tools" OR "git mirroring tools"
-# for a given inboxdir. Combining them for the SAME inboxdir
-# will cause conflicts. Of course, different inboxdirs may
-# choose different means of getting mail into them.
+# for a given inboxdir. Using them simultaneously for the
+# SAME inboxdir will cause conflicts. Of course, different
+# inboxdirs may choose different means of getting mail into them.
+# You may fork any inbox by starting with "git mirroring tools",
+# and switching to "delivery tools".
graph { flow: down }
@@ -13,6 +15,8 @@ graph { flow: down }
public-inbox-learn] -> [inboxdir]
[git mirroring tools:\n
+ public-inbox-clone,\n
+ public-inbox-fetch,\n
grok-pull,\n
various scripts
] -- git (clone|fetch) &&\n
@@ -20,9 +24,10 @@ graph { flow: down }
[inboxdir] ->
[read-only daemons:\n
+ public-inbox-netd\n
public-inbox-httpd\n
public-inbox-imapd\n
public-inbox-nntpd]
-# Copyright 2020-2021 all contributors <meta@public-inbox.org>
+# Copyright all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
diff --git a/Documentation/flow.txt b/Documentation/flow.txt
index 1116a917..ed2dd80b 100644
--- a/Documentation/flow.txt
+++ b/Documentation/flow.txt
@@ -1,9 +1,11 @@
# public-inbox data flow
#
# Note: choose either "delivery tools" OR "git mirroring tools"
-# for a given inboxdir. Combining them for the SAME inboxdir
-# will cause conflicts. Of course, different inboxdirs may
-# choose different means of getting mail into them.
+# for a given inboxdir. Using them simultaneously for the
+# SAME inboxdir will cause conflicts. Of course, different
+# inboxdirs may choose different means of getting mail into them.
+# You may fork any inbox by starting with "git mirroring tools",
+# and switching to "delivery tools".
+--------------------+
| delivery tools: |
@@ -15,8 +17,10 @@
|
v
+----------------------+ +--------------------+
-| git mirroring tools: | git (clone|fetch) && | |
-| grok-pull, | public-inbox-index | inboxdir |
+| git mirroring tools: | | |
+| public-inbox-clone, | | |
+| public-inbox-fetch, | git (clone|fetch) && | inboxdir |
+| grok-pull, | public-inbox-index | |
| various scripts | ----------------------> | |
+----------------------+ +--------------------+
|
@@ -24,10 +28,12 @@
v
+--------------------+
| read-only daemons: |
+ | public-inbox-netd |
| public-inbox-httpd |
| public-inbox-imapd |
| public-inbox-nntpd |
+--------------------+
-# Copyright 2020-2021 all contributors <meta@public-inbox.org>
+# Copyright all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+# This file was generated from flow.txt using Graph::Easy
diff --git a/Documentation/include.mk b/Documentation/include.mk
index bfbc495f..4395e4f4 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2021 all contributors <meta@public-inbox.org>
+# Copyright (C) all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
all::
@@ -67,13 +67,16 @@ Documentation/standards.txt : Documentation/standards.perl
# flow.txt is checked into git since Graph::Easy isn't in many distros
Documentation/flow.txt : Documentation/flow.ge
- (sed -ne '1,/^$$/p' <Documentation/flow.ge; \
- $(GRAPH_EASY) Documentation/flow.ge || \
- cat Documentation/flow.txt; \
+
+%.txt : %.ge
+ (sed -ne '1,/^$$/p' <$<; \
+ $(GRAPH_EASY) $< || grep -v '^#' $@; \
echo; \
- sed -ne '/^# Copyright/,$$p' <Documentation/flow.ge \
+ sed -ne '/^# Copyright/,$$p' <$< \
) >$@+
- touch -r Documentation/flow.ge $@+
+ echo >>$@+ \
+ '# This file was generated from $(@F) using Graph::Easy'
+ touch -r $< $@+
mv $@+ $@
Documentation/lei-q.pod : lib/PublicInbox/Search.pm Documentation/common.perl
^ permalink raw reply related [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-02-15 8:01 7% [PATCH 0/4] various doc updates Eric Wong
2023-02-15 8:01 5% ` [PATCH 2/4] doc: flow: update with newer tools, note forkability 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).