svn: /pear/packages/PEAR_PackageFileManager/trunk/ PackageFileManager/File.php package_plugins.php package_plugins.xml

From: Date: Mon, 01 Feb 2010 23:48:17 +0000
Subject: svn: /pear/packages/PEAR_PackageFileManager/trunk/ PackageFileManager/File.php package_plugins.php package_plugins.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-58588@lists.php.net to get a copy of this message
cweiske Mon, 01 Feb 2010 23:48:17 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294328 Log: Fix Bug #16111: CVS plugin does not identify CVS directories, Fix Bug #16287: Problem with SVN plugin ?, prepare packagefilemanager-plugins version 1.0.1 Bugs: http://pear.php.net/bugs/16111 (unknown) http://pear.php.net/bugs/16287 (unknown) Changed paths: U pear/packages/PEAR_PackageFileManager/trunk/PackageFileManager/File.php U pear/packages/PEAR_PackageFileManager/trunk/package_plugins.php U pear/packages/PEAR_PackageFileManager/trunk/package_plugins.xml Modified: pear/packages/PEAR_PackageFileManager/trunk/PackageFileManager/File.php =================================================================== --- pear/packages/PEAR_PackageFileManager/trunk/PackageFileManager/File.php 2010-02-01 23:15:47 UTC (rev 294327) +++ pear/packages/PEAR_PackageFileManager/trunk/PackageFileManager/File.php 2010-02-01 23:48:17 UTC (rev 294328) @@ -49,6 +49,13 @@ var $ignore = false; /** + * If we are on windows + * @access private + * @var boolean + */ + var $windows = false; + + /** * Set up the File filelist generator * * 'ignore' and 'include' are the only options that this class uses. See @@ -61,6 +68,7 @@ */ function PEAR_PackageFileManager_File($options) { + $this->windows = strtoupper(substr(PHP_OS, 0, 3)) == 'WIN'; $this->_options = array_merge($this->_options, $options); } @@ -246,6 +254,10 @@ */ function _checkIgnore($file, $path, $return = 1) { + if ($this->windows && file_exists($path)) { + $path = realpath($path); + } + $path = strtr($path, '\\', '/'); if (is_array($this->ignore[$return])) { foreach ($this->ignore[$return] as $match) { Modified: pear/packages/PEAR_PackageFileManager/trunk/package_plugins.php =================================================================== --- pear/packages/PEAR_PackageFileManager/trunk/package_plugins.php 2010-02-01 23:15:47 UTC (rev 294327) +++ pear/packages/PEAR_PackageFileManager/trunk/package_plugins.php 2010-02-01 23:48:17 UTC (rev 294328) @@ -14,10 +14,11 @@ require_once 'PEAR/PackageFileManager2.php'; PEAR::setErrorHandling(PEAR_ERROR_DIE); -$release_version = '1.0.0'; +$release_version = '1.0.1'; $release_state = 'stable'; $release_notes = ' - * Fix Bug #15244: symlinked files are not exluded [dufuz] + * Fix Bug #16111: CVS plugin does not identify CVS directories [cweiske] +* Fix Bug #16287: Problem with SVN plugin ? [cweiske] '; $p = &PEAR_PackageFileManager2::importOptions( @@ -27,7 +28,7 @@ 'exceptions' => array( 'LICENSE_PLUGINS' => 'doc', ), - 'filelistgenerator' => 'cvs', + 'filelistgenerator' => 'svn', 'packagedirectory' => dirname(__FILE__), 'changelogoldtonew' => false, 'baseinstalldir' => 'PEAR', Modified: pear/packages/PEAR_PackageFileManager/trunk/package_plugins.xml =================================================================== --- pear/packages/PEAR_PackageFileManager/trunk/package_plugins.xml 2010-02-01 23:15:47 UTC (rev 294327) +++ pear/packages/PEAR_PackageFileManager/trunk/package_plugins.xml 2010-02-01 23:48:17 UTC (rev 294328) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<package packagerversion="1.8.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> +<package packagerversion="1.9.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> <name>PEAR_PackageFileManager_Plugins</name> <channel>pear.php.net</channel> <summary>The plugins for PEAR_PackageFileManager to pick up what files to use, supported are File, CVS, SVN, Perforce</summary> @@ -41,10 +41,10 @@ <email>arnaud@limbourg.com</email> <active>no</active> </developer> - <date>2009-04-15</date> - <time>03:55:35</time> + <date>2010-02-02</date> + <time>00:46:39</time> <version> - <release>1.0.0</release> + <release>1.0.1</release> <api>1.0.0</api> </version> <stability> @@ -53,7 +53,8 @@ </stability> <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license> <notes> -* Fix Bug #15244: symlinked files are not exluded [dufuz] +* Fix Bug #16111: CVS plugin does not identify CVS directories [cweiske] +* Fix Bug #16287: Problem with SVN plugin ? [cweiske] </notes> <contents> <dir baseinstalldir="PEAR" name="/"> @@ -175,6 +176,22 @@ <changelog> <release> <version> + <release>1.0.1</release> + <api>1.0.0</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <date>2010-02-02</date> + <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license> + <notes> +* Fix Bug #16111: CVS plugin does not identify CVS directories [cweiske] + * Fix Bug #16287: Problem with SVN plugin ? [cweiske] + </notes> + </release> + <release> + <version> <release>1.0.0</release> <api>1.0.0</api> </version>

« previous php.pear.cvs (#58588) next »