Stig Bakken
7ecfacedad
* implemented shortcuts ("pv" for "package-validate" etc.)
...
do "pear help shortcuts" to see what shortcuts exist
* renamed "list-installed" command to "list" and made it able to
list the contents of installed packages as well as tar/tgz/xml files
* added some more/better command docs
* fixed up the synopsis part in the help output
* display option parameters (--foo=bar, where bar is specified in
'shortarg' as for example 'f:bar')
* renamed list-remote-packages to list-remote
* renamed remote-package-info to remote-info
2002-05-21 01:27:53 +00:00
Stig Bakken
454a31121c
* support multiple -v and -q options
2002-05-20 10:27:16 +00:00
Tomas V.V.Cox
93b603861e
Put "pear help options" working again
2002-05-19 15:50:36 +00:00
Tomas V.V.Cox
5ea5758bcf
Add "\n" after the error in usage()
2002-05-14 17:58:44 +00:00
Stig Bakken
ed16e64498
* moved the {config xxx} help message substitution to
...
PEAR_Command_Common::getHelp
2002-05-14 01:45:20 +00:00
Stig Bakken
66605d218d
* fix option parsing
2002-05-12 23:21:30 +00:00
Stig Bakken
3bc12ac242
* refactored the command/options code:
...
- now each command class should define a "commands" property with
documentation, option specs etc.
- both long and short options are now supported
- after recent changes to Console_Getopt, you may now have options
to commands even though the same option is also valid for the pear
command itself
- less CLI-centric, better suited to Gtk and Web frontends
2002-05-12 21:09:04 +00:00
Tomas V.V.Cox
94a3659642
The command name is now the first arg not the second
2002-05-12 16:42:50 +00:00
Tomas V.V.Cox
1bf2abc2f5
The first entry in argv is the command name, so Getopt will stop
...
parsing more args
# Stig be carefull, your change to Getopt breaks BC
2002-05-12 16:30:26 +00:00
Derick Rethans
24e96213ff
- Fix phpize
2002-05-09 12:27:20 +00:00
Derick Rethans
f0d18c63be
- Dump API NOs
2002-05-09 12:11:57 +00:00
foobar
1d4753755d
Fix 'php-config --version'
2002-05-09 12:06:44 +00:00
Stig Bakken
b14c2f9185
* add -G option to "pear" for php-gtk frontend
...
* added Gtk stub (only creates window right now)
* added command descriptions
2002-05-09 02:31:37 +00:00
Jon Parise
b2579d3480
Revert the previous commit (revision 1.40).
...
@bindir@ ended up becoming '${exec_prefix}' (literally) on my system
(FreeBSD 4.5), thus producing a broken shebang line.
@prefix@ works fine for me here. If @bindir@ is indeed preferred, the
substitution problem noted above needs to be resolved before the change
is reapplied.
2002-05-02 05:36:21 +00:00
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
James Cox
c602369f81
it's been changed back to php.exe
2002-04-09 09:59:17 +00:00
Alexander Merz
f6cc322d7d
updated, requires PHP4.2 php-cgi
2002-04-09 09:28:04 +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
41c1c08495
* get rid of this hack
2002-03-18 18:01:14 +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
Sascha Schumann
9d9d39a0de
Please welcome the new build system.
...
If you encounter any problems, please make sure to email sas@php.net
directly.
An introduction can be found on
http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Vincent Blavet
04db776e71
Config variables must be set between "" while using pear.bat windows script
2002-02-20 22:39:16 +00:00
Martin Jansen
12ebcb3a21
* Fix for bug #15500
2002-02-17 15:32:53 +00:00
Vincent Blavet
f6f6d88ad3
* Synchronize pearwin script with pearcmd-xxx.php commands
...
* Still work to do
2002-02-13 21:27:54 +00:00
Vincent Blavet
dac7d61612
* user system/user config rather than default value
2002-02-13 21:26:39 +00:00
Vincent Blavet
e5a24250d2
- Adding support for remote-list command (with XML-RPC installed)
...
- Start support of show-config (still work to do ...)
2002-02-13 08:50:07 +00:00
Stig Bakken
042b883899
* print package name
2002-02-13 01:07:30 +00:00
Martin Jansen
7270b4223d
* Better error handling.
2002-02-07 20:50:08 +00:00
Stig Bakken
c049dda279
* lowercase tags and attributes
2002-01-31 08:19:34 +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
Vincent Blavet
06c98b477b
* Call the PEAR_Registry constructor with the optional parameter
2002-01-24 08:24:24 +00:00
Vincent Blavet
2c91e54d5a
* Add uninstall command
...
* Add list-installed command
2002-01-23 19:09:54 +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