Thomas Rabaix 13 лет назад
Родитель
Сommit
2dfa1d395e
2 измененных файлов с 7 добавлено и 4 удалено
  1. 6 3
      Resources/doc/reference/installation.rst
  2. 1 1
      Tests/tests/vendors.php

+ 6 - 3
Resources/doc/reference/installation.rst

@@ -25,16 +25,19 @@ in your ``deps`` file:
 .. code-block:: ini
 .. code-block:: ini
 
 
   [SonataAdminBundle]
   [SonataAdminBundle]
-      git=http://github.com/sonata-project/SonataAdminBundle.git
+      git=git://github.com/sonata-project/SonataAdminBundle.git
       target=/bundles/Sonata/AdminBundle
       target=/bundles/Sonata/AdminBundle
+      version=origin/2.0
 
 
   [SonataBlockBundle]
   [SonataBlockBundle]
-      git=http://github.com/sonata-project/SonataBlockBundle.git
+      git=git://github.com/sonata-project/SonataBlockBundle.git
       target=/bundles/Sonata/BlockBundle
       target=/bundles/Sonata/BlockBundle
+      version=origin/2.0
 
 
   [SonataCacheBundle]
   [SonataCacheBundle]
-      git=http://github.com/sonata-project/SonataCacheBundle.git
+      git=git://github.com/sonata-project/SonataCacheBundle.git
       target=/bundles/Sonata/CacheBundle
       target=/bundles/Sonata/CacheBundle
+      version=origin/2.0
 
 
   [SonatajQueryBundle]
   [SonatajQueryBundle]
       git=http://github.com/sonata-project/SonatajQueryBundle.git
       git=http://github.com/sonata-project/SonatajQueryBundle.git

+ 1 - 1
Tests/tests/vendors.php

@@ -9,7 +9,7 @@ if (!is_dir($vendorDir)) {
 }
 }
 
 
 $deps = array(
 $deps = array(
-    array('symfony', 'git://github.com/symfony/symfony.git', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
+    array('symfony', 'git://github.com/symfony/symfony.git', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/2.0'),
     array('knpmenu', 'git://github.com/KnpLabs/KnpMenu.git', 'origin/master'),
     array('knpmenu', 'git://github.com/KnpLabs/KnpMenu.git', 'origin/master'),
     array('twig', 'git://github.com/fabpot/Twig.git', '1.6.1'),
     array('twig', 'git://github.com/fabpot/Twig.git', '1.6.1'),
     array('exporter', 'git://github.com/sonata-project/exporter.git', 'origin/master'),
     array('exporter', 'git://github.com/sonata-project/exporter.git', 'origin/master'),