PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #5747

Add ability to skip package validation when packaging a package

Details

Request #5747Add ability to skip package validation when packaging a package
Submitted2005-10-21 20:44 UTC
Fromscott at crisscott dot com
StatusWont fix
PackagePEAR
PHP Version5.0.3
OSLinux
Roadmaps(Not assigned)

Comments

[2005-10-21 20:44 UTC] scott at crisscott dot com

Description:
------------
With the advent of channels, PEAR has become a viable distribution tool for more than just PHP code. I am using PEAR to manage all of our PHP development including websites. This causes a problem when files that are not PHP code need to be treated as if they were (i.e. role="php"). When a non-PHP file is validated because its role is PHP, the PEAR packager throws way too many validation errors to count.

I would like to be able to package any collection of files without validation. One solution is to pass a commandline flag that tells PEAR not to validate a package when packaging it. I do not think this is the optimal solution but it is one that I was able to implement relatively quickly. Please see the patches in the Test script section.

Test script:
---------------
http://crisscott.com/tmp/PEAR_Packager.patch
http://crisscott.com/tmp/PEAR_Command_Package.patch

[2005-10-24 13:18 UTC] scott at crisscott dot com

Thanks Greg. This is exactly what I was looking for. I just didn't understand it completely.