about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoConfig.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-11 00:41:29 +0000
committerEric Wong <e@80x24.org>2017-02-11 01:08:08 +0000
commit60f38818f2dbc76e20041cf1b01e2baf3322a1f1 (patch)
tree716820a77859e878a66836309aeefd946b009c5b /lib/PublicInbox/RepoConfig.pm
parent416ba2fdab4f6de20ad7ec3656a057bb01b17339 (diff)
downloadpublic-inbox-60f38818f2dbc76e20041cf1b01e2baf3322a1f1.tar.gz
This improves startup speed at the cost of CoW-friendliness
for long-lived daemons (which can be fixed, later).
Diffstat (limited to 'lib/PublicInbox/RepoConfig.pm')
-rw-r--r--lib/PublicInbox/RepoConfig.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/PublicInbox/RepoConfig.pm b/lib/PublicInbox/RepoConfig.pm
index fb1fd584..e1e2860b 100644
--- a/lib/PublicInbox/RepoConfig.pm
+++ b/lib/PublicInbox/RepoConfig.pm
@@ -30,8 +30,6 @@ sub default_file {
 # Returns something like:
 # {
 #        path => '/home/git/foo.git',
-#        description => 'foo repo',
-#        cloneurl => "git://example.com/foo.git\nhttp://example.com/foo.git",
 #        publicinbox => '/home/pub/foo-public.git',
 # }
 sub lookup {
@@ -51,14 +49,6 @@ sub lookup {
         $rv->{snapshot_re} = qr/\A\Q$snap\E[-_]/;
         $rv->{snapshot_pfx} = $snap;
 
-        # gitweb compatibility
-        foreach my $key (qw(description cloneurl)) {
-                $rv->{$key} = PublicInbox::Config::try_cat("$path/$key");
-        }
-
-        $rv->{desc_html} =
-                PublicInbox::Hval->new_oneline($rv->{description})->as_html;
-
         foreach my $key (qw(publicinbox vcs readme group snapshots)) {
                 $rv->{$key} = $self->{"repo.$repo_path.$key"};
         }