Commit Graph

299 Commits

Author SHA1 Message Date
Tomas V.V.Cox
5700c0d421 Some minor error verbosity updates 2002-05-21 02:31:23 +00:00
Tomas V.V.Cox
39b4baccbe doListRemote -> doRemoteList 2002-05-21 02:28:08 +00:00
Tomas V.V.Cox
2133d0f4ac Make the installation of a package fail when _installFile
fails and "force" is not set
2002-05-21 02:11:42 +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
f208968c9f * make infoFromAny actually work :) 2002-05-21 01:20:51 +00:00
Stig Bakken
3cb61284ad * better wording 2002-05-21 01:20:24 +00:00
Stig Bakken
d24f7420d0 * disable debug in XML_RPC fallback 2002-05-20 22:29:52 +00:00
Stig Bakken
6553e94791 * new command setup 2002-05-20 11:37:33 +00:00
Stig Bakken
2034c61557 * _infoFromAny goes public! 2002-05-20 10:45:23 +00:00
Stig Bakken
840b5f8e67 * some verbosity changes: 0 - only errors, 1 - status report when the
install is done, 2 - show each operation, 3 - show file operations
2002-05-20 10:44:53 +00:00
Stig Bakken
9cd470d160 * no output in verbosity level 0 2002-05-20 10:43:29 +00:00
Stig Bakken
5c7623ee86 * added PEAR_Config::removeLayer() 2002-05-20 10:42:47 +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
Tomas V.V.Cox
3716f28350 Fix small bug making the baseinstalldir attrib persist 2002-05-20 01:17:09 +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
Stig Bakken
f19b566a40 * compat fix 2002-05-19 16:32:18 +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
6eee62645b * support platform-specific files 2002-05-19 06:19:26 +00:00
Tomas V.V.Cox
fd5b0fb50a make downloadHttp() detect HTTP errors 2002-05-15 11:23:01 +00:00
Tomas V.V.Cox
d9f4162ab9 Try to create the dir where the conf file resides before trying
to write to it
2002-05-14 17:59:41 +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
a14aeac0f8 * fall back to XML_RPC if xmlrpc-epi is not loaded
# still buggy
2002-05-14 01:51:06 +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
d0fc0d4c08 * fix up package dependency check 2002-05-12 14:53:54 +00:00
Tomas V.V.Cox
3a838c7737 Make <dep type="pkg" rel="has"> avaible 2002-05-12 14:42:03 +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
1a74e43001 * apply umask when installing files 2002-05-03 00:01:54 +00:00
Stig Bakken
f6ad0eee1d * add umask config value 2002-05-02 23:56:44 +00:00
Stig Bakken
dd3423434a * slight cleanup 2002-04-29 06:38:07 +00:00
Stig Bakken
7db1420fa6 * call the right parent constructor 2002-04-29 06:29:07 +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
c5d6a0c524 * always set $this->config (use PEAR_Config::singleton)
* rename setFrontend to setFrontendObject
* add validPackageName method
* added downloadHttp callback types setup, connfailed and writefailed
* no more passing config objects around
2002-04-29 06:23:05 +00:00
Stig Bakken
0252c2bb39 * use the downloadHttp method w/callback 2002-04-29 06:20:42 +00:00