Bug #17462 [Opn]: SVN entries file regression?
| From: | daniel dot oconnor at gmail dot com | Date: | Thu, 03 Jun 2010 02:05:00 +0000 |
| Subject: | Bug #17462 [Opn]: SVN entries file regression? | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3869@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17462&edit=1
ID: 17462
Updated by: daniel.oconnor@gmail.com
Reported By: daniel dot oconnor at gmail dot com
Summary: SVN entries file regression?
Status: Open
Type: Bug
Package: PEAR_PackageFileManager_Plugins
Package Version: 1.0.1
PHP Version: 5.2.12
Roadmap Versions:
New Comment:
Well; commenting out $this->_setupIgnore(array('*/.svn/entries'), 0);
got me building packages.
function dirList($directory)
{
static $in_recursion = false;
if ($in_recursion) {
return parent::dirList($directory);
}
// include only .svn/entries files
// since subversion keeps its data in a hidden
// directory we must force PackageFileManager to
// consider hidden directories.
$this->_options['addhiddenfiles'] = true;
// $this->_setupIgnore(array('*/.svn/entries'), 0);
$this->_setupIgnore(array(), 1);
$in_recursion = true;
$entries = parent::dirList($directory);
$in_recursion = false;
if (!$entries || !is_array($entries)) {
$code = PEAR_PACKAGEFILEMANAGER_PLUGINS_NOSVNENTRIES;
return parent::raiseError($code, $directory);
}
return $this->_readSVNEntries($entries);
}
Previous Comments:
------------------------------------------------------------------------
[2010-06-03 01:36:47] doconnor
Description:
------------
PFM_cli doesn't seem to like my svn checkouts anymore.
Test script:
---------------
C:\work\pear\packages\Net_IDNA\trunk>pfm
C:\work\pear\packages\Net_IDNA\trunk>php c:\php\pfm
PEAR Package File Manager Command Line Tool
Please enter the location of your package [.]*:
Enter the base install directory
1) /
Please choose an option: 1
PEAR_PackageFileManager_Plugins Error: Directory
"C:/work/pear/packages/Net_IDNA/trunk" is not a SVN directory (it must
have the .svn/entries file)
C:\work\pear\packages\Net_IDNA\trunk>
Expected result:
----------------
Package file generates
Actual result:
--------------
C:\work\pear\packages\Net_IDNA\trunk>pfm
C:\work\pear\packages\Net_IDNA\trunk>php c:\php\pfm
PEAR Package File Manager Command Line Tool
Please enter the location of your package [.]*:
Enter the base install directory
1) /
Please choose an option: 1
PEAR_PackageFileManager_Plugins Error: Directory
"C:/work/pear/packages/Net_IDNA/trunk" is not a SVN directory (it must
have the .svn/entries file)
C:\work\pear\packages\Net_IDNA\trunk>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17462&edit=1