Commit Graph

166 Commits

Author SHA1 Message Date
Alan Knowles
4f1531b163 remote list and remote listall, can now list non-stable packages if you set prefered_state to something else 2002-06-14 15:03:29 +00:00
Christian Dickmann
3dd47bc651 add modes to list-all. fix a mergerbug 2002-06-08 18:44:34 +00:00
Tomas V.V.Cox
fcd6d2b5cd Beautify remote-info 2002-06-07 15:06:25 +00:00
Tomas V.V.Cox
f3673c8798 - Reapplied the "treat umask as octal in "config-set"
command" Stig's patch
- Ported the config-help command to new UI API
2002-06-07 14:50:39 +00:00
Tomas V.V.Cox
eeb7f9dafc More info output retouchs 2002-06-07 10:20:41 +00:00
Tomas V.V.Cox
c083784023 Make "info" full human friendly (in deps list and lastmodified) 2002-06-07 08:45:00 +00:00
Tomas V.V.Cox
9f46d24922 Make $_deps_rel_trans and $_deps_type_trans globally avaible:
moved from Command/Package.php -> Command/Common.php
2002-06-07 08:43:45 +00:00
Tomas V.V.Cox
1dac8c275b Put back the "info" command in its full state:
"Displays information about a package. The package argument may be a
local package file, an URL to a package file, or the name of an
installed package."
Command "package-info" depreciated (again)
2002-06-07 07:54:28 +00:00
Stig Bakken
d1826b4287 * add "nobuild" option to installer (-B or --nobuild option to CLI frontend) 2002-06-06 10:51:26 +00:00
Tomas V.V.Cox
aa7d447d25 Forgot that one 2002-06-06 09:05:04 +00:00
Tomas V.V.Cox
41e7696ec9 Implemented "pear info <Installed Package>" command
# Stig, why I'm sure that you already have implemented this
# command? Have to stop with my LSD therapy
2002-06-06 07:25:07 +00:00
Tomas V.V.Cox
ec9c0bf0a7 Split the doPackageInfo() in doPackageInfo() and _infoForDisplaying()
(this last one can be statically called and is used also from
the "info" command)
2002-06-06 07:22:23 +00:00
Tomas V.V.Cox
fda17098b1 That will really avoid PHP warnings 2002-06-06 06:40:05 +00:00
Tomas V.V.Cox
1971e52e33 Fix package command
# can't beleive you don't test commits :-)
2002-06-06 06:35:12 +00:00
Stig Bakken
4317a5c7a9 * sort package names in "pear list" 2002-06-04 15:25:23 +00:00
Christian Dickmann
19c946cce2 make 'pear search' work with CLI. fix a typo 2002-06-02 20:13:50 +00:00
Stig Bakken
f111dff665 * merge NEW_UI_API branch 2002-06-02 13:07:19 +00:00
Stig Bakken
a0b0ad161f * drop package-info command (deprecated by "info") 2002-05-28 01:21:47 +00:00
Stig Bakken
ecf93ec1fd * update 0.11 release notes
* move build logic into PEAR_Builder
2002-05-28 01:01:43 +00:00
Stig Bakken
731f6a2a97 * treat umask as octal in "config-set" command 2002-05-27 21:59:19 +00:00
Stig Bakken
622c684164 * first shot at "pear build" command for building extensions from C code 2002-05-27 01:20:10 +00:00
Stig Bakken
5f7cdc85da * "info" command 2002-05-27 00:22:01 +00:00
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