user/dev discussion of public-inbox itself
 help / color / Atom feed
* [PATCH] init: enable pack bitmaps by default
@ 2016-09-02  2:04 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-09-02  2:04 UTC (permalink / raw)
  To: meta

We want to encourage users to serve repositories.  So enable
bitmaps by default so performance suffers less with smart HTTP.
 script/public-inbox-init | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/script/public-inbox-init b/script/public-inbox-init
index 54d6ce4..739ec9e 100755
--- a/script/public-inbox-init
+++ b/script/public-inbox-init
@@ -63,6 +63,10 @@ my $pfx = "publicinbox.$name";
 my @x = (qw/git config/, "--file=$filename");
 $git_dir = abs_path($git_dir);
 x(qw(git init -q --bare), $git_dir);
+# set a reasonable default:
+x(qw/git config/, "--file=$git_dir/config", 'repack.writeBitmaps', 'true');
 foreach my $addr (@address) {
 	next if $seen{lc($addr)};
 	x(@x, "--add", "$pfx.address", $addr);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02  2:04 [PATCH] init: enable pack bitmaps by default Eric Wong

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone