Commit Graph

1625 Commits

Author SHA1 Message Date
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
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
14f70bb1b7 Store verbose=1 in config file 2003-07-03 07:08:21 +00:00
Tomas V.V.Cox
a136105e34 Atm php5 doesn't support this:
function foo(&$a) {
	return new Bar;
}
2003-07-03 06:54:26 +00:00
Tomas V.V.Cox
6ca92fbaa6 Write the PEAR system config file while installing 2003-07-03 06:45:49 +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
0ba644f3f7 typo, need the complete file name not the basenamed one 2003-07-03 05:09:36 +00:00
Pierre Joye
b7c2a33f30 - MFH 2003-07-02 10:08:17 +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
8a00ccf039 Added "\nRunning on: ".php_uname(); to pear -V 2003-06-30 10:43:57 +00:00
Tomas V.V.Cox
1ca5fc5f0a Fix for http://bugs.php.net/bug.php?id=21994 2003-06-30 10:09:44 +00:00
Tomas V.V.Cox
f945e2c251 typo 2003-06-29 20:50:05 +00:00
Tomas V.V.Cox
d5e365ac54 Use the --with-pear=DIR, --prefix && --layout
# Will continue with the TODO in next time
2003-06-29 20:49:09 +00:00
Pierre Joye
e0f9f0eb9e - Update DB to 1.5RC1 (final will be in 4.3.3) 2003-06-29 19:40:13 +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
Pierre Joye
418e4aee58 - New releases Net_SMTP, Mail, DB will follow asap 2003-06-21 10:04:17 +00:00
Pierre Joye
a8d64a3156 - Sync release 2003-06-21 10:02:12 +00:00
Vincent Blavet
6b9269c717 - Sync with pear/Archive_Tar/package.xml 1.12 2003-06-19 05:52:28 +00:00
Tomas V.V.Cox
4f2696ba7f Typo (sorry Pierre ;) 2003-06-18 23:19:04 +00:00
Vincent Blavet
9d012efd2c - Syncho with pear/Archive_Tar/Archive/Tar.php 1.14 2003-06-18 21:36:28 +00:00
Tomas V.V.Cox
d3f9d47aa9 Be more clever for discovering the default ext_dir 2003-06-18 19:27:55 +00:00
Tomas V.V.Cox
6fa60939f2 Update to 1.2 for PHP 4.3.3 2003-06-18 18:46:57 +00:00
Tomas V.V.Cox
1a290fb692 s/verbose/debug/ 2003-06-16 17:14:27 +00:00
Tomas V.V.Cox
a407529fc6 Fix registry obj creation when no installroot is set 2003-06-16 17:12:33 +00:00
Tomas V.V.Cox
e72354e18e Expose phpize output
Increase verbosity for building process by default
(no need for -v)
2003-06-16 17:10:09 +00:00
Tomas V.V.Cox
d93e9fea6a Better file relocation and invert post/postun logic 2003-06-16 08:27:47 +00:00
Tomas V.V.Cox
d335b38a37 Do not create the registry obj at Installer object creation
(it's problematic when pear install -R <DIR> is used)
2003-06-16 07:44:46 +00:00
Tomas V.V.Cox
02ef813164 Added TODO and IDEAS to makerpm 2003-06-15 16:52:08 +00:00
Tomas V.V.Cox
47aa7a9b36 Fix makerpm (again)
Build an independant filelist tree
(this command still needs some work)
2003-06-15 16:29:10 +00:00
Tomas V.V.Cox
9f828a5035 Fix some typos in makerpm and removed unused debug code 2003-06-14 16:56:19 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Tomas V.V.Cox
dd7132d478 Martin's run-test error msg improvements :-) 2003-06-07 18:44:46 +00:00
Tomas V.V.Cox
106a277239 Added better error message to run-tests 2003-06-07 16:45:53 +00:00
Sterling Hughes
815d41f85a Add the pear bundle command from Thomas Cox. 2003-06-07 03:08:05 +00:00
Martin Jansen
4ab3e6860f * The argument of displayError() is a PEAR_Error instance.
# Bug: 23932
2003-06-06 16:09:01 +00:00
Martin Jansen
b4cf8debce * Use raiseError(), like it's done in the rest of class also.
# Bug: 23932
2003-06-06 16:07:15 +00:00
Martin Jansen
a0805d8f53 * Advancing myself 2003-06-05 07:03:03 +00:00
Martin Jansen
a0ddbbaed9 * Add optional dependency to the DTD 2003-06-05 07:01:20 +00:00
Martin Jansen
fcebd4ac36 * Commit support for optional dependencies
# Stig: Please review this stuff!
2003-06-05 06:57:22 +00:00
Martin Jansen
5f262f10ab * Add support for <provides />
# Bug: #23933
2003-06-05 06:32:10 +00:00
Vincent Blavet
534ab0b542 - Sync with pear/Archive_Tar/Archive/Tar.php CVS 1.11
- Support for bz2 compression
- Add new methods AddString() and extractInString()
2003-05-28 06:01:04 +00:00
Pierre Joye
400e5c0b66 - Fix the "weird bug" with different serialized file under cli/cgi or apache sapi
Important Notice:
*always* use 'wb' to write file, sapi cli and cgi force the default to be binary, apache does not.
2003-05-27 23:31:56 +00:00
Martin Jansen
185a4baedd * Update PHPDoc 2003-05-18 19:40:04 +00:00
Martin Jansen
29cbe5e3b6 * More PHPDoc fixes 2003-05-15 19:44:32 +00:00
Martin Jansen
ee57fde226 * Adding PHPDoc 2003-05-15 18:55:41 +00:00
Martin Jansen
8c5eac260f * Fixing note 2003-05-11 09:33:04 +00:00
Derick Rethans
7a1e959f29 - Add inheritance information to package inspection on 'pear package'. 2003-05-09 12:03:09 +00:00
Pierre Joye
b5c2adf41e Silent a notice 2003-05-08 17:11:02 +00:00
Alexander Merz
d276e85167 introduce download-all command for the PEAR Installer 2003-05-05 07:07:51 +00:00
foobar
dbe01aca1f not a real test 2003-04-25 10:53:10 +00:00
Jesus M. Castagnetto
9b91242e24 Fixing bug #23060 2003-04-14 11:50:42 +00:00
Pierre Joye
b01169b63d what? maintainer is not a valid role :) 2003-04-05 01:42:55 +00:00
Pierre Joye
b0c36aeeaf - Add some releases notes
- Add myself in the maintainer list (stig)
2003-04-04 01:23:40 +00:00
Stig Bakken
de5f17eb92 * whip script files where they belong 2003-04-04 00:25:32 +00:00
Stig Bakken
99824847c6 * look for pearcmd.php in the right directory when run from a cvs checkout 2003-04-04 00:15:53 +00:00
Stig Bakken
3ba4fa6330 * rename pear_unices to pear.sh and make it a pure shell script 2003-04-04 00:11:00 +00:00
Stig Bakken
3c863894b4 * pear.in is renamed to pearcmd.php 2003-04-03 23:55:11 +00:00
Stig Bakken
19e924695d * paj's last Windows install fixes 2003-04-03 23:48:39 +00:00
Stig Bakken
297caeb372 * use PHP_PEAR_* environment variables (paj) 2003-04-03 23:21:30 +00:00
Stig Bakken
7d4142b896 * disable table borders in output to save width 2003-04-03 23:12:40 +00:00
Stig Bakken
360d1da529 * windows bugfix 2003-04-03 23:11:50 +00:00
Stig Bakken
e853217651 * support both error codes and messages in the second parameter to
PEAR::isError()
2003-04-03 23:10:11 +00:00
Stig Bakken
4d79859291 * remove track_errors ini fiddling, was a PHP bug that should be fixed now 2003-04-03 23:05:25 +00:00
Stig Bakken
165604818c * initialize pkginfo with an empty provides array 2003-04-03 23:04:52 +00:00
Martin Jansen
ad85444a87 * Silence warning 2003-03-26 22:43:42 +00:00
Martin Jansen
16bf9ed5fc * Changing to DOS line breaks. 2003-03-25 14:34:02 +00:00
Stig Bakken
9e21b2eee4 * abort install when an extension fails to build (patch by ja at
morrdusk dot net)
2003-03-21 07:57:27 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
Martin Jansen
1188dbe64f * Fixing bug #21845. 2003-03-13 21:07:40 +00:00
Stig Bakken
04870428ab * fixed <provides> generation, provides elements are now included for
every non-private class, function and method
2003-02-25 02:44:10 +00:00
Stig Bakken
52ce358bde * upgrading XML_Parser to 1.0.1 2003-02-23 11:03:38 +00:00
Anil Madhavapeddy
ee3e64267c fix error msg typo 2003-02-16 01:31:46 +00:00
Stig Bakken
710b20a528 * clean up so Jani is not so confused 2003-02-11 01:17:20 +00:00
Stig Bakken
983dd29a7e * update PEAR::isError phpdoc 2003-02-10 14:27:21 +00:00
Stig Bakken
4ef53806f4 * PEAR::isError accepts second parameter that will be matched against
the error code.  PEAR::isError($obj, FOO) will return true if $obj
  is an error object, and $obj->getCode() returns FOO.
2003-02-10 14:26:19 +00:00
Stig Bakken
cab18bc2de * the "a" in "pear" is "application" now 2003-02-10 14:17:32 +00:00
Stig Bakken
fdd9735359 * replace @bin_dir@ in pear.bat 2003-02-04 22:46:40 +00:00
Stig Bakken
427fafaac0 * 1.1 release notes update
* added some <provides> elements
2003-02-03 02:55:47 +00:00
Stig Bakken
e756a253d9 * start using the source tokenizer 2003-02-03 02:54:39 +00:00
Stig Bakken
1e14f2de8b * substitute @php_dir@ in pear.in 2003-02-03 01:00:10 +00:00
Martin Jansen
447bd814a2 * displayLine() is deprecated, so better use displayError() here. 2003-02-01 09:36:17 +00:00
Stig Bakken
9c5ff64992 * Windows fix (thanks to paj) 2003-01-29 21:42:54 +00:00
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Stig Bakken
d250e7ba9d * whoops, heritage shows through :) 2003-01-26 23:54:19 +00:00
Stig Bakken
dd22d65e2f * not a real test, just a script for displaying OS_Guess output 2003-01-25 00:45:13 +00:00
Stig Bakken
d19bd6f12c * add glibc version detection for Linux 2003-01-25 00:44:41 +00:00
Stig Bakken
a46aac36ec * typo 2003-01-25 00:38:00 +00:00
Stig Bakken
832545d97f * PEAR_Error now supports exceptions when using Zend Engine 2. Set the
error mode to PEAR_ERROR_EXCEPTION to make PEAR_Error throw itself
  as an exception (invoke PEAR errors with raiseError() or throwError()
  just like before).
2003-01-21 13:32:34 +00:00
Stig Bakken
3f09044ba6 * prepare 1.0.1 release 2003-01-10 01:24:56 +00:00
Stig Bakken
4a723721b9 * obey PHP_PEAR_INSTALL_DIR and PHP_PEAR_PHP_BIN environment variables 2003-01-10 01:16:23 +00:00
Stig Bakken
4cf28eb0fc * verbosity fix for cvstag and cvsdiff commands 2003-01-10 01:15:40 +00:00
Stig Bakken
26a472f767 * TODO item 2003-01-10 01:12:23 +00:00
Stig Bakken
eaf21d230e * add "cvsdiff" command 2003-01-10 01:11:30 +00:00
Stig Bakken
95255fe5e1 * use getenv() instead of $_ENV[] 2003-01-10 01:11:00 +00:00
Stig Bakken
f39c0ad2b6 * added debug_backtrace() support to PEAR errors 2003-01-09 15:14:23 +00:00
Stig Bakken
796083b936 * System::which() now checks .exe .bat .cmd and .com on Windows 2003-01-09 15:11:27 +00:00
Stig Bakken
239d203e4a * cleanups 2003-01-09 15:06:14 +00:00
Christian Dickmann
26e393c69f fix default umask(); (thx to Mirco MEEBEY Bauer for bringing this behavior to my attention and testing the patch) 2003-01-07 23:12:06 +00:00
Vincent Blavet
7121150e5f * Synchronize with /pear/Archive_Tar/Tar.php 1.5 :
- Add support for long filenames (greater than 99 characters)
  - Add private methods _readLongHeader() and _writeLongHeader()
2003-01-07 15:04:42 +00:00
Harald Radi
f1f96c86d1 fixing typo 2003-01-03 00:17:41 +00:00
Stig Bakken
7f41f5d586 * allways fall back to PHP_SYSCONFDIR 2003-01-02 23:48:32 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Stig Bakken
ff8adda7c6 * 1.0 release notes 2002-12-27 19:31:56 +00:00
Stig Bakken
25684764cc * added "clear-cache" command 2002-12-27 19:31:37 +00:00
Stig Bakken
1d42e34c1b * 1.0 release 2002-12-27 19:01:19 +00:00
Stig Bakken
d63ef03d7b * 1.0 version 2002-12-27 17:19:31 +00:00
Stig Bakken
aded559898 * Windows fix from Edin 2002-12-22 01:32:01 +00:00
Stig Bakken
c4ddda3e23 * set default xml-rpc cache ttl to 1 hour 2002-12-22 01:31:13 +00:00
Stig Bakken
24975495a7 * fix one missing DIRECTORY_SEPARATOR and a typo 2002-12-16 20:44:50 +00:00
Sascha Schumann
e5b86174af CFLAGS_CLEAN was not properly defined 2002-12-16 13:39:27 +00:00
Stig Bakken
854b9b9ac1 * update release notes, remove warning 2002-12-13 02:20:33 +00:00
Stig Bakken
3396ace7cb * fix version/date 2002-12-13 02:11:23 +00:00
Stig Bakken
976aef1ccf * introduce php_bin config parameter
* use PHP_PEAR_<PARAM_NAME> environment variables for defaults
  (for example PHP_PEAR_PHP_DIR)
* Windows cleanups
2002-12-13 02:10:23 +00:00
Stig Bakken
e5dd8161e6 * _parseArgs bugfix 2002-12-13 02:07:22 +00:00
Stig Bakken
1ef49991ff * fix upgrade-all output 2002-12-06 00:10:10 +00:00
Christian Dickmann
910a03a835 silence some possible warnings 2002-12-03 20:51:36 +00:00
Stig Bakken
441a3e3612 * fix typo 2002-11-26 23:17:22 +00:00
Stig Bakken
b066da4e65 * lose obsolete tags: libfile, libname, sources, includes, libadd 2002-11-26 22:52:34 +00:00
Stig Bakken
7e21663cb5 * ws/folding 2002-11-26 21:49:55 +00:00
Stig Bakken
397b35f891 * changed "info" shortcut to "in" 2002-11-26 18:23:58 +00:00
Stig Bakken
693204265e * a little more "windows robust" when looking for package.xml 2002-11-26 01:38:48 +00:00
Stig Bakken
ad2618b8eb * forgot to set release date 2002-11-26 01:34:14 +00:00
Stig Bakken
df158fa5cf * added --ignore-errors option, --force no longer ignores errors 2002-11-26 01:32:47 +00:00
Stig Bakken
58c57d43ab * added sig_keyid config param 2002-11-26 00:05:21 +00:00
Stig Bakken
e617da5aae * more accurate description of "makerpm" command 2002-11-25 23:16:16 +00:00
Stig Bakken
6f1c21aea2 * silence some notices 2002-11-25 23:15:31 +00:00
Christian Dickmann
51f5b6debb remove the check, cause i don't really know, if content has to be an array everytime 2002-11-24 10:15:25 +00:00
Christian Dickmann
0228cfcf4a add some checks to increase cache integrity 2002-11-24 10:13:57 +00:00
Christian Dickmann
7dd3e5e683 add errormessage, but that does not fix the problem 2002-11-24 10:06:54 +00:00
Stig Bakken
64a75d6d77 * fix config-show output 2002-11-22 07:03:46 +00:00
Stig Bakken
713d0e8966 * convert to english 2002-11-20 06:51:23 +00:00
Stig Bakken
0cc15ba4b9 * fix doc for config-{set,get} 2002-11-20 06:50:33 +00:00
Derick Rethans
96c054f775 - MFB: Safemode install problem 2002-11-19 14:45:13 +00:00
Stig Bakken
bfae20f404 * allow config-get in the default layer 2002-11-19 02:18:30 +00:00
Stig Bakken
7547238723 no longer in use 2002-11-15 23:19:41 +00:00
Sascha Schumann
04e564dec5 use grep -E instead of egrep. the latter is not defined by POSIX anymore 2002-11-15 00:20:17 +00:00
Stig Bakken
40ac4a2d68 Added error codes for the PEAR_Dependency class
Changed the dependency API to have a reference to an error message
string as first arg to all check methods
2002-11-14 23:23:21 +00:00
Stig Bakken
9f39cc0626 * a little bit of internal refactoring 2002-11-14 22:41:56 +00:00
Sascha Schumann
1585ad97ff Fix "make install" in vpath env 2002-11-14 01:35:20 +00:00
Stig Bakken
fb179417ef * remove debug output 2002-11-13 19:49:28 +00:00
Christian Dickmann
18296252b2 Add new tag to package.xml named <warnings>.\nThis warnings are printed when installing/upgrading the package.\nThis patch was created in a cooperation with Tal Peer (Thanks for the idea Tal) 2002-11-13 14:17:26 +00:00
foobar
09c36c87fb added missing cvs id tag 2002-11-13 00:49:37 +00:00
Stig Bakken
bad126c6a0 * support INSTALL_ROOT 2002-11-13 00:02:11 +00:00
foobar
6165cd5c89 Do not use any php.ini files for the installs. 2002-11-12 23:30:21 +00:00
Derick Rethans
4a5cb37ac4 - Revert that patch, this was not optional at all. 2002-11-11 16:32:17 +00:00
Christian Dickmann
9c27f4f77c make cache (get/set) binary safe 2002-11-11 01:23:24 +00:00
Stig Bakken
aabda7fc8e * implement transactions for uninstall
* change "revert" to "rollback"
2002-11-10 03:13:31 +00:00
Stig Bakken
888a9bd2fe * implemented file transactions so installs may be safely aborted
* preparing 1.0b2 release
2002-11-10 03:03:20 +00:00
Stig Bakken
ee0ad3c81a * add folds 2002-11-10 02:44:49 +00:00
Stig Bakken
ef236a936f * cleaning house 2002-11-09 00:39:48 +00:00
Stig Bakken
28c2fb6681 * fix path prepends 2002-11-08 00:19:21 +00:00
Martin Jansen
bf15b826a1 * Fix bug #20207. 2002-11-01 14:48:16 +00:00
Ilia Alshanetsky
5b2388f946 Allows pear installer to run un-harassed by safe_mode & open_basedir. 2002-10-29 15:59:19 +00:00
Stig Bakken
886f0bcf7f * make *_dir config parameters available for substitution in the
rpm spec file template
2002-10-22 23:08:55 +00:00
Stig Bakken
b65e60b093 * add transactions member array (for queueing file transactions) 2002-10-22 23:08:09 +00:00
Stig Bakken
59f499228f * some minor fixes to the rpm spec file template 2002-10-22 23:07:36 +00:00
Stig Bakken
8082619e80 * add some signature handling config options 2002-10-22 23:07:10 +00:00
Ilia Alshanetsky
2e25c236d4 One more PEAR test to be skipped. 2002-10-22 17:26:39 +00:00
Ilia Alshanetsky
dd56de8d1e Disable PEAR tests. These tests have too many dependcies such as
pre-installed PEAR, needing to run as root user, most tests
will fail if PEAR install directory is not inside include_path and so on.
2002-10-22 14:19:02 +00:00
Derick Rethans
cb856e6717 - Add optional targets to allow the usage of Makefile.frag for shared
extensions.
2002-10-22 12:30:32 +00:00
Derick Rethans
5f070780bf - Explicitly return "0" at the end of the script. For some weird reason it
was returning error code 256 for me. This fixes pear install <pecl>.tar.gz
  for me.
#- Not sure if this is correct though
2002-10-22 11:21:38 +00:00
Hartmut Holzgraefe
dde85e3936 fix for #19712 & #19715 -> whitepsace in extension dir name 2002-10-21 11:53:04 +00:00
foobar
775a06418f Fix some phpize problems. 2002-10-17 05:05:01 +00:00
Tal Peer
852ec13d41 * Fixed a nasty bug preventing installation of pecl exts. 2002-10-14 19:57:40 +00:00
Martin Jansen
0b69dbc931 * Add missing PHP_SUBST(awk). 2002-10-13 10:20:15 +00:00
Pierre Joye
06455b10bf No more needed here 2002-10-12 20:46:57 +00:00
Stig Bakken
2809b32e63 * update test 2002-10-12 18:27:05 +00:00
Pierre Joye
09b9d5d956 Add test for single directory creation
this test actually fails
2002-10-12 15:18:31 +00:00
Stig Bakken
c93ff0fa6f * 1.0b1 is today 2002-10-12 14:20:32 +00:00
Stig Bakken
6fc63bbdd8 * added "pear makerpm" command for wrapping PEAR packages in RPMs 2002-10-12 14:19:50 +00:00
Stig Bakken
846ad56a13 * rename System::type to System::which 2002-10-12 14:17:44 +00:00
Stig Bakken
c0c85a8c77 * CLI layout adjustment 2002-10-12 13:43:41 +00:00
Stig Bakken
1cb6af0cbe * look for awk, fix for #19819 2002-10-12 01:30:24 +00:00
Edin Kadribasic
4a0ebe5074 Install sapi/embed header file as well. 2002-10-12 01:01:24 +00:00
Stig Bakken
3aba20dd9e * verify md5 checksums during install 2002-10-12 00:40:16 +00:00
Stig Bakken
2771434028 * include platform file attribute! 2002-10-12 00:39:49 +00:00
Stig Bakken
166ff6468c * package updates 2002-10-12 00:39:22 +00:00
Stig Bakken
b5eef00248 * the actual implementation of the installroot option 2002-10-10 21:09:47 +00:00
Stig Bakken
bb607d2d62 * add --installroot / -R option to install/upgrade commands 2002-10-10 01:02:42 +00:00
Stig Bakken
2394021765 * $this->destdir is not used 2002-10-10 00:57:15 +00:00
Stig Bakken
bc8cea056b * upgrade XML_RPC to 1.0.4 2002-10-10 00:56:20 +00:00
Stig Bakken
256ae136e8 * fix Archive_Tar dependency 2002-10-10 00:53:11 +00:00
Stig Bakken
08f9799c46 * options displayed in "pear help" did not have option parameters listed 2002-10-10 00:51:21 +00:00
Stig Bakken
1a987d74be * fix a diff/patch screwup 2002-10-09 22:34:00 +00:00
Pierre Joye
a15877930c Add cache_ttl, cache_dir to expect output
Update text for username, password
Tests pass now
2002-10-09 11:50:12 +00:00
Pierre Joye
54d920dd3c Sorry Derick, generated the wrong patch
and we don't need to recreate an array ;)
2002-10-08 13:17:01 +00:00
Derick Rethans
fa5ce6bbfa - Fix for deprecated function 2002-10-08 13:02:31 +00:00
Martin Jansen
1fe42e10b7 * Nuke warning when $php_errormsg is not set. 2002-10-04 20:00:51 +00:00
Stig Bakken
0a51b3e871 * we're releasing 1.0 along with PHP 4.3, so this is 1.0RC1 2002-10-02 21:33:35 +00:00
Stig Bakken
01daca5e10 * add support for http proxy authorization (thanks Arnaud) 2002-10-02 21:27:25 +00:00
Stig Bakken
04bb45cf4b * added --libs option 2002-09-28 21:58:19 +00:00
Martin Jansen
64a31beb6a * Fix bug #19269.
This patch makes popErrorHandling() pop the first _two_ elements
    from the error handler stack to prevent un-necessary memory
    consumption.

# Patch by: jrust (at) rustyparts (dot) com
2002-09-25 17:36:24 +00:00
Andrei Zmievski
a92e347e53 Let's take Console_Getopt to stable release. 2002-09-13 23:34:21 +00:00
Stig Bakken
48f28ac0b3 * upgrade DB and Mail packages 2002-09-09 22:11:13 +00:00
Stig Bakken
91a97eec5d * 0.91 changelog 2002-09-09 21:56:54 +00:00
Stig Bakken
e42c5142c3 * no longer needed 2002-09-09 21:50:58 +00:00
Stig Bakken
b5df9f32de * more consistent output 2002-09-09 21:45:40 +00:00
Stig Bakken
d4c4836f05 * remove debug output 2002-09-09 21:42:32 +00:00
Stig Bakken
f73c1eb137 * how did those DOS newlines get here? 2002-09-09 21:41:32 +00:00
Pierre Joye
a00f439ff0 Hope to finnally got it, fixes notice (Thx to Sebastian) 2002-08-29 10:08:37 +00:00
Pierre Joye
3f27a08b66 Set 'defaultuser' if 'USER' env not found 2002-08-26 00:39:56 +00:00
Pierre Joye
219624293b Replace horrendous code :) 2002-08-26 00:37:25 +00:00
Pierre Joye
5ea6a5b807 Rule 1: Never quickly fix a thing in cvs
Rule 2: follow rule 1
Thx rasmus :)
2002-08-26 00:18:00 +00:00
Pierre Joye
4bbe4c703c Remove $_ENV usages, getenv() is used instead
'MAKE' and 'USER' are used, if 'USER' not found I set user to 'defaultuser'
2002-08-25 18:29:32 +00:00