Commit Graph

1326 Commits

Author SHA1 Message Date
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