Stig Bakken
cb097ffded
* added config-help command
2002-05-27 00:21:36 +00:00
Tomas V.V.Cox
8cd936095b
Make the error handling work again since the new internal command
...
structure
2002-05-26 19:08:21 +00:00
Stig Bakken
5819f202f9
* bold column headings
2002-05-26 17:48:40 +00:00
Tomas V.V.Cox
f2f69974e9
"Help" fixes
2002-05-26 17:37:52 +00:00
Martin Jansen
cbdcb20b37
* Make rel_trans from doPackageInfo globally available.
...
* Add command "package-dependencies" (shortcut "pd") to list the
dependencies of a package.
2002-05-25 09:03:19 +00:00
Tomas V.V.Cox
613f08a231
Trigger an error if the run-test.php file is not found
...
Make the run-tests pear cmd run with the CGI SAPI
2002-05-22 12:44:21 +00:00
Stig Bakken
d8d42fcc59
* show installed_as instead of a "calculated" path for installed packages
2002-05-21 07:18:48 +00:00
Stig Bakken
e7ccd22d5e
* disable wrapping for now
2002-05-21 07:00:45 +00:00
Tomas V.V.Cox
39b4baccbe
doListRemote -> doRemoteList
2002-05-21 02:28:08 +00:00
Stig Bakken
6eb5ad0f53
* list command no longer displays test and data files when listing
...
installed files
2002-05-21 02:04:03 +00:00
Stig Bakken
c8ea5b26d2
* package-list command no longer needed ("list" does the same thing and
...
more)
2002-05-21 01:44:06 +00:00
Stig Bakken
cea551cf93
* rename shell-test shortcut to st (was stest)
2002-05-21 01:40:35 +00:00
Stig Bakken
dd6b25cfcb
* added more shortcuts
2002-05-21 01:38:50 +00:00
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
6553e94791
* new command setup
2002-05-20 11:37:33 +00:00
Stig Bakken
9cd470d160
* no output in verbosity level 0
2002-05-20 10:43:29 +00:00
Stig Bakken
a31e8b7373
* remove getCommands() from here
...
* added options to "pear cvstag": -q -Q -d -F
2002-05-20 10:31:12 +00:00
Stig Bakken
845e6f86bc
* remove run() from this class
2002-05-20 08:56:00 +00:00
Tomas V.V.Cox
3b97fe3657
Added missing key 'doc' for -Z help
2002-05-20 01:22:00 +00:00
Stig Bakken
7542066eef
* no need for getCommands() here
2002-05-20 00:17:43 +00:00
Stig Bakken
c2d1d3fc82
* new command setup
2002-05-20 00:15:52 +00:00
Stig Bakken
9fd5019fed
* typo fixes, wrapping
2002-05-20 00:11:15 +00:00
Tomas V.V.Cox
26493531d4
Put "pear help command" working again
2002-05-19 15:44:47 +00:00
Stig Bakken
6dce2376da
* new command setup
2002-05-19 06:48:40 +00:00
Stig Bakken
ce2b2b76a0
* convert to new command setup
2002-05-14 12:46:17 +00:00
Stig Bakken
b45e7182a0
* typo
2002-05-14 12:34:49 +00:00
Stig Bakken
95ab15f0a5
* add command definitions, split run() into one method for each command
2002-05-14 01:49:56 +00:00
Stig Bakken
677cda3ea4
* no need for getHelp() here anymore
2002-05-14 01:49:18 +00:00
Stig Bakken
1da524b016
* moved get{Help,Commands,Options} here
2002-05-14 01:48:20 +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
625b9c5f88
Add "r" in cmd help
2002-05-12 16:31:30 +00:00
Stig Bakken
fddbd15554
* add "pear run-tests" command
2002-05-09 12:45:29 +00:00
Stig Bakken
dad70be69c
* show "update ok" after updates
2002-05-09 06:49:12 +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
Stig Bakken
ac53945e9b
* PEAR_Installer constructor now expects only the UI object
2002-04-29 06:24:37 +00:00
Stig Bakken
1ca41f7f49
* PEAR_Common::downloadHttp no longer wants a config object
2002-04-29 06:23:51 +00:00
Stig Bakken
eade67d6ab
* implemented "list-remote-packages" command
2002-04-28 07:35:30 +00:00
Stig Bakken
722cd4fa17
* use PEAR_Common::downloadHttp()
2002-04-23 07:01:45 +00:00
Tomas V.V.Cox
13f7ec4374
Bail on no HTTP.php present in the system
...
Let "pear download" act ala wget
2002-04-21 01:34:49 +00:00
Stig Bakken
021ed8a10b
* reintroduce (un)install -r option for Registeration only
2002-04-19 14:00:14 +00:00
Tomas V.V.Cox
7325f1a4f0
Added standar header
2002-04-16 00:38:21 +00:00
Tomas V.V.Cox
8a365fd8a2
Vim tags added plus some other minor text about license and author
2002-04-16 00:31:16 +00:00
Tomas V.V.Cox
299849fbf2
Be more clear when no packages are installed
2002-04-16 00:23:32 +00:00
Tomas V.V.Cox
26e59d106c
Give the right error when wrong params given to package-info and
...
fix/add help some help messages
2002-04-16 00:22:55 +00:00
Stig Bakken
d1814a3c12
* cvstag command: tag slide option is -f, not -F
2002-04-13 00:23:19 +00:00
Tomas V.V.Cox
ca0b7690c8
Implemented "pear download <pakage>"
2002-04-10 15:15:12 +00:00
Tomas V.V.Cox
f833895afd
Help for command "shell-test"
2002-04-10 12:40:06 +00:00
Tomas V.V.Cox
3788b31b0e
Added "pear package -n" (only output the created package file name)
2002-04-10 12:23:31 +00:00
Stig Bakken
e91f94a259
* package-validate uses package.xml as default param
2002-04-09 17:15:17 +00:00
Tomas V.V.Cox
dc811f3041
Fix package-list not showing the right Install path
2002-04-09 13:49:47 +00:00
Stig Bakken
8efdf7bc37
* get rid of CommandResponse stufff
2002-04-09 08:18:49 +00:00
Stig Bakken
894cbdf3d2
* implemented role="script" and <replace> substitution during install
2002-04-09 08:10:12 +00:00
Stig Bakken
6303972256
* added "cvstag" command
2002-04-07 19:42:05 +00:00
Stig Bakken
d6d8d78754
* remove empty fold
2002-04-07 16:51:17 +00:00
Tomas V.V.Cox
361cebe460
Just some help cleanup
2002-04-07 14:30:32 +00:00
Stig Bakken
73f4b5b2fa
* typo
2002-04-07 13:22:21 +00:00
Stig Bakken
5179e9d0fa
* rename package-verify command to package-validate
2002-04-07 12:40:51 +00:00
Stig Bakken
dc974a0299
* support for .tar files in PEAR_Installer
...
* new command: package-verify
* "package" command now sanity-checks the package information before
making the tarball
* -Z option to the install/update commands for downloading non-compressed
packages
2002-04-07 10:38:04 +00:00
Stig Bakken
d4dfead250
* Added "-s" (soft update) option to install/upgrade. Will make installs
...
fail silently.
2002-04-02 09:21:48 +00:00
Stig Bakken
dfa3b671f7
* Implemented "shell-test" command for writing shell scripts that check
...
whether a package is installed. Example of use:
if ! pear shell-test Net_Socket; then
echo "You don't have the Net_Socket package installed!" >&2
exit 1
fi
2002-04-02 09:20:28 +00:00
Tomas V.V.Cox
750ca4295e
typo
2002-04-01 19:17:59 +00:00
Tomas V.V.Cox
b57e0609ad
Added layer checks and reorganize a little the code
2002-04-01 19:16:01 +00:00
Tomas V.V.Cox
6ec8fbc30e
- Make "config-set" actually store the values
...
- Help and error messages enhance
2002-04-01 18:19:45 +00:00
Tomas V.V.Cox
827334cd2f
- Added "nodeps" option to install/upgrade/uninstall
...
(pear install -n package.tgz)
- Finish to document the install commands
2002-04-01 17:25:42 +00:00
Tomas V.V.Cox
6e8268e4a4
added help
2002-04-01 15:23:46 +00:00
Tomas V.V.Cox
edab1197f3
Go with the help system
2002-04-01 14:32:40 +00:00
Stig Bakken
f1c803a41c
* avoid object copying
2002-03-31 01:51:08 +00:00
Stig Bakken
69df28337b
* implemented "pear list-upgrades", which will show you what releases
...
are available on the server (shows newer releases with the same state)
2002-03-29 02:41:28 +00:00
Stig Bakken
45878bff77
* always require PEAR/Common.php
2002-03-29 02:39:33 +00:00
Stig Bakken
84652eeb52
* per-command fold marks
2002-03-28 23:50:45 +00:00
Tomas V.V.Cox
b5f477ba00
E_ALL fixes
2002-03-26 16:31:13 +00:00
Tomas V.V.Cox
757ec9ef38
Show maintainers name in package-info and show more human friendly
...
column table names
2002-03-23 17:55:51 +00:00
Tomas V.V.Cox
1cf543c34a
Yet another break; forgotten
2002-03-23 17:46:51 +00:00
Tomas V.V.Cox
fdce319634
Oops, forgot the break;
2002-03-23 17:44:48 +00:00
Tomas V.V.Cox
8ea9125840
- Show the real dir where files would be installed (using role & config)
...
- Introduce column wrapping
2002-03-23 17:27:39 +00:00
Tomas V.V.Cox
dc17bcc6ab
fix parse error
2002-03-23 15:56:14 +00:00
Stig Bakken
3402d342a6
* added package-list and package-info commands (for .tgz files)
2002-03-23 10:21:29 +00:00
Stig Bakken
9fae289542
* use switch/case for what it's worth :-)
2002-03-23 10:20:41 +00:00
Stig Bakken
1b09d1f19c
* typo fix
2002-03-22 12:46:18 +00:00
Stig Bakken
75f15860b1
* use PEAR_Frontend tables in config-show command
2002-03-22 12:45:41 +00:00
Stig Bakken
a57a5d7eda
* now using PEAR_Frontend tables
2002-03-22 11:59:52 +00:00
Stig Bakken
5d11204de0
* rename class/methods
2002-03-22 11:09:58 +00:00
Stig Bakken
60035fb949
* rename PEAR_CommandUI* to PEAR_Frontend*
...
* rename PEAR/Command/Login.php to PEAR/Command/Auth.php
* replace PEAR/Command/Info.php with PEAR/Command/Registry.php (will contain
more commands related to the local registry)
* started working on Frontend table output
2002-03-22 09:22:28 +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
a7936eea78
- Implement command level options
...
- Removed call pass by reference
- Readd $options to command::run() params
2002-03-21 20:52:26 +00:00
Tomas V.V.Cox
9bee3510ea
readd the "list" command
2002-03-21 11:33:54 +00:00
Tomas V.V.Cox
b14c8152da
Adapt this commands to the new config store mechanism and command params
2002-03-21 11:16:15 +00:00
Tomas V.V.Cox
47c71bcaa1
- The config object is stored by the factory method
...
- Make install/unistall/package work again (didn't work for me)
2002-03-21 11:10:17 +00:00
Stig Bakken
de381091ba
* re-add "package" command
2002-03-19 19:55:30 +00:00
Stig Bakken
fdf8cafd11
* "pear login" finally works
2002-03-19 19:31: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
8e0e7cd4ba
* code for install/uninstall/upgrade complete, not yet tested
...
# uses a new, un-committed version of PEAR_Config
2002-03-01 09:43:18 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Stig Bakken
3ea5f3343b
* started implementing new "cross-environment" command API
...
# work in progress, not tested at all yet!
2002-02-23 15:32:36 +00:00