Commit Graph

550 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
7d67054891 Added support for spaces in path names (thanks Greg!) 2003-08-03 19:32:07 +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
Martin Jansen
6249a7dac1 * Update the DTD path 2003-07-12 15:15:38 +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
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
Tomas V.V.Cox
e07220ad03 Experimental dependencies database handling functions
(not yet in production)
2003-07-07 15:44:07 +00:00
Tomas V.V.Cox
01795e2ae1 Moved dependecy db code to its own file 2003-07-07 15:42:58 +00:00
Pierre Joye
c8a14f4ad1 - Fix bug #24512 2003-07-06 14:17:58 +00:00
Tomas V.V.Cox
6f14374b3b Added tha ability to store custom data in a layer
Added method getConfFile()
Better layer removing in removeLayer()
2003-07-03 06:43:31 +00:00
Tomas V.V.Cox
4513d36892 Added local version installed in "list-upgrades"
(http://bugs.php.net/bug.php?id=24298)
2003-06-30 13:12:50 +00:00
Tomas V.V.Cox
994c70ef20 - Workarround to the PEAR_INSTALL_DIR empty constant
- Remove the layer in $reg->layers too
2003-06-29 17:44:29 +00:00
Martin Jansen
e95ee2b313 * Silence warning 2003-06-28 18:14:24 +00:00
Pierre Joye
8aac7b57c0 - Sync, HEAD is now uptodate 2003-06-27 10:59:43 +00:00
Pierre Joye
dd2d9c3315 - Sync 2003-06-27 10:46:54 +00:00
Martin Jansen
f2f140bbe9 * Fix for bug #23954
# MFH?
2003-06-22 19:14:16 +00:00