[PEPr] Comment on PEAR::PEAR_PackageFileManager_GUI_Web
| From: | Brett Bieber | Date: | Wed, 08 Feb 2006 02:55:06 +0000 |
| Subject: | [PEPr] Comment on PEAR::PEAR_PackageFileManager_GUI_Web | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41223@lists.php.net to get a copy of this message | ||
Brett Bieber (http://pear.php.net/user/saltybeagle) has commented on the proposal for
PEAR::PEAR_PackageFileManager_GUI_Web.
Comment:
"Replacements -
you have already ability to make multiple replacements."
Maybe I'm just not sure how to do it then. For example - I have a file,
example.ini, which needs @DATA_DIR@, @PHP_BIN@, and @PHP_DIR@ to be
replaced.
If I select example.ini and choose Edit, I can only add one replacement
statement for that individual file, when I need 3.
I'm not sure how, in the GUI_WEB, to do what I do with my PFM2 object:
$packagexml->addReplacement('DWT/examples/example.ini', 'pear-config',
'@PHP_BIN@', 'php_bin');
$packagexml->addReplacement('DWT/examples/example.ini', 'pear-config',
'@DATA_DIR@', 'data_dir');
$packagexml->addReplacement('DWT/examples/example.ini', 'pear-config',
'@PHP_DIR@', 'php_dir');
Is that possible?
The other issue was some way to remember my file ignore statements
(another array option for PPGMGUI_Web maybe?). Every time I generate my
list of files, all of the ones I want to ignore show up again. In PFM I
use:
$packagexml->setOptions(array('ignore'=>array('*.LCK','dwsync.xml','_notes','*.tgz'));
to prevent those files from added to the package.xml.
I hope that makes sense. But like I said, this is coming together nicely -
thank you for creating this.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=335
--
Sent by PEPr, the automatic proposal system at http://pear.php.net