Commit Graph

41 Commits

Author SHA1 Message Date
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Stig Bakken
7e21663cb5 * ws/folding 2002-11-26 21:49:55 +00:00
Stig Bakken
df158fa5cf * added --ignore-errors option, --force no longer ignores errors 2002-11-26 01:32:47 +00:00
Christian Dickmann
18296252b2 Add new tag to package.xml named <warnings>.\nThis warnings are printed when installing/upgrading the package.\nThis patch was created in a cooperation with Tal Peer (Thanks for the idea Tal) 2002-11-13 14:17:26 +00:00
Stig Bakken
bb607d2d62 * add --installroot / -R option to install/upgrade commands 2002-10-10 01:02:42 +00:00
Stig Bakken
b5df9f32de * more consistent output 2002-09-09 21:45:40 +00:00
Stig Bakken
cbbc47a199 * added "upgrade-all" command 2002-07-28 08:52:55 +00:00
Tomas V.V.Cox
77acb22bba - Force params to version_compare() to be strings, otherwise some
comparations will fail (ex. 0.9 will be equal to 0.90)
- Other minor cleanup's
2002-06-19 23:38:59 +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
Stig Bakken
f111dff665 * merge NEW_UI_API branch 2002-06-02 13:07:19 +00:00
Tomas V.V.Cox
f2f69974e9 "Help" fixes 2002-05-26 17:37:52 +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
9cd470d160 * no output in verbosity level 0 2002-05-20 10:43:29 +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
677cda3ea4 * no need for getHelp() here anymore 2002-05-14 01:49:18 +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
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
021ed8a10b * reintroduce (un)install -r option for Registeration only 2002-04-19 14:00:14 +00:00
Stig Bakken
894cbdf3d2 * implemented role="script" and <replace> substitution during install 2002-04-09 08:10:12 +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
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
Tomas V.V.Cox
750ca4295e typo 2002-04-01 19:17:59 +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
edab1197f3 Go with the help system 2002-04-01 14:32:40 +00:00
Tomas V.V.Cox
dc17bcc6ab fix parse error 2002-03-23 15:56:14 +00:00
Stig Bakken
9fae289542 * use switch/case for what it's worth :-) 2002-03-23 10:20:41 +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
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
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