Stig Bakken
40878cbe0e
* PHP_PREFIX constant is not defined, use bin_dir pear config instead
2002-04-21 10:16:32 +00:00
Wez Furlong
b10b24d50c
Always initialize wrappers, regardless of PG(allow_url_fopen).
...
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
2002-04-16 22:14:27 +00:00
Stig Bakken
5bdc0eaafe
* use the UI's displayFatalError method
2002-04-07 16:48:24 +00:00
Stig Bakken
812d9bf3c4
* remove "exit" at the end, it causes a "false" exit code always
2002-04-02 09:10:23 +00:00
Tomas V.V.Cox
def4a8485d
- Set some php.ini values needed by the installer
...
- Removed unused present_array() and heading() functions
2002-04-01 16:49:19 +00:00
Tomas V.V.Cox
1924492aed
Adaptation for the new help system
2002-04-01 14:35:08 +00:00
Stig Bakken
8ce0ceb372
* setUIType -> setFrontendType
2002-03-22 11:57:09 +00:00
Tomas V.V.Cox
9772468d37
- Make the rellocation of packages work as expected if the target
...
dir doesn't exist
- The "install -f" now replaces the info in the registry
2002-03-21 22:29:03 +00:00
Tomas V.V.Cox
41a8a27676
- Added command level options
...
- Fix error handling for Getopt (it doesn't use raiseError)
2002-03-21 20:55:41 +00:00
Tomas V.V.Cox
139f69ca32
Pass config to command factory and pass the correct command params
2002-03-21 11:13:02 +00:00
Stig Bakken
a036fe5b72
* Refactoring of "pear" command internals. Highlights:
...
- user interface abstraction, making a Gtk installer should only be
a matter of implementing PEAR_CommandUI_Gtk plus a "pear-gtk" executable
- separated code into command classes, able to specify one or more
commands
- no more "pear-get" :-)
* fixed use of PEAR_Config::singleton to avoid object copying
2002-03-18 17:39:52 +00:00
Stig Bakken
615f110d4e
* modularize "pear" and "pear-get" commands somewhat. checking options
...
etc. is done for both in pearcmd-common.php.
2002-01-30 12:20:12 +00:00
Tomas V.V.Cox
ce82f6261a
use the new Console_Getopt::readPHPArgv() function to read args
2002-01-06 20:19:41 +00:00
Tomas V.V.Cox
7f98b04296
Added check for $argv avaible
...
(thanks Michael Härtl <mhaertl@pressline.de>)
2002-01-05 17:20:08 +00:00
Stig Bakken
4fc3baefd2
* start splitting "pear" command into "pear" and "pear-get"
2002-01-02 17:11:34 +00:00
Tomas V.V.Cox
65a205a7db
added default target for installing documentation
2001-12-26 04:00:30 +00:00
Tomas V.V.Cox
8e18d716f8
that makes more sense
2001-12-18 08:52:48 +00:00
Tomas V.V.Cox
be45657eea
quick fix for the "pear info" command
2001-12-18 08:48:28 +00:00
Stig Bakken
aef2b692c1
* implemented "upgrade"
...
* report install/uninstall errors
2001-12-12 01:35:03 +00:00
Tomas V.V.Cox
18f2ffeead
fixed bug #14414
2001-12-11 20:52:58 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Stig Bakken
180cce6f63
* fixed the sub-command option parsing
...
* added -r option to install/uninstall (registers package without
installing any files, for use by rpm and the like)
2001-12-11 08:39:56 +00:00
Tomas V.V.Cox
15f0f8ae23
implemented "uninstall" command
2001-11-15 01:24:35 +00:00
Stig Bakken
f705826052
* command name changes
2001-11-13 01:07:36 +00:00
Stig Bakken
b1976de01b
* fix "list" command
2001-11-07 09:25:39 +00:00
Tomas V.V.Cox
5695709fb7
E_ALL fixes
2001-11-06 01:05:28 +00:00
Stig Bakken
f0df3f5f82
* added "pear info" and "pear show-config" commands
...
* "pear install" now using the package registry
2001-10-31 05:39:11 +00:00
Stig Bakken
7ab89b02c4
* started working on "pear list" command
2001-10-29 14:15:43 +00:00
Stig Bakken
fd42c6afba
* nuked PEAR_Packlist class and added PEAR_Registry instead
2001-10-28 23:22:17 +00:00
Stig Bakken
cd0fb34562
* actually implement -s/-S options :-)
2001-10-27 07:52:12 +00:00
Stig Bakken
c278bfc448
* implemented "pear list-packages", the first sub-command using xmlrpc
2001-10-26 11:45:21 +00:00
Stig Bakken
f197cf3630
* PEAR_Config class to maintain system and per-user configuration for
...
PEAR installations
* PEAR_Remote class to communicate with the backend server (xmlrpc)
* change pear script's option parsing to "-d foo=bar" style
* added -c/-C (user/system config file) and -s/-S (store user/system config)
options
2001-10-26 10:07:43 +00:00
Tomas V.V.Cox
c75f153daa
Oops, said include but do require (thanks Jon and Rasmus)
2001-07-17 20:46:16 +00:00
Tomas V.V.Cox
55c6e37956
include only the needed files
2001-07-17 19:11:48 +00:00
Tomas V.V.Cox
881f74263a
-Changed $param[0] to $param{0} less ambiguous
...
-Readd "-?" param that shows the usage msg
2001-05-23 14:38:09 +00:00
Tomas V.V.Cox
e88dd1ac99
remove "?" from Console_Getopt. Sorry Andrei it was there and
...
I left there :)
2001-05-22 16:30:36 +00:00
Tomas V.V.Cox
a3d92b745a
- Added the following params support:
...
* -p set script install dir
* -e set extension install dir
* -d set documentation dest dir
* -v set verbose level
- Some error reporting clean up
- Added the standar PHP copyright header and authors
2001-05-22 16:21:02 +00:00
Stig Bakken
90c1355a75
* PEAR_Installer un-broken again, it still doesn't update the
...
package list though
* better error handling in "pear" script
2001-04-17 02:33:45 +00:00
Stig Bakken
457333c1fd
* implemented PEAR_Packager to make distribution packages. Currently only
...
runs on platforms with GNU tar installed
* the "pear" script now requires a command parameter (similar to cvs),
for example "pear package Cache.xml"
* broke PEAR_Installer :-)
2001-04-17 01:17:59 +00:00
Stig Bakken
6792978aed
* updated copyrights (thanks Colin)
...
* moved scripts to own directory (bug #7635 )
2001-01-10 01:01:59 +00:00