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
Greg Beaver
f688e33454
Bug #45 preferred_state works incorrectly
2003-09-29 17:36:00 +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
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
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
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
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
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
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