Commit Graph

116 Commits

Author SHA1 Message Date
Greg Beaver
e4b848d766 move registration of installed location to post-commit 2003-09-15 03:29:12 +00:00
Greg Beaver
8c3b78aa1c found bug in _installFile() thanks to unit testing.
- if a bad md5sum was found, and --force wasn't specified, the temporary file was never deleted
2003-09-14 20:17:24 +00:00
Tomas V.V.Cox
7c9e926f10 "pear -v install" is now more usefull 2003-09-11 14:57:10 +00:00
Tomas V.V.Cox
7d96f7884e Be more nice when downloading files 2003-09-11 14:47:03 +00:00
Tomas V.V.Cox
dfcd61cef7 Fix bug of download tries when a local file is given
to install
2003-09-11 13:36:59 +00:00
Greg Beaver
546663f7cd phpdoc correction (kind of serious error :) 2003-09-10 01:40:48 +00:00
Greg Beaver
fba7705c99 make error code helpful if no releases of a package exist at all 2003-09-06 02:37:15 +00:00
Greg Beaver
639029bf25 make error code helpful if no releases of a package in preferred-state exist 2003-09-06 02:34:11 +00:00
Greg Beaver
e7eb8127a8 remove debug code 2003-09-04 22:30:07 +00:00
Greg Beaver
0ad60ebf3b fix bug in --force - $options was never passed to _installFile.
add PHPDoc
2003-09-04 22:29:21 +00:00
Greg Beaver
8a70f5c01c fix bug in --force on windows 2003-09-04 22:21:33 +00:00
Greg Beaver
e472325918 fixes rather obvious problem. Try this with CVS before:
pear install package-PEAR.xml

It attempts to split on the - as if PEAR.xml were a version and package were the package name.  Now, it doesn't do that if the $pkgfile is a local filename.
2003-09-02 03:10:57 +00:00
Greg Beaver
1cc2e637b2 Tomas say:
"I think you'd have to let the user still install the package with
--force."

I say, OK :)
2003-08-31 16:41:27 +00:00
Greg Beaver
39105b9927 This patch should fix all unintended upgrading/installation of packages less stable than preferred state 2003-08-31 06:53:46 +00:00
Greg Beaver
0e6f284a62 fix #25322 2003-08-31 06:08:41 +00:00
Greg Beaver
dce4268282 fix optional dependencies in Dependency.php, remove ugly hack in Installer, add note about Cox's cool addition to pear install, remove noise of who did what from package.xml, fix #25008 2003-08-29 20:50:36 +00:00
Tomas V.V.Cox
e18e3a6edd This patch allows:
pear install DB-1.2     -> specific version
pear install DB-stable  -> latest stable version
                           (stable, beta, alpha, ..)
pear install DB-1.2.tar -> download in tar format

Currently only "install" and "upgrade" support this
more will come shortly.
2003-08-29 18:23:31 +00:00
Greg Beaver
095efa09af * added --alldeps --onlyreqdeps options for pear install/upgrade.
* added automatic dependency sorting, so the order of packages on command-line is unimportant for both install/uninstall
* added one more spaces in paths fix that was missed in PEAR_Common
2003-08-28 03:42:21 +00:00
Greg Beaver
d05514c794 reverting accidental commit of my fix for #25008 - we'll let Tomas review the patch I submitted (oops). The other stuff was good. 2003-08-17 18:12:43 +00:00
Greg Beaver
d1511aca30 fixed #25117, updated package-PEAR.xml to the current release level 2003-08-17 18:01:39 +00:00
Greg Beaver
baba5432c9 fix uninstall for optional dependencies, bug #25080 2003-08-13 21:16:31 +00:00
Tomas V.V.Cox
d3600ea63f Better install report for C extensions 2003-08-05 14:31:15 +00:00
Tomas V.V.Cox
139cc3e2af Fix the fix (Greg) 2003-08-05 12:28:57 +00:00
Tomas V.V.Cox
b4f1077403 More space in path name fixes (Greg) 2003-08-04 13:31:35 +00:00
Tomas V.V.Cox
d633b92fe0 Check dependencies on uninstall 2003-07-08 10:33:38 +00:00
Pierre Joye
dd2d9c3315 - Sync 2003-06-27 10:46:54 +00:00
Tomas V.V.Cox
a407529fc6 Fix registry obj creation when no installroot is set 2003-06-16 17:12:33 +00:00
Tomas V.V.Cox
d335b38a37 Do not create the registry obj at Installer object creation
(it's problematic when pear install -R <DIR> is used)
2003-06-16 07:44:46 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Martin Jansen
fcebd4ac36 * Commit support for optional dependencies
# Stig: Please review this stuff!
2003-06-05 06:57:22 +00:00
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