Greg Beaver
9873fa5e42
fix bug #1615 : installer must create extension dir if it doesn't exist, patch by Tomas
2004-06-12 05:48:10 +00:00
Greg Beaver
11be5f887b
fix included files and put error messages in PEAR_Downloader where they are needed
2004-04-30 16:37:39 +00:00
Anil Madhavapeddy
b49e8fe865
Move the _prependPath function into PEAR_Downloader from PEAR_Installer,
...
as PEAR_Downloader uses it (and PEAR_Installer inherits PEAR_Downloader).
Unbreaks 'pear install -R'
2004-02-29 15:58:17 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Greg Beaver
61bd893e0d
update phpdoc comment
2003-12-06 06:08:56 +00:00
Greg Beaver
5252f3faa9
merge downloader code into HEAD - it works
...
fix bug found in uninstall
2003-12-04 02:11:40 +00:00
Greg Beaver
137adbb708
necessary refinement
2003-11-17 06:07:15 +00:00
Greg Beaver
82bd0915f5
fix bug #248 , --force does not work as expected
2003-11-17 05:56:50 +00:00
Greg Beaver
c05dfddda4
fix bug #249
2003-11-17 05:45:49 +00:00
Greg Beaver
5d0cc08805
fix warning
2003-10-31 22:52:33 +00:00
Greg Beaver
5754cfe68c
deleted code says it all
2003-10-31 22:22:17 +00:00
Greg Beaver
5c76e88d0e
fix #171 , --alldeps with a rel="eq" should install the required version, if possible
2003-10-31 04:52:00 +00:00
Tomas V.V.Cox
32bf69ea7a
Fix Bug #23221 Pear installer - extension re-install segfault
2003-10-10 17:13:37 +00:00
Tomas V.V.Cox
0e128d52bc
Partial rewrite of dowload() method:
...
- Full error checking and reporting
- Avoid downloads as possible
- Made the "force" option work correctly
# Please report any problem with pear install/upgrade
2003-10-10 16:55:38 +00:00
Tomas V.V.Cox
164b593d23
better version checks (contributed by Roman)
2003-10-06 15:15:56 +00:00
Tomas V.V.Cox
f46b5641b7
use realpath instead of chdir
...
(Roman Neuhauser <neuhauser@bellavista.cz>)
2003-10-05 19:10:56 +00:00
Martin Jansen
dd66cd587f
* Fixing #64
2003-10-05 16:42:18 +00:00
Tomas V.V.Cox
0c9f669cc5
Better fix #61
2003-10-04 17:16:35 +00:00
Tomas V.V.Cox
7630f962f1
Fix : #61 [NEW]: error with pear install in pear 1.3b1
...
by outputting a full error message plus some help
2003-10-04 16:17:31 +00:00
Greg Beaver
77c0beb143
fix warning in rare case (file doesn't exist in package.xml)
2003-10-04 03:58:00 +00:00
Greg Beaver
e898d7c25a
better fix for #45 .
...
Now, it will install the newest version that is preferred_state or stabler.
to request a specific state, append -state like pear install Net_NNTP-beta
2003-09-30 02:56:42 +00:00
Greg Beaver
f688e33454
Bug #45 preferred_state works incorrectly
2003-09-29 17:36:00 +00:00
Greg Beaver
1433d789a5
add rollback for installed_as
2003-09-18 04:32:56 +00:00
Greg Beaver
103bab81a3
unit testing finds another bug :)
...
another case that would cause an endless loop in installed_as file transaction
2003-09-18 03:59:22 +00:00
Greg Beaver
c71d1bc43d
oops - params are reversed, my bad
2003-09-17 03:22:55 +00:00
Greg Beaver
1b47706fff
bug in chmod file transaction operation error message
...
bug in chmod file transaction test - was testing the perms to see if they were a writable file
2003-09-17 03:19:47 +00:00
Greg Beaver
15c04ee52a
phpdoc error
2003-09-17 03:13:56 +00:00
Greg Beaver
13bf53b658
correct typo "committed"
...
add error checking to commitFileTransaction()
2003-09-17 00:00:40 +00:00
Greg Beaver
a5b67714ae
Document addFileOperation()
...
Add basic test for invalid input, since it is a public method
2003-09-16 23:42:16 +00:00
Greg Beaver
f4aaa7c4f0
tweak Tomas's patch for
...
$ pear install Package-v.tgz
which should work for local files first before checking to see if it can be downloaded
2003-09-16 03:27:55 +00:00
Greg Beaver
c65683653c
fix invalid replacements - add tests for bad pear-config/package-info replacements
2003-09-16 03:17:08 +00:00
Greg Beaver
9850aae5f3
file transactions used - but startFileTransaction() was never used
...
inline docs for install() were out of date
2003-09-16 02:42:44 +00:00
Greg Beaver
3008135b91
Now empty directories are removed on uninstall, so uninstallation is complete and correct
2003-09-15 05:10:51 +00:00
Greg Beaver
4245451ccd
mistaken include_once 'Remote.php' - not sure why it worked at all
2003-09-15 03:36:02 +00:00
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