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 1/3] wwwtext: describe the use of `coderepo' entries
  2020-09-09 21:23  5% [PATCH 0/3] wwwtext: minor config example tweaks Eric Wong
@ 2020-09-09 21:23  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-09-09 21:23 UTC (permalink / raw)
  To: meta

The `solver' feature is not very obvious, give potential
users a hint about it.
---
 lib/PublicInbox/WwwText.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm
index fa3774f8..14470b45 100644
--- a/lib/PublicInbox/WwwText.pm
+++ b/lib/PublicInbox/WwwText.pm
@@ -181,7 +181,13 @@ EOF
 	# and drop the original structure
 	if (defined(my $cr = $ibx->{coderepo})) {
 		$$txt .= "\tcoderepo = $_\n" for @$cr;
+		$$txt .= <<'EOF';
 
+; `coderepo' entries allows blob reconstruction via patch emails if
+; the inbox is indexed with Xapian.  `@@ <from-range> <to-range> @@'
+; line number ranges in `[PATCH]' emails link to /$INBOX_NAME/$OID/s/,
+; an HTTP endpoint which reconstructs git blobs via git-apply(1).
+EOF
 		my $pi_config = $ctx->{www}->{pi_config};
 		for my $cr_name (@$cr) {
 			my $urls = $pi_config->{"coderepo.$cr_name.cgiturl"};

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/3] wwwtext: minor config example tweaks
@ 2020-09-09 21:23  5% Eric Wong
  2020-09-09 21:23  7% ` [PATCH 1/3] wwwtext: describe the use of `coderepo' entries Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-09-09 21:23 UTC (permalink / raw)
  To: meta

Just a couple of things which hopefully makes things easier
for newbies...

Eric Wong (3):
  wwwtext: describe the use of `coderepo' entries
  wwwtext: don't blindly quote "git clone" destination
  wwwtext: config comment improvements

 lib/PublicInbox/WwwText.pm | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)


^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-09-09 21:23  5% [PATCH 0/3] wwwtext: minor config example tweaks Eric Wong
2020-09-09 21:23  7% ` [PATCH 1/3] wwwtext: describe the use of `coderepo' entries 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).