Greg Beaver
d9f4fd0757
slightly clearer error messages
2003-12-06 22:14:11 +00:00
Greg Beaver
9e361c0278
remove unnecessary experimental code
2003-12-06 21:52:20 +00:00
Greg Beaver
61bd893e0d
update phpdoc comment
2003-12-06 06:08:56 +00:00
Greg Beaver
33aa36fb8d
add todo for known issue that isn't yet critical but will be
2003-12-06 06:06:50 +00:00
Greg Beaver
29df86f2d1
improve error message, it was both terrible grammar and unclear.
2003-12-06 05:59:25 +00:00
Greg Beaver
d1770cc57f
fix error message - was printing an empty preferred state
2003-12-06 05:35:52 +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
07a0281d00
add helper methods needed - now it is 100% unit tested
2003-12-04 02:00:39 +00:00
Greg Beaver
e8468911ed
fixed minor bug
2003-12-04 01:35:45 +00:00
Greg Beaver
1558f748e3
fix bugs found in unit-testing, one BC issue also
2003-12-04 01:22:50 +00:00
Greg Beaver
2ab2d8263c
fix notice
2003-12-04 01:22:12 +00:00
Greg Beaver
577cf36f91
remove unnecessary notice generator in certain cases
2003-12-03 23:00:05 +00:00
Greg Beaver
35bdc2f7eb
duhhh...
2003-12-03 22:39:55 +00:00
Greg Beaver
cde3509868
2 bugs found here, added deprecation warning for those who have written their own PEAR application
2003-12-01 01:02:40 +00:00
Greg Beaver
3e60df640e
2 bugs found here
2003-12-01 01:00:57 +00:00
Greg Beaver
1b95c31c77
2 bugs found
2003-12-01 00:59:14 +00:00
Greg Beaver
2939c3539d
fix bug found by unit testing in package ordering
2003-12-01 00:15:53 +00:00
Greg Beaver
0b24e0a404
remove old holdover code that has no purpose
2003-11-30 22:01:22 +00:00
Greg Beaver
76e83f576c
...and with these changes, 100% BC is maintained.
2003-11-30 22:00:59 +00:00
Greg Beaver
c7c5d7689d
experimental code shuffling, moved download() into a new class, PEAR_Downloader.
...
Reasons:
- 7 parameters for a method with lots of pass by reference
implies the need to save state, i.e. use an object
- cleaner code. download() can be easily split into 4 separate but related methods
- Installer.php is now exclusively used for installation
- future extensibility: switching to channels or local package repositories from
using PEAR_Remote is easy. Simply extend the API for PEAR_Downloader:
no changes needed to the installer at all
to install for testing purposes, use
pear upgrade --force package-PEAR-new-Downloader.xml
to uninstall, use
pear upgrade --force package-PEAR.xml
2003-11-30 05:39:02 +00:00
Greg Beaver
24409dc035
fix some bugs found in the unit test
2003-11-29 19:42:19 +00:00
Greg Beaver
e57b75eff4
fix Bug #324 pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level)
2003-11-29 16:33:54 +00:00
Martin Jansen
6ff584e2fb
* Fix potential warning
2003-11-17 09:15:28 +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
997db6551a
checkExtension() was a complete disaster, can't believe it didn't cause any problems before.
2003-11-01 05:06:27 +00:00
Greg Beaver
48bca64444
fix bug found by unit test
2003-11-01 03:31:52 +00:00
Greg Beaver
6d0360204d
better error messages, fix potential problems in the future
2003-10-31 22:53:20 +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
25e1f920d1
major bug - "not" dependency check would completely fail. Guess nobody ever tried it before :)
2003-10-31 17:22:15 +00:00
Greg Beaver
f3102f9d6b
was checking the wrong parameter for a v. - should be checking version
2003-10-31 17:01:39 +00:00
Greg Beaver
8c77fbe743
phpdoc fix
2003-10-31 16:50:56 +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
Greg Beaver
76d66203f4
add some error control to analyzeSourceCode() for really rare cases - invalid PHP
2003-10-31 01:17:47 +00:00
Stig Bakken
5b89e67334
* array_merge is more ticklish in php5
2003-10-27 06:52:14 +00:00
Pierre Joye
64e499aaef
- Fix RPC call without proxy (silence warnings¬ices)
...
nota bene: the proxy codes should be cleaned, one day ;)
2003-10-16 18:16:38 +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
5ab54854a1
avoid chdir() calls
...
remove duplicated validation checks
(fix bug #66 contributed by Roman)
2003-10-10 12:22:59 +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
Tomas V.V.Cox
349c8a5581
Bug #25413 Add local installed packages to list-all
...
(thanks to Christian DickMann)
2003-10-04 12:57:34 +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
Tomas V.V.Cox
8b6d6cdc6e
Give more info about release states in list-upgrades
2003-09-30 15:22:42 +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