Home » PEAR » PEAR_PackageFileManager2
PEAR_PackageFileManager2 takes an existing v2 package.xml file and updates it with a new filelist and changelog
This package is unmaintained.
Download latest release 1.0.4 (archived versions might be outdated)
License: New BSD License
Description
This package revolutionizes the maintenance of PEAR packages. With a few parameters,
the entire v2 package.xml is automatically updated with a listing of all files in a package.
Features include
- manages the new package.xml 2.0 format in PEAR 1.4.0
- 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 four plugins
exist, one for standard recursive directory content listing, one that
reads the CVS/Entries files and generates a file listing based on the contents
of a checked out CVS repository, one that reads Subversion entries files, and
one that queries a Perforce 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
Maintainers
- Helgi Thormar Thorbjoernsson (dufuz) — lead, active
- Greg Beaver (cellog) — lead, inactive
- Tim Jackson (timj) — lead, active
- Laurent Laville (farell) — lead, inactive
- Arnaud Limbourg (Arnaud) — developer, inactive
Dependencies
Required
- PHP (>= 5.3.0)
- PEAR Installer (>= 1.10.1)
- PEAR_PackageFileManager_Plugins
Optional
- PHP_CompatInfo (>= 1.4.0)
Releases
- 1.0.4 (stable, 2015-12-15)
Release notes
License: New BSD License
* Correct instatllation directory
- 1.0.3 (stable, 2015-12-15)
Release notes
License: New BSD License
* PHP 7 compliance
* Make unit tests portable, resilient, work - 1.0.2 (stable, 2011-03-28)
Release notes
License: New BSD License
* Fixed Bug #16406: addReplacement does not look for files in packagedirectory [patch by Sune Jensen, dufuz]
* Fixed Bug #17451: Misleading error message about PHP_Compat/PHP_CompatInfo [dufuz]
* Fixed Bug #17990: PHP Notice: Undefined index: date in PackageFileManager2.php [dufuz]
* Directory "scripts" is now mapped to role script - 1.0.1 (stable, 2010-02-03)
Release notes
License: New BSD License
Fix bug #16535: Mistyped variable name in usergeneratordir code [cweiske]
- 1.0.0 (stable, 2009-04-15)
Release notes
License: New BSD License
No changes since beta1
- 1.0.0beta1 (beta, 2009-03-25)
Release notes
License: New BSD License
* Removed exportCompatiblePackageFile1() since it is deprecated and would require PFM1 to work.
- 1.0.0alpha1 (alpha, 2009-03-09)
Release notes
License: New BSD License
* Implemented Request #10945 Ignore should take directory into consideration [dufuz]
* Implemented Request #12820 Add glob functionality to PackageFileManager::addReplacement() patch provided by izi (David Jean Louis)
* Implemented Request #12932 .in files should have the src role [dufuz]
* Fixed Bug #13312 Please specify SimpleXML extension dependency [dufuz]
XML_Serializer is now a required dep and simplexml is a optional oneSplit from plugins and PFM1 for easier maintenance
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #10269 | Open | Doc | 2007-03-05 | Missing documentation for subpackages | |
| #10459 | Open | Req | 2007-03-22 | Introduce installexceptions for a directory | |
| #11619 | Open | Req | 2007-07-17 | Add ability to comment in a package file | |
| #12879 | Open | Doc | 2008-01-11 | Add option to prevent generation of <changelog> section | |
| #13310 | Assigned | Bug | 2008-03-05 | Package file validation errors | |
| #13747 | Closed | Bug | 2008-04-22 | Ignore option excludes more than it should | |
| #14170 | Open | Req | 2008-06-17 | Add ability to define multiple baseinstalldirs | |
| #15534 | Assigned | Bug | 2009-01-07 | Multiple phprelease not handled correctly | |
| #16323 | Closed | Bug | 1.0.0 | 2009-06-13 | Impossible to add extension dependency |
| #16406 | Closed | Bug | 1.0.0 | 2009-07-05 | addReplacement does not look for files in packagedirectory |
| #16535 | Closed | Bug | 1.0.0 | 2009-08-18 | Mistyped variable name in usergeneratordir code |
| #16597 | Duplicate | Bug | 1.0.0 | 2009-09-12 | Reference to undefined variable |
| #16598 | Wont fix | Bug | 1.0.0 | 2009-09-12 | Missing argument to constructor |
| #16714 | Duplicate | Bug | 1.0.0 | 2009-10-20 | PFM2 does not respect addReplacement() for adding tasks to package.xml |
| #17451 | Closed | Bug | 1.0.1 | 2010-06-01 | Misleading error message about PHP_Compat/PHP_CompatInfo |
| #17923 | Closed | Req | SVN | 2010-10-03 | Fix SVN dir layout, enable unit tests to run |
| #17990 | Closed | Bug | 1.0.1 | 2010-10-25 | PHP Notice: Undefined index: date in PackageFileManager2.php |
| #21157 | Open | Req | SVN | 2016-12-16 | Move source to GitHub |
| #23753 | Open | Bug | 1.0.4 | 2018-05-29 | Cannot install using PEAR |