Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

533 lines (513 sloc) 21.085 kb
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0" packagerversion="1.4.0a10">
<name>PEAR_PackageFileManager</name>
<summary>PEAR_PackageFileManager takes an existing package.xml file and updates it with a new filelist and changelog</summary>
<description>This package revolutionizes the maintenance of PEAR packages. With a few parameters,
the entire package.xml is automatically updated with a listing of all files in a package.
Features include
- can detect PHP and extension dependencies using PHP_CompatInfo
- reads in an existing package.xml file, and only changes the release/changelog
- a plugin system for retrieving files in a directory. Currently two plugins
exist, one for standard recursive directory content listing, and one that
reads the CVS/Entries files and generates a file listing based on the contents
of a checked out CVS repository
- incredibly flexible options for assigning install roles to files/directories
- ability to ignore any file based on a * ? wildcard-enabled string(s)
- ability to include only files that match a * ? wildcard-enabled string(s)
- ability to manage dependencies
- can output the package.xml in any directory, and read in the package.xml
file from any directory.
- can specify a different name for the package.xml file
PEAR_PackageFileManager is fully unit tested.
</description>
<maintainers>
<maintainer>
<user>cellog</user>
<name>Greg Beaver</name>
<email>cellog@users.sourceforge.net</email>
<role>lead</role>
</maintainer>
<maintainer>
<user>Arnaud</user>
<name>Arnaud Limbourg</name>
<email>arnaud@limbourg.com</email>
<role>developer</role>
</maintainer>
</maintainers>
<release>
<version>1.5.1</version>
<date>2005-04-06</date>
<license>PHP License</license>
<state>stable</state>
<notes>Bugfix release
* fix Bug #4003 importOptions() won't work until setOptions() is called
</notes>
<deps>
<dep type="pkg" rel="ge" version="1.1" optional="no">PEAR</dep>
<dep type="pkg" rel="ge" version="1.0.0RC1" optional="yes">PHP_CompatInfo</dep>
<dep type="pkg" rel="has" optional="yes">XML_Tree</dep>
</deps>
<filelist>
<dir name="/" baseinstalldir="PEAR">
<dir name="examples">
<file role="doc" name="createPhpDocumentor_package.xml.php"/>
<file role="doc" name="generatePackage.xml.php"/>
</dir> <!-- /examples -->
<dir name="PackageFileManager">
<file role="php" name="Cvs.php"/>
<file role="php" name="File.php"/>
<file role="php" name="Perforce.php"/>
<file role="php" name="SimpleGenerator.php"/>
<file role="php" name="Svn.php"/>
<file role="php" name="XMLOutput.php"/>
</dir> <!-- /PackageFileManager -->
<dir name="tests">
<dir name="addConfigureOption">
<file role="test" name="test_invalid_nosetoptions.phpt"/>
<file role="test" name="test_valid_add1.phpt"/>
<file role="test" name="test_valid_add2.phpt"/>
<file role="test" name="test_valid_replace.phpt"/>
</dir> <!-- /tests/addConfigureOption -->
<dir name="addDependency">
<file role="test" name="test_invalid_nosetoptions.phpt"/>
<file role="test" name="test_invalid_phppkg.phpt"/>
<file role="test" name="test_valid_add_php.phpt"/>
<file role="test" name="test_valid_add_pkg_explicit.phpt"/>
<file role="test" name="test_valid_add_pkg_implicit.phpt"/>
<file role="test" name="test_valid_replace.phpt"/>
</dir> <!-- /tests/addDependency -->
<dir name="addMaintainer">
<file role="test" name="test_invalid_nosetoptions.phpt"/>
<file role="test" name="test_invalid_wrongrole.phpt"/>
<file role="test" name="test_valid_add.phpt"/>
<file role="test" name="test_valid_replace.phpt"/>
</dir> <!-- /tests/addMaintainer -->
<dir name="addReplacement">
<file role="test" name="test_invalid_replacement.phpt"/>
<file role="test" name="test_valid_replacement.phpt"/>
</dir> <!-- /tests/addReplacement -->
<dir name="addRole">
<file role="test" name="test_invalid_role.phpt"/>
<file role="test" name="test_valid_role.phpt"/>
</dir> <!-- /tests/addRole -->
<dir name="footest">
<dir name="blarfoo">
<file role="test" name="blartest.txt"/>
</dir> <!-- /tests/footest/blarfoo -->
<dir name="subfoo">
<dir name="subsubfoo">
<file role="test" name="boo.txt"/>
</dir> <!-- /tests/footest/subfoo/subsubfoo -->
<file role="test" name="test11.txt"/>
<file role="test" name="test12.txt"/>
</dir> <!-- /tests/footest/subfoo -->
<dir name="testCVS">
<file role="test" name="testEntries"/>
<file role="test" name="testEntries.Extra"/>
</dir> <!-- /tests/footest/testCVS -->
<file role="test" name=".test"/>
<file role="test" name="test1.txt"/>
<file role="test" name="test2.txt"/>
</dir> <!-- /tests/footest -->
<dir name="generateNewPackageXML">
<file role="test" name="test_invalid_nodescription.phpt"/>
<file role="test" name="test_invalid_nopackage.phpt"/>
<file role="test" name="test_invalid_nosummary.phpt"/>
<file role="test" name="test_valid_simple.phpt"/>
<file role="test" name="test_valid_withdeps.phpt"/>
<file role="test" name="test_valid_withdepsfalse.phpt"/>
<file role="test" name="test_valid_withmaintainers.phpt"/>
<file role="test" name="test_valid_withmaintainersfalse.phpt"/>
</dir> <!-- /tests/generateNewPackageXML -->
<dir name="getExistingPackageXML">
<file role="test" name="test_invalid_notexists_nopackage.phpt"/>
<file role="test" name="test_invalid_wrongdir.phpt"/>
<file role="test" name="test_valid_deps.phpt"/>
<file role="test" name="test_valid_maintainers.phpt"/>
<file role="test" name="test_valid_simple.phpt"/>
</dir> <!-- /tests/getExistingPackageXML -->
<dir name="importOptions">
<file role="test" name="test_invalid.phpt"/>
<file role="test" name="test_valid.phpt"/>
</dir> <!-- /tests/importOptions -->
<dir name="PEAR_PackageFileManager_CVS">
<dir name="footest">
<dir name="blarfoo">
<file role="test" name="blartest.txt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_CVS/footest/blarfoo -->
<dir name="subfoo">
<dir name="subsubfoo">
<file role="test" name="boo.txt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_CVS/footest/subfoo/subsubfoo -->
<file role="test" name="test11.txt"/>
<file role="test" name="test12.txt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_CVS/footest/subfoo -->
<dir name="testCVS">
<file role="test" name="testEntries"/>
<file role="test" name="testEntries.Extra"/>
</dir> <!-- /tests/PEAR_PackageFileManager_CVS/footest/testCVS -->
<file role="test" name=".test"/>
<file role="test" name="test1.txt"/>
<file role="test" name="test2.txt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_CVS/footest -->
<file role="test" name="setup.php.inc"/>
<file role="test" name="test_dirList_invalid.phpt"/>
<file role="test" name="test_dirList_valid.phpt"/>
<file role="test" name="test_dirList_valid_with_ignore.phpt"/>
<file role="test" name="test_dirList_valid_with_include.phpt"/>
<file role="test" name="test_general_valid1.phpt"/>
<file role="test" name="test_general_valid2.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_CVS -->
<dir name="PEAR_PackageFileManager_File">
<dir name="checkIgnore">
<file role="test" name="test_complex_multiple_no.phpt"/>
<file role="test" name="test_complex_multiple_pass.phpt"/>
<file role="test" name="test_complex_no.phpt"/>
<file role="test" name="test_emptyarray.phpt"/>
<file role="test" name="test_nonarray.phpt"/>
<file role="test" name="test_simple_dir_no.phpt"/>
<file role="test" name="test_simple_dir_pass.phpt"/>
<file role="test" name="test_simple_no.phpt"/>
<file role="test" name="test_simple_pass.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/checkIgnore -->
<dir name="dirList">
<dir name="test_bug1217">
<file role="test" name="0"/>
<file role="test" name="firstfile.php"/>
<file role="test" name="fourthfile.php"/>
<file role="test" name="secondfile.php"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/dirList/test_bug1217 -->
<file role="test" name="test_bug1217.phpt"/>
<file role="test" name="test_invalid.phpt"/>
<file role="test" name="test_valid.phpt"/>
<file role="test" name="test_valid_addhiddenfiles.phpt"/>
<file role="test" name="test_valid_with_ignore.phpt"/>
<file role="test" name="test_valid_with_include.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/dirList -->
<dir name="getFileList">
<file role="test" name="test_valid.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/getFileList -->
<dir name="getRegExpableSearchString">
<file role="test" name="test_1.phpt"/>
<file role="test" name="test_dir_regexp.phpt"/>
<file role="test" name="test_file_regexp.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/getRegExpableSearchString -->
<dir name="setDir">
<file role="test" name="test_concept.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/setDir -->
<dir name="setupDirs">
<file role="test" name="test_concept.phpt"/>
<file role="test" name="test_valid.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/setupDirs -->
<dir name="setupIgnore">
<file role="test" name="test_complex.phpt"/>
<file role="test" name="test_complex_multiple.phpt"/>
<file role="test" name="test_emptyarray.phpt"/>
<file role="test" name="test_nonarray.phpt"/>
<file role="test" name="test_simple.phpt"/>
<file role="test" name="test_simple_0.phpt"/>
<file role="test" name="test_simple_dir.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File/setupIgnore -->
<file role="test" name="setup.php.inc"/>
</dir> <!-- /tests/PEAR_PackageFileManager_File -->
<dir name="PEAR_PackageFileManager_XMLOutput">
<file role="test" name="test_valid1.phpt"/>
</dir> <!-- /tests/PEAR_PackageFileManager_XMLOutput -->
<dir name="setOptions">
<file role="test" name="test_invalid_badfilelistgenerator1.phpt"/>
<file role="test" name="test_invalid_badfilelistgenerator2.phpt"/>
<file role="test" name="test_invalid_badfilelistgenerator3.phpt"/>
<file role="test" name="test_invalid_filelistgeneratorcustom.phpt"/>
<file role="test" name="test_invalid_nobaseinstalldir.phpt"/>
<file role="test" name="test_invalid_nopackagedir.phpt"/>
<file role="test" name="test_invalid_nostate.phpt"/>
<file role="test" name="test_invalid_noversion.phpt"/>
<file role="test" name="test_valid_filelistgeneratorcustom.phpt"/>
<file role="test" name="test_valid_filelistgeneratorcvs.phpt"/>
<file role="test" name="test_valid_filelistgeneratorfile.phpt"/>
</dir> <!-- /tests/setOptions -->
<file role="test" name="Bad_file.php"/>
<file role="test" name="phpt_test.php.inc"/>
<file role="test" name="setup.php.inc"/>
<file role="test" name="test1_package.xml"/>
<file role="test" name="Test_file.php"/>
</dir> <!-- /tests -->
<file role="php" name="PackageFileManager.php"/>
</dir> <!-- / -->
</filelist>
</release>
<changelog>
<release>
<version>0.1</version>
<date>2003-07-21</date>
<license>PHP License</license>
<state>alpha</state>
<notes>First release of PEAR_PackageFileManager
</notes>
</release>
<release>
<version>0.2</version>
<date>2003-07-21</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Generation of package.xml from scratch is now supported. In addition,
generation of &lt;provides&gt; is supported and so is addition of
maintainers and configure options
- Fixed a bug in &lt;release&gt; generation
- Added _addProvides() to generate a &lt;provides&gt; section
</notes>
</release>
<release>
<version>0.3</version>
<date>2003-07-22</date>
<license>PHP License</license>
<state>alpha</state>
<notes>bugfix release
- &lt;!DOCTYPE package SYSTEM &quot;http://pear.php.net/dtd/package-1.0&quot;&gt; is added
if it isn't present
- fixed ignoring of license option
- added documentation of the options
- if package, summary or description are passed in the options,
they will overwrite the existing ones even if the package.xml
already exists
- fixed progressive addition of newlines to changelog release notes
due to bug in the package.xml parser
</notes>
</release>
<release>
<version>0.4</version>
<date>2003-07-23</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Bugfix release
- Fixed bug in testing of output
- new option allows specifying the doctype,
default is &quot;http://pear.php.net/dtd/package-1.0&quot;
</notes>
</release>
<release>
<version>0.5</version>
<date>2003-07-23</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Bugfix release
- Fixed bug in type=&quot;php&quot; dependency generation,
- Fixed bug if the package.xml doesn't yet exist
</notes>
</release>
<release>
<version>0.6</version>
<date>2003-07-23</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Bugfix release
- When reading in an existing package.xml, if a file
has been removed, several warnings were emitted by
PEAR_Common attempting to examine the source of a
non-existent file
- Fixed warning if release notes were empty in a
previous changelog
</notes>
</release>
<release>
<version>0.7</version>
<date>2003-07-23</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Bugfix release
- Fixed bug in CVS reading, if files have been added/removed
but not yet committed, it would try to add them to the package.xml
</notes>
</release>
<release>
<version>0.8</version>
<date>2003-07-23</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Bugfix release
- Fixed bug in ignore, ignoring an explicit full path with
or without wildcards would not work
</notes>
</release>
<release>
<version>0.9</version>
<date>2003-07-24</date>
<license>PHP License</license>
<state>alpha</state>
<notes>Bugfix release
- Fixed bug in reading a package.xml with no changelog entry, it now
auto-generates a changelog entry from the existing &lt;release&gt; tag if
there never was a changelog
</notes>
</release>
<release>
<version>0.10</version>
<date>2003-07-25</date>
<license>PHP License</license>
<state>beta</state>
<notes>With the release of 0.10, PEAR_PackageFileManager is
essentially feature-complete. It handles all possible package.xml settings
for PEAR, and is extensible through the 'pearcommonclass' option
- changed to using strnatcasecmp for version numbers
in the search through ChangeLog, so 0.10 &gt; 0.1
- added md5sum attribute to filelist
- added use of PEAR_Common::validatePackage() to catch odd
errors
- fixed incorrect handling of PEAR_Error in File::getFileList()
- added handling of filelist platform attribute
- added handling of filelist install-as attribute
- added handling of filelist replacements options
</notes>
</release>
<release>
<version>0.11</version>
<date>2003-07-25</date>
<license>PHP License</license>
<state>beta</state>
<notes>Bugfix release
- exceptions option should be matching relative path of a file, not just the filename
- exceptions were ignored if dir_roles was specified for the directory containing the file
- fixed documentation error
- added validation of file role
- fixed directory role so that it checks values passed in before using the parent
directory's role
- removed stupid use of eval, replaced with call_user_func
- added new complex example that uses almost every option
</notes>
</release>
<release>
<version>0.12</version>
<date>2003-07-28</date>
<license>PHP License</license>
<state>beta</state>
<notes>Bugfix release
- added fix, if no existing changelog for current package.xml,
but has old changelog, a new one is auto-generated from the release.
- added new switch to specify order of changelog entries
&quot;changelogoldtonew&quot; default true. Set to false to have the
newest entry listed first
</notes>
</release>
<release>
<version>0.13</version>
<date>2003-08-02</date>
<license>PHP License</license>
<state>beta</state>
<notes>Bugfix release
- add warning if you attempt to add a dependency on PHP as a package
- switched to usage of PEAR_Common::getUserRoles()
- added optional dependency support
- added script phase support (unimplemented in PEAR)
</notes>
</release>
<release>
<version>0.14</version>
<date>2003-08-04</date>
<license>PHP License</license>
<state>beta</state>
<notes>Bugfix release
- fix warning if you attempt to add a dependency on PHP as a package
</notes>
</release>
<release>
<version>0.15</version>
<date>2003-08-06</date>
<license>PHP License</license>
<state>beta</state>
<notes>Bugfix release
- erroneous blank &lt;release&gt; tag in changelog for generation of a new
package.xml
</notes>
</release>
<release>
<version>1.0</version>
<date>2003-08-21</date>
<license>PHP License</license>
<state>stable</state>
<notes>First stable release
No changes from 0.15
</notes>
</release>
<release>
<version>1.1.0</version>
<date>2003-12-11</date>
<license>PHP License</license>
<state>stable</state>
<notes>unit-tested with 1 new feature: include
- fixed #8: notices if a package has no dependencies
- fixed #261: package.xml files shouldn't be included in the package file list
- fixed #155: warning emitted if CVS/ is packaged
- fixed #260: .cvsignore files should be excluded from package file lists
- new feature, &quot;include&quot; option. This works just like &quot;ignore&quot; except it
excludes all files that do not match the names passed in. &quot;ignore&quot; includes
only files that do not match the names passed in. Suggested by Stan Lemon
</notes>
</release>
<release>
<version>1.2.0</version>
<date>2004-02-07</date>
<license>PHP License</license>
<state>stable</state>
<notes>*fully* unit-tested with 2 new features: simpleoutput and addhiddenfiles
- new feature, &quot;simpleoutput&quot; option. This eliminates output of
md5sum and provides tags for readability, and outputs &lt;dir&gt; tags.
- each &lt;/dir&gt; close tag has a &lt;!-- comment --&gt; containing the full
directory name that was concluded
- new feature, &quot;addhiddenfiles&quot; option. This allows addition of
files that begin with . like .bashrc
</notes>
</release>
<release>
<version>1.3.0</version>
<date>2004-02-08</date>
<license>PHP License</license>
<state>stable</state>
<notes>Add detectDependencies() - uses PHP_CompatInfo to detect deps.
Also added cleardependencies option to setOptions(), which will
clear all existing dependencies from package.xml before starting
</notes>
</release>
<release>
<version>1.2.1</version>
<date>2004-04-27</date>
<license>PHP License</license>
<state>stable</state>
<notes>Fix bug 1217: file listing stops on files or directories named 0
</notes>
</release>
<release>
<version>1.4.0</version>
<date>2005-02-20</date>
<license>PHP License</license>
<state>stable</state>
<notes>Add addGlobalReplacement() - applies the replacement to every file in the
package.xml
</notes>
</release>
<release>
<version>1.5.0</version>
<date>2005-03-28</date>
<license>PHP License</license>
<state>stable</state>
<notes>New features and bugfixes
* fix Bug #3696 PHP SAPI check in debugPackageFile() not reliable, use php_sapi_name() instead
* implement Request #3747 getOptions() method
* Migrate all unit tests to .phpt, run
&quot;pear run-tests -p PEAR_PackageFileManager&quot; in PEAR 1.4.0 to run tests
post-installation
* add dependency on XML_Tree (used by SVN driver)
* add package2.xml to the list of auto-ignored files
</notes>
</release>
<release>
<version>1.5.1</version>
<date>2005-04-06</date>
<license>PHP License</license>
<state>stable</state>
<notes>Bugfix release
* fix Bug #4003 importOptions() won't work until setOptions() is called
</notes>
</release>
</changelog>
</package>
Jump to Line
Something went wrong with that request. Please try again.