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 2/3] init: refer to inboxes as "inbox" or "inboxes" in errors
  2020-06-21  0:21  4% [PATCH 0/3] -init updates Eric Wong
@ 2020-06-21  0:21  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-06-21  0:21 UTC (permalink / raw)
  To: meta

Since V2 uses multiple git repositories, stop using
the word "repo" when referring to inboxes.
---
 script/public-inbox-init | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/script/public-inbox-init b/script/public-inbox-init
index 00147db5..e8dcf4fc 100755
--- a/script/public-inbox-init
+++ b/script/public-inbox-init
@@ -121,20 +121,20 @@ if (-f "$inboxdir/inbox.lock") {
 	if (!defined $version) {
 		$version = 2;
 	} elsif ($version != 2) {
-		die "$inboxdir is a -V2 repo, -V$version specified\n"
+		die "$inboxdir is a -V2 inbox, -V$version specified\n"
 	}
 } elsif (-d "$inboxdir/objects") {
 	if (!defined $version) {
 		$version = 1;
 	} elsif ($version != 1) {
-		die "$inboxdir is a -V1 repo, -V$version specified\n"
+		die "$inboxdir is a -V1 inbox, -V$version specified\n"
 	}
 }
 
 $version = 1 unless defined $version;
 
 if ($version == 1 && defined $skip_epoch) {
-	die "--skip-epoch is only supported for -V2 repos\n";
+	die "--skip-epoch is only supported for -V2 inboxes\n";
 }
 
 my $ibx = PublicInbox::Inbox->new({

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/3] -init updates
@ 2020-06-21  0:21  4% Eric Wong
  2020-06-21  0:21  7% ` [PATCH 2/3] init: refer to inboxes as "inbox" or "inboxes" in errors Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-06-21  0:21 UTC (permalink / raw)
  To: meta

Eric Wong (3):
  init: add -j / --jobs parameter
  init: refer to inboxes as "inbox" or "inboxes" in errors
  init: add --skip-artnum parameter

 Documentation/public-inbox-init.pod | 28 ++++++++++++++++++++++++++++
 lib/PublicInbox/InboxWritable.pm    | 13 ++++++++++++-
 lib/PublicInbox/Msgmap.pm           | 26 ++++++++++++++++++++++++++
 lib/PublicInbox/SearchIdx.pm        |  1 +
 lib/PublicInbox/V2Writable.pm       |  3 ++-
 script/public-inbox-init            | 21 ++++++++++++++-------
 t/init.t                            | 28 +++++++++++++++++++++++++++-
 t/v2mirror.t                        |  4 +++-
 8 files changed, 113 insertions(+), 11 deletions(-)

^ permalink raw reply	[relevance 4%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-06-21  0:21  4% [PATCH 0/3] -init updates Eric Wong
2020-06-21  0:21  7% ` [PATCH 2/3] init: refer to inboxes as "inbox" or "inboxes" in errors 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).