Commit Graph

86 Commits

Author SHA1 Message Date
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
Stig Bakken
9c5ff64992 * Windows fix (thanks to paj) 2003-01-29 21:42:54 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Stig Bakken
df158fa5cf * added --ignore-errors option, --force no longer ignores errors 2002-11-26 01:32:47 +00:00
Stig Bakken
40ac4a2d68 Added error codes for the PEAR_Dependency class
Changed the dependency API to have a reference to an error message
string as first arg to all check methods
2002-11-14 23:23:21 +00:00
Stig Bakken
aabda7fc8e * implement transactions for uninstall
* change "revert" to "rollback"
2002-11-10 03:13:31 +00:00
Stig Bakken
888a9bd2fe * implemented file transactions so installs may be safely aborted
* preparing 1.0b2 release
2002-11-10 03:03:20 +00:00
Stig Bakken
28c2fb6681 * fix path prepends 2002-11-08 00:19:21 +00:00
Stig Bakken
b65e60b093 * add transactions member array (for queueing file transactions) 2002-10-22 23:08:09 +00:00
Tal Peer
852ec13d41 * Fixed a nasty bug preventing installation of pecl exts. 2002-10-14 19:57:40 +00:00
Stig Bakken
3aba20dd9e * verify md5 checksums during install 2002-10-12 00:40:16 +00:00
Stig Bakken
b5eef00248 * the actual implementation of the installroot option 2002-10-10 21:09:47 +00:00
Stig Bakken
f73c1eb137 * how did those DOS newlines get here? 2002-09-09 21:41:32 +00:00
Stig Bakken
2b4f112d02 * don't abort install if errors are found in the package, display
a warning instead
2002-07-28 08:52:29 +00:00
Tomas V.V.Cox
fedba5422c download package if force is set 2002-07-26 11:48:55 +00:00
Stig Bakken
24909111fc * use System::mktemp
* check if an install is about to overwrite existing files belonging
  to other packages, bail out if not in "force" mode
2002-07-07 21:10:29 +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
Tomas V.V.Cox
fa2ee37313 Do NOT allow install packages with errors in its description file 2002-06-19 22:51:29 +00:00
Tomas V.V.Cox
9baec5623d - Fix issue with the DIRECTORY_SEPARATOR, did make the install of
XML_image2svg fail
- TODO++ and others minor stuff
2002-06-14 23:18:04 +00:00
Tomas V.V.Cox
2ed7358250 Hopefully fixed a couple of problems with destination paths:
- Bug #17529
- In Windows getting <pear>\/\<file>
- Documentation under <doc_dir>/Package/Package/

# Please test it and report possible problem
2002-06-08 17:34:46 +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
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