[packages/composer] 1.3.0 - 2016-12-24
glen
glen at pld-linux.org
Sat Dec 24 23:42:32 CET 2016
commit c80c5b90fb3a553cf20b3d824391ca5008c30bc3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Dec 25 00:41:32 2016 +0200
1.3.0 - 2016-12-24
- Fixed handling of annotated git tags vs lightweight tags leading to useless updates sometimes
- Fixed ext-xdebug not being require-able anymore due to automatic xdebug disabling
- Fixed case insensitivity of remove command
1.3.0-RC - 2016-12-11
- Added workaround for xdebug performance impact by restarting PHP without xdebug automatically in case it is enabled
- Added `--minor-only` to the `outdated` command to only show updates to minor versions and ignore new major versions
- Added `--apcu-autoloader` to the `update`/`install` commands and `--apcu` to `dump-autoload` to enable an APCu-caching autoloader, which can be more efficient than --classmap-authoritative if you attempt to autoload many classes that do not exist, or if you can not use authoritative classmaps for some reason
- Added summary of operations to be executed before they run, and made execution output more compact
- Added `php-debug` and `php-zts` virtual platform packages
- Added `gitlab-token` auth config for GitLab private tokens
- Added `--strict` to the `outdated` command to return a non-zero exit code when there are outdated packages
- Added ability to call php scripts using the current php interpreter (instead of finding php in PATH by default) in script handlers via `@php ...`
- Added `COMPOSER_ALLOW_XDEBUG` env var to circumvent the xdebug-disabling behavior
- Added `COMPOSER_MIRROR_PATH_REPOS` env var to force mirroring of path repositories vs symlinking
- Added `COMPOSER_DEV_MODE` env var that is set by Composer to forward the dev mode to script handlers
- Fixed support for git 2.11
- Fixed output from zip and rar leaking out when an error occured
- Removed `hash` from composer.lock, only `content-hash` is now used which should reduce conflicts
- Minor fixes and performance improvements
composer.spec | 6 ++++--
svn-ignore-externals.patch | 14 +++++++-------
2 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/composer.spec b/composer.spec
index 100b996..34aea31 100644
--- a/composer.spec
+++ b/composer.spec
@@ -6,12 +6,12 @@
%include /usr/lib/rpm/macros.php
Summary: Dependency Manager for PHP
Name: composer
-Version: 1.2.2
+Version: 1.3.0
Release: 1
License: MIT
Group: Development/Languages/PHP
Source0: https://github.com/composer/composer/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 2cdaba60950b7e5fe8061f2585dbe6f6
+# Source0-md5: a037e39829060b52b5c947e855c89be9
Source2: https://raw.githubusercontent.com/iArren/%{name}-bash-completion/86a8129/composer
# Source2-md5: cdeebf0a0da1fd07d0fd886d0461642e
Source3: autoload.php
@@ -125,6 +125,8 @@ rm tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
rm tests/Composer/Test/Installer/LibraryInstallerTest.php
# Uncaught Error: Call to undefined method Mock_InputInterface_0ced1568::method()
rm tests/Composer/Test/Command/RunScriptCommandTest.php
+# PHP Fatal error: Call to undefined method Mock_Config_0d97cb71::method()
+rm tests/Composer/Test/Util/RemoteFilesystemTest.php
%build
%if %{with tests}
diff --git a/svn-ignore-externals.patch b/svn-ignore-externals.patch
index 34bce1f..e779645 100644
--- a/svn-ignore-externals.patch
+++ b/svn-ignore-externals.patch
@@ -1,18 +1,18 @@
---- composer-1.0.0-13.2.alpha10/src/Composer/Downloader/SvnDownloader.php~ 2015-04-15 00:18:51.000000000 +0300
-+++ composer-1.0.0-13.2.alpha10/src/Composer/Downloader/SvnDownloader.php 2015-09-10 14:13:15.385644261 +0300
-@@ -30,7 +30,7 @@
- $ref = $package->getSourceReference();
+--- composer-1.3.0/src/Composer/Downloader/SvnDownloader.php~ 2016-12-24 01:47:04.000000000 +0200
++++ composer-1.3.0/src/Composer/Downloader/SvnDownloader.php 2016-12-25 00:20:44.725141875 +0200
+@@ -41,7 +41,7 @@
+ }
- $this->io->writeError(" Checking out ".$package->getSourceReference());
+ $this->io->writeError(" Checking out ".$package->getSourceReference());
- $this->execute($url, "svn co", sprintf("%s/%s", $url, $ref), null, $path);
+ $this->execute($url, "svn co --ignore-externals", sprintf("%s/%s", $url, $ref), null, $path);
}
/**
-@@ -53,7 +53,7 @@
+@@ -64,7 +64,7 @@
}
- $this->io->writeError(" Checking out " . $ref);
+ $this->io->writeError(" Checking out " . $ref);
- $this->execute($url, "svn switch" . $flags, sprintf("%s/%s", $url, $ref), $path);
+ $this->execute($url, "svn switch --ignore-externals" . $flags, sprintf("%s/%s", $url, $ref), $path);
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/c80c5b90fb3a553cf20b3d824391ca5008c30bc3
More information about the pld-cvs-commit
mailing list