[Pkg-owncloud-commits] [php-sabredav] 49/148: Trying to get the build to run with alpha dependencies.

David Prévot taffit at moszumanska.debian.org
Wed Apr 15 01:37:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 6f7519e4dfbda606806863b893a25714c141d2f3
Author: Evert Pot <me at evertpot.com>
Date:   Wed Feb 25 14:34:09 2015 -0500

    Trying to get the build to run with alpha dependencies.
---
 bin/build.php | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/build.php b/bin/build.php
index 4316b24..a6d5b98 100755
--- a/bin/build.php
+++ b/bin/build.php
@@ -128,17 +128,19 @@ function buildzip() {
         "require" => $input['require'],
         "config"  => [
             "bin-dir" => "./bin",
-        ]
+        ],
+        "prefer-stable" => true,
+        "minimum-stability" => "alpha",
     ];
     unset(
         $newComposer['require']['sabre/vobject'],
-        $newComposer['require']['sabre/uri'],
         $newComposer['require']['sabre/http'],
+        $newComposer['require']['sabre/uri'],
         $newComposer['require']['sabre/event']
     );
     $newComposer['require']['sabre/dav'] = $version;
     mkdir('build/SabreDAV');
-    file_put_contents('build/SabreDAV/composer.json', json_encode($newComposer));
+    file_put_contents('build/SabreDAV/composer.json', json_encode($newComposer, JSON_PRETTY_PRINT));
 
     echo "  Downloading dependencies\n";
     system("cd build/SabreDAV; composer install -n --no-dev", $code);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list