List Info

Thread: Comment on PEAR::PEAR_PackageFileManager_GUI_Web




Comment on PEAR::PEAR_PackageFileManager_GUI_Web
user name
2006-02-08 02:55:06
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

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )