Commit Graph

1634 Commits

Author SHA1 Message Date
Greg Beaver
2272c11d80 fix #391, PHP 5 reference fix 2003-12-11 16:07:01 +00:00
Greg Beaver
117698b4c6 add failure test for non-existing file 2003-12-11 15:59:08 +00:00
Greg Beaver
541ebbeaeb new unit test for PEAR_Packager 2003-12-11 15:56:08 +00:00
Greg Beaver
ab3afbfdf5 since nobody has taken any action, fix Console_Getopt to be BC, and update the PEAR core to take advantage of the new way. Use 1.2 to avoid any problems with versioning.
The core passes all unit tests with these changes, so they should work.

Andrei: feel free to change anything you don't like, this is just a make it work fix.
2003-12-11 05:54:35 +00:00
Greg Beaver
3cd16913a8 update test cases for new error messages 2003-12-11 05:49:37 +00:00
Greg Beaver
fa07b7a09c new test case for directory tree deletion on uninstall 2003-12-11 05:30:57 +00:00
Greg Beaver
398ab9756a remove references to global variables in validatePackageInfo, remove extraneous summary that is never reached in the switch 2003-12-09 23:43:58 +00:00
Pierre Joye
85ce95847f - MFB (fix pecl install) 2003-12-09 20:54:58 +00:00
Greg Beaver
06ef18bed9 fix #279 2003-12-07 00:29:46 +00:00
Greg Beaver
3148e2e9be fix #205, wider column names for pear list 2003-12-07 00:10:40 +00:00
Greg Beaver
bd766fc7e5 fix #167 2003-12-07 00:02:34 +00:00
Greg Beaver
8161b2f742 MFB 2003-12-06 23:45:36 +00:00
Greg Beaver
cfb05861b9 CS 2003-12-06 23:37:30 +00:00
Greg Beaver
59b98030bc (try again)
fix 2 bugs

- optional dependencies not supported
- incorrect index determination
2003-12-06 23:32:30 +00:00
Greg Beaver
8425c2a16b fix 3 bugs
- optional dependencies not supported
- PHP 5 references (#362)
- incorrect index determination
2003-12-06 23:07:52 +00:00
Greg Beaver
5e0b0b147b finished unit test for _processDependency failure test 2003-12-06 22:33:53 +00:00
Greg Beaver
68c7403a13 stupid me - this was a circular reference, removing 2003-12-06 22:17:22 +00:00
Greg Beaver
d9f4fd0757 slightly clearer error messages 2003-12-06 22:14:11 +00:00
Greg Beaver
fc3cb93064 fix arg parsing to work with Console_Getopt 2.0 2003-12-06 22:07:49 +00:00
Greg Beaver
9e361c0278 remove unnecessary experimental code 2003-12-06 21:52:20 +00:00
Greg Beaver
107d75d86b getting ready for both packages to be released 2003-12-06 21:47:53 +00:00
Greg Beaver
8cd5e9ec6e fix for Console_GetOpt 2.0 (what was 1.1 - re-release being negotiated) 2003-12-06 21:35:02 +00:00
Greg Beaver
bb861773a9 forgot to have it delete the directory it creates 2003-12-06 06:56:55 +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
c46abac9bd new test case - test invalid download conditions
TODO:
- tests for _processDependency
2003-12-06 06:05:04 +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
49a2893adb simple fix for core bug #362 - raiseError() doesn't return a reference, why should throwError()? 2003-12-06 02:00:33 +00:00
Andrei Zmievski
a3d2fd336c MFB 2003-12-05 22:02:48 +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
d2ad2841bd unit test for new code - proves it works 2003-12-04 02:01:46 +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
ad9629d2bf finished unit test 2003-12-04 01:35:27 +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
dba21314ce another segment working 2003-12-04 01:22:00 +00:00
Greg Beaver
172bf25830 another test case, small fix for XML_RPC caching borking working tests 2003-12-03 23:46:10 +00:00
Greg Beaver
ed3167eada another tgz for test case comparison 2003-12-03 23:36:00 +00:00
Greg Beaver
604dcdd256 add part of a test case 2003-12-03 23:24:47 +00:00
Greg Beaver
577cf36f91 remove unnecessary notice generator in certain cases 2003-12-03 23:00:05 +00:00
Greg Beaver
4e5e628637 new unit test for downloader - incomplete.
WARNING: this test requires a fully functional pearweb server at address pear.Chiara, with several packages available for download.  This one will fail until Martin has time to set up test.pear.php.net as the server.
2003-12-03 22:53:58 +00:00
Greg Beaver
35bdc2f7eb duhhh... 2003-12-03 22:39:55 +00:00
Greg Beaver
036ac99eef new test case and supporting files - incomplete, but works as it is 2003-12-01 04:51:21 +00:00
Greg Beaver
cd4baaf654 potential major booboo in unit test, probably won't affect this one 2003-12-01 04:04:07 +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
b27f71ca58 fclose() might be needed 2003-12-01 00:43:34 +00:00
Greg Beaver
87365b0149 new unit test 2003-12-01 00:36:47 +00:00
Greg Beaver
2939c3539d fix bug found by unit testing in package ordering 2003-12-01 00:15:53 +00:00
Greg Beaver
21714261a6 fix unit test 2003-12-01 00:14:37 +00:00
Greg Beaver
3db2e9bdcc minor booboo 2003-12-01 00:14:16 +00:00
Greg Beaver
df5317e336 new unit test - test works, but there is a serious bug in sortPkgDeps to be fixed, as unearthed by this test 2003-11-30 23:43:19 +00:00
Greg Beaver
bfc02f7223 finish unit test with non-working download test with callback 2003-11-30 22:51:17 +00:00
Greg Beaver
398dec718a add in skip condition for internet offline, and callback test 2003-11-30 22:49:33 +00:00
Greg Beaver
685e7a365a first unsuccessful test works 2003-11-30 22:39:24 +00:00
Greg Beaver
2276704637 first successful download test works :) 2003-11-30 22:37:47 +00:00
Greg Beaver
a7d7f311f0 beginning framework for PEAR_Common::downloadHttp test - binary test file 2003-11-30 22:31:35 +00:00
Greg Beaver
5c60fe3a0e beginning framework for PEAR_Common::downloadHttp test 2003-11-30 22:31:00 +00:00
Greg Beaver
44e2b42692 tweak tests 2003-11-30 22:24:14 +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
cc27a3f03d got it - the pattern ONLY needs addslashes for windows paths 2003-11-30 00:14:22 +00:00
Greg Beaver
6f1625d29b fix one part - can't get the ereg() to match on windows, will fix when I figure out why 2003-11-29 23:37:56 +00:00
Greg Beaver
2c4e1f1d4a fix up unit tests - registry was ridiculously out of date. Guess nobody ever runs these... 2003-11-29 23:36:46 +00:00
Greg Beaver
e882ab4817 new test case 2003-11-29 20:45:09 +00:00
Greg Beaver
154db581ae finish unit test 2003-11-29 20:35:43 +00:00
Greg Beaver
e39e452e30 add in environment variable for easy non-skipping 2003-11-29 19:43:05 +00:00
Greg Beaver
24409dc035 fix some bugs found in the unit test 2003-11-29 19:42:19 +00:00
Greg Beaver
595b433b25 start on a new unit test 2003-11-29 19:39:51 +00:00
Greg Beaver
56908214ab add dependency on xml extension - we need it for every installation/package function 2003-11-29 17:56:36 +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
Greg Beaver
6c9fa67eca fix Bug #293 [Patch] PEAR_Error not calling static method callbacks for error-handler 2003-11-26 15:08:42 +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
Stig Bakken
c67848319a * "chmod +x" when extracting archived executable files 2003-11-17 02:27:23 +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
1e2a437c0c new unit test 2003-11-01 05:05:34 +00:00
Greg Beaver
43d1ad8372 new unit test 2003-11-01 03:32:15 +00:00
Greg Beaver
48bca64444 fix bug found by unit test 2003-11-01 03:31:52 +00:00
Greg Beaver
014d039459 add optional dependencies to test 2003-10-31 22:53:31 +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
70a852ebdc fix test 2003-10-31 22:51:43 +00:00
Greg Beaver
d4150d6095 add fancy SKIPIF code, fix test 2003-10-31 22:46:57 +00:00
Greg Beaver
6c403c7794 add fancy SKIPIF code 2003-10-31 22:39:43 +00:00
Greg Beaver
f51b3c0cb1 fix test 1, add in nifty SKIPIF code 2003-10-31 22:30:37 +00:00
Greg Beaver
5754cfe68c deleted code says it all 2003-10-31 22:22:17 +00:00
Greg Beaver
3caf118763 add in skip to match other tests 2003-10-31 17:41:57 +00:00
Greg Beaver
4da5da699e new test case 2003-10-31 17:39:59 +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
899432fac8 finished unit test 2003-10-31 05:14:32 +00:00
Greg Beaver
9ed1956bfa bump to 1.3b4, add note about fix for #171 2003-10-31 04:56:08 +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
Greg Beaver
f244e77f6b start on unit test for PEAR_Common 2003-10-31 01:17:04 +00:00
Stig Bakken
5b89e67334 * array_merge is more ticklish in php5 2003-10-27 06:52:14 +00:00
Greg Beaver
663b12796b add #25174 note 2003-10-24 05:34:59 +00:00
Greg Beaver
01a3fdbb3a fixed #25174 Wrong handling of readlink() in OS/Guess.php 2003-10-24 05:33:37 +00:00
Tomas V.V.Cox
f811341773 go with 1.3b3 (will shipped with PHP4.3.4RC2) 2003-10-20 15:33:54 +00:00
Pierre Joye
64e499aaef - Fix RPC call without proxy (silence warnings&notices)
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
4da2fbe6f0 Don't reapply the error_message_prefix if an error
object is passed to raiseError()
2003-10-05 15:22:21 +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
82e655537e notes++
Bug #25413 Add local installed packages to list-all
  (thanks to Christian DickMann)
2003-10-04 13:02:58 +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
faa5ab3f2b starting b3 (hope this could be 1.3 final) 2003-10-02 11:58:29 +00:00
Tomas V.V.Cox
8d1dcefc3d Go with 1.3b2 2003-10-02 11:54: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
Tomas V.V.Cox
86bf200e92 preparing 1.3b2 2003-09-29 19:39:18 +00:00
Greg Beaver
dbbc1d2c8c " => &quot;, take 2 2003-09-29 17:44:20 +00:00
Greg Beaver
8ba1dea0ab noted fixed #45, also " => &quot; 2003-09-29 17:42:16 +00:00
Greg Beaver
f688e33454 Bug #45 preferred_state works incorrectly 2003-09-29 17:36:00 +00:00
Tomas V.V.Cox
2a82a826ac Ready for 1.3b1
Removed Changelog
2003-09-29 13:18:48 +00:00
Greg Beaver
0c9a167bea fixed #39 commands that need LOCK_SH fail as non-root 2003-09-28 05:07:27 +00:00
Greg Beaver
b1094807f8 remove dependency on PHP 5 - it works just fine in PHP 4.3 2003-09-24 13:11:52 +00:00
Tomas V.V.Cox
926cfa307c RFC about PECL binary creation and distribution 2003-09-19 16:50:17 +00:00
Greg Beaver
1433d789a5 add rollback for installed_as 2003-09-18 04:32:56 +00:00
Greg Beaver
d560e49713 add rollback test for installed_as 2003-09-18 04:32:46 +00:00
Greg Beaver
c6d102bfe4 finished transaction tests 2003-09-18 04:24:25 +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
0e957bedc8 add rmdir test, add comment to remind me to finish installed_as test before moving on to next one 2003-09-17 03:44:25 +00:00
Greg Beaver
9a4453ee62 modify chmod test to be truly permissions-filesystem-based-specific 2003-09-17 03:31:59 +00:00
Greg Beaver
5e63a153c8 more file transaction tests 2003-09-17 03:29:55 +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
e91c4067e4 cut-and-paste error 2003-09-17 00:02:45 +00:00
Greg Beaver
13bf53b658 correct typo "committed"
add error checking to commitFileTransaction()
2003-09-17 00:00:40 +00:00
Greg Beaver
7a0fcc45a8 some beginning tests for commitFileTransaction() 2003-09-17 00:00:21 +00:00
Greg Beaver
1b76db05e7 adding transaction test file (unfinished) 2003-09-16 23:43:47 +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
Tomas V.V.Cox
4920ac3362 more debug code removed *sigh* 2003-09-16 16:53:11 +00:00
Tomas V.V.Cox
cdcc98141e removed debug code 2003-09-16 16:49:26 +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
4f7eb73e87 fix regexps for package detection and download - should be case-insensitive 2003-09-16 03:26:05 +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
896254c71e add tests for invalid replacements 2003-09-16 03:16:46 +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
Tomas V.V.Cox
d8de1165f9 - Added new notes and split them
- Upgraded me as <lead>

# Greg, advice me when finish with the tests
# then we could fire 1.3b1
2003-09-15 20:32:40 +00:00
Tomas V.V.Cox
e76de52de7 * Implemented the find command (currently supported args:
-type f, -type d, -maxdepth, -name)
* Fixed recursion deep level in _dirToStruct()
2003-09-15 20:17:34 +00:00
Greg Beaver
7811c07e23 pear install net_socket will work now - before it would only work with pear install Net_socket 2003-09-15 13:11:57 +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
8014d0dfac add testing for baseinstalldir attribute 2003-09-15 03:14:12 +00:00
Greg Beaver
88fc290887 add testing for install-as attribute 2003-09-15 03:07:53 +00:00
Greg Beaver
8254b8f49e add testing for md5sum 2003-09-14 20:19:59 +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
Greg Beaver
c4e5fed89f adding test for non-existing file 2003-09-14 20:02:07 +00:00
Greg Beaver
3901da3a1d adding test for invalid role 2003-09-14 19:59:06 +00:00
Greg Beaver
0225844ac1 adding replacements section for _installFile() 2003-09-14 19:53:37 +00:00
Greg Beaver
cb5b1690ac new test for _installFile() - not yet complete, but what's there works 2003-09-14 04:24:21 +00:00
Greg Beaver
272c0aaec8 simplify test, split into two 2003-09-14 04:24:05 +00:00
Greg Beaver
dcd7f23e6c verified unit test pear2.phpt works with changes, removing old code 2003-09-11 16:45:03 +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
a344aabb19 missed one segment to comment out 2003-09-11 13:21:07 +00:00
Greg Beaver
140ec7f354 use is_callable() - what a great function! 2003-09-11 13:16:13 +00:00
Greg Beaver
546663f7cd phpdoc correction (kind of serious error :) 2003-09-10 01:40:48 +00:00
Greg Beaver
1465e10781 test for checkDeps 2003-09-10 00:03:12 +00:00
Greg Beaver
79852dfa55 first step in unit testing the installer - tests the download PREG function 2003-09-09 23:40:39 +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
92341f79be if a package.xml is passed to InfoFrom*(), and the package version is invalid, current CVS causes a whole bunch of xml parser warnings and craps out without telling the user why. Now it exits gracefully. 2003-09-02 03:15:27 +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
foobar
71676e37bf - Fixed bug #25348 ("make install" fails with --enable-short-tags). 2003-09-02 01:29:21 +00:00
Greg Beaver
ceff58fb5e typo 2003-08-31 18:54:38 +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
b9c71c7754 CS fix 2003-08-30 15:59:50 +00:00
Greg Beaver
f3fd882aa4 One more fix for spaces in paths 2003-08-29 21:21:27 +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
Tomas V.V.Cox
26c90cc965 snapshot < devel (betterStates()) 2003-08-29 14:02:20 +00:00
Greg Beaver
b251177ebf add note about fix for spaces in paths for an installation into a directory with spaces 2003-08-29 05:44:59 +00:00
Greg Beaver
1511accc7e fix spaces in paths for an installation into a directory with spaces 2003-08-29 05:40:50 +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
3c87b23aa1 adding betterStates() for usage in automatic dependency resolution 2003-08-27 19:27:45 +00:00
Greg Beaver
c33ec7ca12 adding me as helper, adding dependency on XML_RPC 1.0.4 and optional dependency on xmlrpc extension - this will change to dependency on XML_RPC 1.0.5 if all of Marshall's ideas are implemented 2003-08-25 06:34:46 +00:00
Greg Beaver
cd0a8b057b my fault - forgot to fix this 2003-08-25 06:16:39 +00:00
Greg Beaver
12f7e9eb4d fix #25131, OS_Guess warnings 2003-08-18 16:43:46 +00:00
Greg Beaver
fbfd812a9f fixing invalid version number for Pierre :) 2003-08-17 18:34:55 +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
Derick Rethans
b5cb1cbadb MFB: - Fix library path problems 2003-08-14 20:14:34 +00:00
Greg Beaver
f126c0df6a fixed include, verified that it indeed works, and PEAR.php passes the test :) 2003-08-13 22:05:23 +00:00
Greg Beaver
baba5432c9 fix uninstall for optional dependencies, bug #25080 2003-08-13 21:16:31 +00:00
Greg Beaver
f7a70ccc13 fix optional dependencies in reading, validating, and writing of package.xml 2003-08-13 21:12:15 +00:00
Greg Beaver
f2c05e87af updating for release 2003-08-13 20:38:44 +00:00
Greg Beaver
0901d5e3b7 fix for Bug #21845 $this in static calls 2003-08-13 20:36:54 +00:00
Greg Beaver
6366483f1b tests for pear error handling 2003-08-13 20:34:48 +00:00
Pierre Joye
ccfa0b4f46 - restore Mail 1.1.0 2003-08-06 07:56:20 +00:00
Pierre Joye
d914b860a6 - Mail 1.1.1 has bugs, back to 1.1 2003-08-06 07:55:44 +00:00
Pierre Joye
79fb038c42 - Add it again 2003-08-05 23:24:41 +00:00
Pierre Joye
6b046a2afc - seems to failed 2003-08-05 23:24:14 +00:00
Pierre Joye
814b372c55 - Update Mail (to 1.1.1), HTTP archive (to 1.2.1) 2003-08-05 23:22:08 +00:00
Pierre Joye
827e482224 - Fix download with uncompress option
Nota Bene, we should think to use the same name for pearweb and pear cmd
2003-08-05 23:17:40 +00:00
Tomas V.V.Cox
217184483a go with 1.2b5 2003-08-05 16:31:19 +00:00
Tomas V.V.Cox
b1ece0fb89 Avoid notice in bundle 2003-08-05 15:36:07 +00:00
Tomas V.V.Cox
dececbdb4c Other fix to ws in path names fix 2003-08-05 15:35:17 +00:00
Tomas V.V.Cox
6c93b30165 Pass raw data to frontend (Christian Dickmann) 2003-08-05 14:38:29 +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
38ad5ff8d7 Better error handling on invalid .tgz packages 2003-08-05 13:51:33 +00:00
Tomas V.V.Cox
139cc3e2af Fix the fix (Greg) 2003-08-05 12:28:57 +00:00
Tomas V.V.Cox
7e5a2dd2a5 go with 1.2b4 2003-08-05 03:25:34 +00:00
Tomas V.V.Cox
a4b4de6766 Show the correct configure error line number (Greg) 2003-08-04 13:34:25 +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
d4e50ffba7 Fix proxy detection with the xmlrpc C extension 2003-08-04 11:18:26 +00:00
Tomas V.V.Cox
4fbae9a7d7 Another $fp test fix (thanks Jan) 2003-08-04 10:38:18 +00:00
Tomas V.V.Cox
ba2a7d4250 <license> is valid inside <changelog>, support it 2003-08-04 10:32:11 +00:00
Tomas V.V.Cox
4d57ab6d99 - Typo in cache file creation
- Do not create the cache dir in getCache()
2003-08-04 10:15:34 +00:00
Tomas V.V.Cox
e58a4ede81 let's go with b3x 2003-08-03 19:43:45 +00:00
Tomas V.V.Cox
029a94ffba +* Made package dependency checking back to work
+* Added support for spaces in path names (Greg)
2003-08-03 19:36:14 +00:00
Tomas V.V.Cox
7d67054891 Added support for spaces in path names (thanks Greg!) 2003-08-03 19:32:07 +00:00
Tomas V.V.Cox
6d6af07be9 Don't let the shell escape quotes 2003-08-03 19:21:34 +00:00
Tomas V.V.Cox
7c58f22aaf Made package dep checking to work again
(Seems that this line got lost at some point)
2003-08-03 13:44:36 +00:00
Tomas V.V.Cox
ede834c8b1 fix invalid $fp check (by nicox@php.net) 2003-08-02 15:34:19 +00:00
Tomas V.V.Cox
ad9875b877 upgrade-all back to work 2003-08-02 14:59:44 +00:00
Tomas V.V.Cox
9b38350af4 Made avaible the "download-all" command 2003-07-25 17:08:19 +00:00
Tomas V.V.Cox
d462d93836 PEAR binaries go where the php bin goes 2003-07-17 06:30:21 +00:00
Martin Jansen
6249a7dac1 * Update the DTD path 2003-07-12 15:15:38 +00:00
Tomas V.V.Cox
17573ddf0b +* Added proxy support for remote commands using the
xmlrcp C ext (Adam Ashley)
2003-07-12 14:27:27 +00:00
Tomas V.V.Cox
4e268d9270 Added proxy support for remote commands using the xmlrcp C ext
(contribution by Adam Ashley <aashley@optimiser.com>)
2003-07-12 14:25:06 +00:00
Tomas V.V.Cox
8c7c27b93a Expose PHP errors on error callback function 2003-07-10 11:35:37 +00:00
Tomas V.V.Cox
c7e2c03b53 Made the install of the config honors $INSTALL_ROOT 2003-07-10 01:34:46 +00:00
Tomas V.V.Cox
67999408db Go with b3 2003-07-08 10:53:33 +00:00
Tomas V.V.Cox
287363df63 Detect enable_dl off or safe_mode on PEAR::loadExtension() 2003-07-08 10:52:23 +00:00
Tomas V.V.Cox
d633b92fe0 Check dependencies on uninstall 2003-07-08 10:33:38 +00:00
Tomas V.V.Cox
0304ec19ff Added checkPackageUninstall() 2003-07-08 10:32:23 +00:00