show which repository gets indexed
[phorkie.git] / src / phorkie / SetupCheck.php
index ba52d4261313b4fe3b4b972773d6bd306b862318..39c386e3683c7f72a56a2044164798037108dc9d 100644 (file)
@@ -7,6 +7,8 @@ class SetupCheck
         'pear.php.net/VersionControl_Git'  => 'VersionControl_Git',
         'pear.twig-project.org/Twig'       => 'Twig_Autoloader',
         'pear.php.net/Date_HumanDiff'      => 'Date_HumanDiff',
+        'pear.php.net/HTTP_Request2'       => 'HTTP_Request2',
+        'pear.php.net/Pager'               => 'Pager',
         'pear.php.net/Services_Libravatar' => 'Services_Libravatar',
     );
 
@@ -28,6 +30,7 @@ class SetupCheck
         $sc->checkDeps();
         $sc->checkDirs();
         $sc->checkGit();
+        $sc->checkDatabase();
     }
 
     public function checkDeps()
@@ -67,6 +70,12 @@ class SetupCheck
         }
     }
 
+    public function checkDatabase()
+    {
+        $dbs = new Database_Setup_Elasticsearch();
+        $dbs->setup();
+    }
+
     public function fail($msg)
     {
         throw new Exception($msg);