Commit Graph

65 Commits

Author SHA1 Message Date
Stig Bakken
f111dff665 * merge NEW_UI_API branch 2002-06-02 13:07:19 +00:00
Stig Bakken
819dd35055 * fix some errors/warnings
* install data and test files now
2002-05-28 00:11:41 +00:00
Stig Bakken
a618f2cd8b * fixes for php without zlib 2002-05-27 12:45:03 +00:00
Stig Bakken
7132d9e56f * cleaned up error handling in _installFile 2002-05-26 11:46:11 +00:00
Tomas V.V.Cox
6ec69deaf6 TODO++
Check dependencies break on package uninstall (when no force given)
2002-05-23 20:42:33 +00:00
Tomas V.V.Cox
743ad31884 files that are not installed should be removed from the
registered file list (TODO--)
2002-05-21 09:19:46 +00:00
Stig Bakken
86a043d250 * add TODO comment 2002-05-21 07:16:35 +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
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
6eee62645b * support platform-specific files 2002-05-19 06:19:26 +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
Stig Bakken
1a74e43001 * apply umask when installing files 2002-05-03 00:01:54 +00:00
Stig Bakken
0252c2bb39 * use the downloadHttp method w/callback 2002-04-29 06:20:42 +00:00
Stig Bakken
03a52cd97c * fix warning 2002-04-25 09:13:55 +00:00
Stig Bakken
88024105c9 * more uniform "level 2 debug messages"
* don't add dirname(file) to install path if install-as attribute is set
2002-04-21 11:46:41 +00:00
Martin Jansen
dc8c2c9a6c * Remove package directory if empty during uninstall process
* Don't baseinstalldir for documentation.
2002-04-21 06:17:53 +00:00
Stig Bakken
c8418830f9 * make "pear install package.xml" possible, so you can install a package
without building a tarball first
2002-04-19 14:01:10 +00:00
Markus Fischer
509ef0237f - Also raise a different error message if we don't specify any package at all.
# We might consider giving the 'pear help uninstall' output to the user?
2002-04-13 06:00:36 +00:00
Markus Fischer
e060e90f0c - Return a different error message if no package file was given at all. 2002-04-13 05:52:54 +00:00
Tomas V.V.Cox
4c125afc74 Make the dependencies check look for the correct registry file 2002-04-09 14:12:12 +00:00
Stig Bakken
894cbdf3d2 * implemented role="script" and <replace> substitution during install 2002-04-09 08:10:12 +00:00
Stig Bakken
79a150068a * append "?uncompress=yes" to the package download url if zlib extension
is not loaded
2002-04-07 21:09:41 +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
James Cox
7d5e529b55 "reverting" to 1.39 as per Tomas Cox's wishes. 2002-03-23 05:29:09 +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
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Vincent Blavet
508b9eff57 * Packager : Changing the order of the files in the package archive file.
The package.xml file is now at the 'root' of the archive, the files tree are under a 'packagename'-'packageversion' folder
* Installer : installing the knew archive format AND supporting the existing format
2002-02-22 21:57:04 +00:00
Stig Bakken
6176cf5216 * "pear-get install Auth" works now 2002-02-13 01:40:18 +00:00
Vincent Blavet
06c98b477b * Call the PEAR_Registry constructor with the optional parameter 2002-01-24 08:24:24 +00:00
Stig Bakken
7ab86afd32 * support "pear-get install XML_RPC" 2002-01-02 17:12:26 +00:00
Tomas V.V.Cox
a8f7a57e97 - Install files marked as "role=doc" in a central PEAR doc dir
(defaults to PHP_DATADIR/pear/doc/Package_name/)
- Store a new property of each installed file ['installed_as'] for
  easy uninstall
2001-12-26 03:57:47 +00:00
Tomas V.V.Cox
1a451a98ba Added dependencies check support for Installer 2001-12-17 21:11:50 +00:00
Stig Bakken
4adfb80edc * implemented upgrade 2001-12-12 01:30:56 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Stig Bakken
131acf55f7 * added "register_only" option for install/uninstall 2001-12-11 08:39:01 +00:00
Stig Bakken
936923a3b6 * added fold marks, moved around some code and silenced some Archive_Tar
notices
2001-12-10 17:00:32 +00:00
Tomas V.V.Cox
15f0f8ae23 implemented "uninstall" command 2001-11-15 01:24:35 +00:00
Stig Bakken
79f0345166 * error message cleanup
* store registry object as property
2001-11-13 01:05:46 +00:00
Stig Bakken
f0df3f5f82 * added "pear info" and "pear show-config" commands
* "pear install" now using the package registry
2001-10-31 05:39:11 +00:00
Stig Bakken
3a97065f87 * disable case-folding in the xml parser (for consistency now that the
DTD is all lowercase)
2001-10-30 12:29:55 +00:00
Stig Bakken
7ab89b02c4 * started working on "pear list" command 2001-10-29 14:15:43 +00:00
Tomas V.V.Cox
d557151ce7 more clean up/fixes 2001-10-09 02:56:33 +00:00
Tomas V.V.Cox
13682462c7 some clean up 2001-10-08 16:52:33 +00:00
Tomas V.V.Cox
c7239f2b00 more work on Windows support 2001-10-08 06:12:13 +00:00
Tomas V.V.Cox
5b0e540882 work on Windows support (use Tar class and System class) 2001-10-07 20:16:41 +00:00
Stig Bakken
2ccffc5600 * fixes to make package.xml parsing case insensitive 2001-08-27 21:25:16 +00:00
Tomas V.V.Cox
cf70755a05 maintain original file perms 2001-08-19 12:30:24 +00:00
Tomas V.V.Cox
88748bc7a8 added BaseInstall dir support 2001-08-01 13:24:55 +00:00