Your message dated Sat, 01 Feb 2014 15:24:06 +0000 with message-id <[email protected]> and subject line Bug#729452: fixed in pkg-php-tools 1.10 has caused the Debian Bug report #729452, regarding Please, allow phpcomposer to handle alpha and other WIP releases to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 729452: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729452 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: pkg-php-tools Version: 1.9 Severity: normal Tags: patch The upcoming php-sabredav 1.9 version requires in composer.json: "sabre/http" : "~2.0.0-alpha5", But the build fails since phppkginfo is not able to handle such version: [pear_error: message="Unable to parse version (~2.0.0-alpha5)" code=0 mode=return level=notice prefix="" info=""] Please find attached a naive patch that fixes the issue. I didn’t committed it directly since I’m not sure if it’s proper enough, and because I’m not yet comfortable with Composer (anyway, alioth is down). Thanks for taking care of pkg-php-tools, it really makes our lives easier. Regards David -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-1-amd64 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pkg-php-tools depends on: ii debhelper 9.20131110 ii php-pear 5.5.5+dfsg-1 ii php5-cli 5.5.5+dfsg-1 ii php5-json 1.3.2-2 pkg-php-tools recommends no packages. Versions of packages pkg-php-tools suggests: ii dh-make 0.63 -- no debconf informationFrom b7d5c552e88690c7047f0b5843bed69503ddb5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= <[email protected]> Date: Tue, 12 Nov 2013 23:24:43 -0400 Subject: [PATCH] Composer: handle alpha and other WIP releases --- lib/scripts/phppkginfo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/scripts/phppkginfo b/lib/scripts/phppkginfo index 3dcbe67..b28129e 100755 --- a/lib/scripts/phppkginfo +++ b/lib/scripts/phppkginfo @@ -370,15 +370,17 @@ function composerDebianVersion($pkg, $version, $link) { '(>|>=|<|<=|!=|~)?'. # Operator '\s*'. # Optional spaces 'v?(([\d*]+)(\.[\d*]+)?(\.[\d*]+)?(\.[\d*]+)?)'. # version + '-?(alpha\d*|a\d*|beta\d*|b\d*|rc\d*)?'. # wip '(@(stable|RC|beta|alpha|dev))?'. # stability '(\s+as +([^,\s]+))?$/', # "as ..." $version, $match) ) { $operator = isset($match[1]) ? $match[1] : NULL; $short_version = isset($match[2]) ? $match[2] : NULL; + $short_version .= isset($match[7]) ? '~'.$match[7] : NULL; $short_version_array = explode('.', $short_version); - $stability = isset($match[7]) ? $match[7] : NULL; - $as = isset($match[9]) ? $match[9] : NULL; + $stability = isset($match[8]) ? $match[8] : NULL; + $as = isset($match[10]) ? $match[10] : NULL; switch($operator) { case '': if ($short_version == '*') { -- 1.8.4.3
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: pkg-php-tools Source-Version: 1.10 We believe that the bug you reported is fixed in the latest version of pkg-php-tools, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mathieu Parent <[email protected]> (supplier of updated pkg-php-tools package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Sat, 01 Feb 2014 15:42:34 +0100 Source: pkg-php-tools Binary: pkg-php-tools Architecture: source all Version: 1.10 Distribution: unstable Urgency: low Maintainer: Debian PHP PEAR Maintainers <[email protected]> Changed-By: Mathieu Parent <[email protected]> Description: pkg-php-tools - various packaging tools and scripts for PHP packages Closes: 717340 729452 732641 736294 Changes: pkg-php-tools (1.10) unstable; urgency=low . * Debian::Debhelper::Buildsystem::phppear: remove sha1sum * Remove test files from generated packages (Closes: #732641) - Patch by Prach Pongpanich: thanks! - Testsuite by Prach Pongpanich: thanks! - This also fixes the "directory vs. symlink conflicts" which was found in packages previously handled by dh-make-php (Closes: #736294) * Handle tabs and lists in ${phppear:description} (Closes: #717340) - Patch by David Prévot: thanks! * dh_phpcomposer: handle alpha and other WIP releases (Closes: #729452) - Patch by David Prévot: thanks! * Fix testsuite (symfony/yaml maps to php-symfony2-yaml when pear- channels is installed Checksums-Sha1: 857b763e4a0b1430cae301428f58cfd97dcf0730 1091 pkg-php-tools_1.10.dsc 9c692b9f6fc24e7cef8f53744e2bf78a43f904ff 20172 pkg-php-tools_1.10.tar.xz b3bc14fc6039245a2ba0983233d026d92a830c3f 23158 pkg-php-tools_1.10_all.deb Checksums-Sha256: f168f3177af7b6d40961b35898016b2328474eacf43cf54c55fa66a8c1d7938e 1091 pkg-php-tools_1.10.dsc a36ba288f40bf6314d10e927e3592e30e4d792d616141c2f001549e9d03661c1 20172 pkg-php-tools_1.10.tar.xz 744d577dfc283ff71eefc872b174e4fb4049662e6d711055a8e6ddef63a089d8 23158 pkg-php-tools_1.10_all.deb Files: d565bb1b39675fceb972dbf405f90a85 1091 php extra pkg-php-tools_1.10.dsc fcf4c3bb3ee943d2d642094afb94c0bc 20172 php extra pkg-php-tools_1.10.tar.xz f6886a180dffd505b9af785562608b0e 23158 php extra pkg-php-tools_1.10_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlLtCLMACgkQOW2jYf5fHX/lDwCfZIargS6+gXYcac7WqZcg9Rbr pgcAoJAdS/lACrHz8f8ebaS3XB050R2h =eLGC -----END PGP SIGNATURE-----
--- End Message ---

