Commit Graph

1382 Commits

Author SHA1 Message Date
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
Pierre Joye
19dacf18a1 Remove $_ENV usages
Remove $env arg in all functions and uses getenv instead
Note only 'USER' env var is used
2002-08-25 18:21:10 +00:00
Pierre Joye
9870f455ff Remove $_ENV usages, this causes problems with recommanded php.ini files
Replace by getenv()
2002-08-25 18:11:24 +00:00
Martin Jansen
1936c5c7a6 * Fix bug #18918.
* Add some PHPdoc comments.
2002-08-15 17:07:12 +00:00
Tomas V.V.Cox
b8bace1e0a ZE2 fix on calls to mkdir() (thanks Brad Bulger <tater@potatoe.com>) 2002-08-10 16:33:08 +00:00
Tomas V.V.Cox
5d4b690bab Changed Windows 9x detection code (reported by Alex Merz) 2002-08-06 16:35:19 +00:00
Alan Knowles
c4ef31db26 revert change - this was due to an bug in php HEAD a few days ago 2002-08-05 12:58:38 +00:00
Alan Knowles
fd7e7021c7 Fixed array_shift messing up array_slice.. 2002-08-05 10:37:40 +00:00
Sander Roobol
ef8eb92206 Nuke notice (thanks to Arnaud Limbourg) 2002-08-04 19:00:53 +00:00
Tal Peer
90488714ee * Fixed E_NOTICE on pear -V 2002-07-28 17:06:28 +00:00
Tal Peer
6bb32a9b1e pear -V now shows pear version, php version and ZE version. 2002-07-28 09:09:03 +00:00
Stig Bakken
6cefddee6f * feature/fixed bug 2002-07-28 08:56:32 +00:00
Stig Bakken
cbbc47a199 * added "upgrade-all" command 2002-07-28 08:52:55 +00:00
Stig Bakken
2b4f112d02 * don't abort install if errors are found in the package, display
a warning instead
2002-07-28 08:52:29 +00:00
Tomas V.V.Cox
bf2a898a5f In theory this will fix a problem in Window trying to delete a not closed
file

#if so, other fixes like that may be needed
2002-07-26 15:39:16 +00:00
Tomas V.V.Cox
9aca197515 use -d output_buffer=0 to workarround the PHP flush() problem 2002-07-26 11:58:10 +00:00
Tomas V.V.Cox
fedba5422c download package if force is set 2002-07-26 11:48:55 +00:00
Tomas V.V.Cox
6b08fd5f9c revert my change from PHP_BINDIR to bin_dir 2002-07-26 11:12:44 +00:00
Tomas V.V.Cox
377b106172 Use install-as attrib for pear.bat too, so it gets installed in @bin_dir@ 2002-07-26 11:02:41 +00:00
Tomas V.V.Cox
7bf6b4ccee Use script arg separator '--'
Clean up unused stuff
2002-07-26 10:48:20 +00:00
Tomas V.V.Cox
8d73650be2 Use DIRECTORY_SEPARATOR instead of hardcoded '/' 2002-07-26 10:32:01 +00:00
Tomas V.V.Cox
edfb9d44e4 Workarround to the empty $_ENV 2002-07-26 10:18:28 +00:00
Tomas V.V.Cox
6eed1b0243 use $GLOBALS['HTTP_SERVER_VARS'] instead 2002-07-26 10:11:01 +00:00
Tomas V.V.Cox
1690154e62 Silence NOTICE 2002-07-26 10:01:28 +00:00
Tomas V.V.Cox
995073391e By the moment trust that the dependencies are good
# Will change the installer when finish the dependecy stuff
2002-07-22 12:03:43 +00:00
Tomas V.V.Cox
0ee432cbd5 Bundle Net_socket, needed for Net_SMTP 2002-07-22 11:29:05 +00:00
Stig Bakken
f911cd5051 * bundle these releases 2002-07-21 07:40:18 +00:00
Stig Bakken
80b66c1567 * moved to /pear cvs 2002-07-21 07:38:15 +00:00
Stig Bakken
5c770ace4f * already moved to /pear 2002-07-21 07:19:11 +00:00
Stig Bakken
783410e2bd * support "zend" dependency type 2002-07-21 07:18:49 +00:00
Stig Bakken
03b1160173 * moved to /pear cvs 2002-07-21 07:15:31 +00:00
Stig Bakken
ca277b7a88 * added missing license element
* added "zend" dependency type
2002-07-21 07:06:56 +00:00
Stig Bakken
f246ef4239 * always enable track_errors
* added throwError method (simpler version of raiseError)
2002-07-21 07:04:45 +00:00
Tomas V.V.Cox
20ed142597 typo 2002-07-11 15:39:57 +00:00
Tomas V.V.Cox
cefe27a480 Prepare package.xml for Net_SMTP 2002-07-11 15:36:48 +00:00
Stig Bakken
b627e6e413 * signed these packages 2002-07-10 07:18:12 +00:00
Stig Bakken
0d6a49f48e * add HTTP package (signed) 2002-07-09 11:24:29 +00:00
Stig Bakken
5aab8b2b8b * tolerate $args being empty 2002-07-09 10:52:25 +00:00
Stig Bakken
d90cada542 * tiniest optimization 2002-07-09 10:52:04 +00:00
Stig Bakken
0a6d81b56e * typo 2002-07-09 10:51:41 +00:00
Stig Bakken
b85f40f079 * added "pear sign" command 2002-07-07 21:12:40 +00:00
Stig Bakken
24909111fc * use System::mktemp
* check if an install is about to overwrite existing files belonging
  to other packages, bail out if not in "force" mode
2002-07-07 21:10:29 +00:00
Stig Bakken
6e0745b57a * don't set include path if running 'pear.in' without substitutions
made by the installer
* sort command names in help output
2002-07-07 21:01:10 +00:00
Stig Bakken
81e5b17f91 * made rebuildFileMap method public, added caching and checkFileMap method 2002-07-07 20:48:54 +00:00
Shane Caraveo
8619108154 Let 'pear build' work on windows for building pecl extensions.
A few notes:
Currently only supports release builds, and of course, requires msdev!
pecl packages must have package.xml and xxx.dsp files for this to work
the package name in package.xml must match the name of the dsp file, so
package iisfunc must have dsp iisfunc.dsp
2002-07-07 20:47:57 +00:00
Stig Bakken
87f97ba5c9 * use System::mktemp rather than PEAR_Common::mkTempDir 2002-07-07 20:42:08 +00:00
Stig Bakken
38a56a51cc * silence warning 2002-07-07 20:41:20 +00:00
Christian Dickmann
d04c8495d3 add local XMLRPC cache 2002-07-06 14:44:05 +00:00
Stig Bakken
6b4707320d * define PEAR_ZE2 when running with Zend Engine 2 2002-07-05 01:52:09 +00:00
Martin Jansen
1b1d5da907 * Remove http:// from the proxy server string.
Patch by: "michiel bakker" <michiel_bakker@hotmail.com>
2002-07-04 20:28:56 +00:00
foobar
bb0d7d6e31 - Let's be tad more verbose what's happening during 'make install' 2002-07-03 22:12:13 +00:00
Christian Dickmann
a6783f8070 make 'remote-info' use package.info. add deps to 'list-all' 2002-07-02 13:04:01 +00:00
Tomas V.V.Cox
ba7bdbdb65 change the include_path setting to be in the php space instead
of doing in the interpreter line (seems to break FreeBSD)
2002-06-25 13:45:29 +00:00
Martin Jansen
2fec25ad73 * Rephrase help text. 2002-06-24 16:03:45 +00:00
Stig Bakken
7914985b1a * typo 2002-06-21 13:11:04 +00:00
Stig Bakken
0f4ccfaa27 * bending over backwards to find sensible defaults 2002-06-21 06:08:54 +00:00
Tomas V.V.Cox
77acb22bba - Force params to version_compare() to be strings, otherwise some
comparations will fail (ex. 0.9 will be equal to 0.90)
- Other minor cleanup's
2002-06-19 23:38:59 +00:00
Tomas V.V.Cox
fa2ee37313 Do NOT allow install packages with errors in its description file 2002-06-19 22:51:29 +00:00
Tomas V.V.Cox
455f7bc746 "Release notes"++ 2002-06-18 08:41:39 +00:00
Tomas V.V.Cox
d2b435eb08 Dropped case insentive ext search in PEAR::loadExtension() 2002-06-17 14:35:12 +00:00
Tomas V.V.Cox
4211d0e590 Typo in the folding mark 2002-06-17 14:04:01 +00:00
Stig Bakken
271c2526df * php-4.2.1-installer.exe for Windows is installed in c:\php by
default, but it has PHP_SYSCONFDIR set to c:\php4.  workaround.
2002-06-17 13:56:38 +00:00
Tomas V.V.Cox
80361edcb6 Use the new PEAR::loadExtension() in checkExtension() instead
of the "hack"
2002-06-17 13:50:33 +00:00
Tomas V.V.Cox
87ddd96027 Added PEAR::loadExtension($ext) - OS independant PHP extension load
# PEAR developers, please use this function if you need to check or
# load an extension.
2002-06-17 13:39:29 +00:00
Tomas V.V.Cox
9e67012d74 trailing ws 2002-06-17 13:32:42 +00:00
Stig Bakken
97fd0acc14 * doh 2002-06-17 10:58:34 +00:00
Alan Knowles
c904e22ade Fixing for the coding standard :) 2002-06-17 10:52:21 +00:00
Stig Bakken
2ae8219d44 * add xmlrpc request to debug output (verbosity level 4+) 2002-06-17 10:26:55 +00:00
Alan Knowles
19b63d5f87 Added Dependancy check on XML - previously pear installer failed silently 2002-06-17 04:49:14 +00:00
Tomas V.V.Cox
19bfe8a3e1 Install the pear command under the bin_dir setting intead of the fixed
PHP_BINDIR
2002-06-16 14:30:14 +00:00
Stig Bakken
c55ce8b07f * set include_path when running "pear" 2002-06-16 05:43:48 +00:00
Tomas V.V.Cox
9baec5623d - Fix issue with the DIRECTORY_SEPARATOR, did make the install of
XML_image2svg fail
- TODO++ and others minor stuff
2002-06-14 23:18:04 +00:00
Stig Bakken
972edb2795 * if verbosity config is > 3, display xmlrpc response
* another bugfix
2002-06-14 22:25:37 +00:00
Alan Knowles
4f1531b163 remote list and remote listall, can now list non-stable packages if you set prefered_state to something else 2002-06-14 15:03:29 +00:00
Alan Knowles
78fffcce0e Fixed XML RPC sending of args - lets try and get the right tag :) 2002-06-14 14:55:28 +00:00
Tomas V.V.Cox
cf4002fd58 Change a little the dep db structure
Comment the code and some clean up's
2002-06-13 15:10:42 +00:00
Tomas V.V.Cox
3507f15519 More work on the dependencies DB (still not tested/used) 2002-06-13 13:41:12 +00:00
Stig Bakken
efbb0b125c * comment typos 2002-06-12 21:23:22 +00:00
Stig Bakken
16a112094b * set working version to 0.91-dev 2002-06-12 21:19:51 +00:00
Stig Bakken
ab9159719b * minor cleanup 2002-06-12 21:17:10 +00:00
Tomas V.V.Cox
d2b830ff4a Attempt to make pear.bat work better under Windows 2002-06-12 16:31:53 +00:00
Tomas V.V.Cox
4bb9c66fee Commented out old unused stuff
# I'm not familiar with the 'make' syntax, please tell me if
# something is wrong
2002-06-09 18:34:04 +00:00
Tomas V.V.Cox
613496c4ef Moved to pear/Archive_Tar/scripts 2002-06-09 18:25:40 +00:00
Tomas V.V.Cox
c67c595645 if (!dl(php_gtk)) die("Unable to load the php_gtk extension\n"); 2002-06-09 18:18:01 +00:00
Tomas V.V.Cox
8c8599222e Beautify config-show output, some wrap changes and fix small
issue with _tableRow() with line counting
2002-06-09 18:12:59 +00:00
Tomas V.V.Cox
0d5d98a6d8 displayLine() -> outputData() 2002-06-09 16:29:50 +00:00
Tomas V.V.Cox
7647781340 - outputData($data, $command)
+ outputData($data, $command = '_default')
2002-06-09 16:28:46 +00:00
Christian Dickmann
3dd47bc651 add modes to list-all. fix a mergerbug 2002-06-08 18:44:34 +00:00
Tomas V.V.Cox
2ed7358250 Hopefully fixed a couple of problems with destination paths:
- Bug #17529
- In Windows getting <pear>\/\<file>
- Documentation under <doc_dir>/Package/Package/

# Please test it and report possible problem
2002-06-08 17:34:46 +00:00
Tomas V.V.Cox
f33c5896ac Experimental dependencies database handling functions
(not yet in production)
2002-06-07 18:07:38 +00:00
Tomas V.V.Cox
fcd6d2b5cd Beautify remote-info 2002-06-07 15:06:25 +00:00
Tomas V.V.Cox
f3673c8798 - Reapplied the "treat umask as octal in "config-set"
command" Stig's patch
- Ported the config-help command to new UI API
2002-06-07 14:50:39 +00:00
Tomas V.V.Cox
8f21117efb more wrapping cases 2002-06-07 14:48:01 +00:00
Tomas V.V.Cox
ebea2ed5cf Remove debug code 2002-06-07 10:22:00 +00:00
Tomas V.V.Cox
eeb7f9dafc More info output retouchs 2002-06-07 10:20:41 +00:00
Tomas V.V.Cox
b5bf0fb154 Fix some minor issues with the parsing 2002-06-07 10:18:59 +00:00
Stig Bakken
2bc921c60a * get rid of pearize 2002-06-07 10:17:25 +00:00
Tomas V.V.Cox
c083784023 Make "info" full human friendly (in deps list and lastmodified) 2002-06-07 08:45:00 +00:00
Tomas V.V.Cox
9f46d24922 Make $_deps_rel_trans and $_deps_type_trans globally avaible:
moved from Command/Package.php -> Command/Common.php
2002-06-07 08:43:45 +00:00
Tomas V.V.Cox
149dcec76f Be nicer with the help 2002-06-07 08:05:48 +00:00
Tomas V.V.Cox
7770b625ba ws 2002-06-07 08:04:05 +00:00
Tomas V.V.Cox
1dac8c275b Put back the "info" command in its full state:
"Displays information about a package. The package argument may be a
local package file, an URL to a package file, or the name of an
installed package."
Command "package-info" depreciated (again)
2002-06-07 07:54:28 +00:00
Stig Bakken
678456cf0f * prepare 0.90 2002-06-06 11:31:07 +00:00
Stig Bakken
d1826b4287 * add "nobuild" option to installer (-B or --nobuild option to CLI frontend) 2002-06-06 10:51:26 +00:00
Stig Bakken
d8c07cc63d * remove debug output 2002-06-06 10:37:13 +00:00
Stig Bakken
cf81f686e9 * when building, look for "package-version" subdirectory, needed for
building stuff straight from tarballs
2002-06-06 10:35:16 +00:00
Stig Bakken
9161f8a32e * add PEAR_COMMON_PACKAGE_NAME_PREG constant 2002-06-06 10:16:42 +00:00
Stig Bakken
3c587c0aad * make displayFatalError work again 2002-06-06 10:16:01 +00:00
Tomas V.V.Cox
aa7d447d25 Forgot that one 2002-06-06 09:05:04 +00:00
Tomas V.V.Cox
8447d094c6 Wrap table contents
# Sorry could't wait for that commit :-)
2002-06-06 08:50:31 +00:00
Tomas V.V.Cox
41e7696ec9 Implemented "pear info <Installed Package>" command
# Stig, why I'm sure that you already have implemented this
# command? Have to stop with my LSD therapy
2002-06-06 07:25:07 +00:00
Tomas V.V.Cox
ec9c0bf0a7 Split the doPackageInfo() in doPackageInfo() and _infoForDisplaying()
(this last one can be statically called and is used also from
the "info" command)
2002-06-06 07:22:23 +00:00
Tomas V.V.Cox
eb54d687ad package.xml file for the PEAR Mail package 2002-06-06 06:43:19 +00:00
Tomas V.V.Cox
fda17098b1 That will really avoid PHP warnings 2002-06-06 06:40:05 +00:00
Tomas V.V.Cox
1971e52e33 Fix package command
# can't beleive you don't test commits :-)
2002-06-06 06:35:12 +00:00
Stig Bakken
4317a5c7a9 * sort package names in "pear list" 2002-06-04 15:25:23 +00:00
Stig Bakken
b8ec647fc5 * fix bug that was re-introduced during merge 2002-06-02 23:59:41 +00:00
Christian Dickmann
ee44ad4f5b make 'pear remote-info' work with CLI 2002-06-02 20:24:50 +00:00
Christian Dickmann
19c946cce2 make 'pear search' work with CLI. fix a typo 2002-06-02 20:13:50 +00:00
Christian Dickmann
0220472176 silence unlink() and rmdir(). fix a bug where wasn't set due to wrong ini setting 2002-06-02 14:27:15 +00:00
Stig Bakken
f111dff665 * merge NEW_UI_API branch 2002-06-02 13:07:19 +00:00
Tomas V.V.Cox
3a32f51b11 fread already detects EOF 2002-05-31 18:49:47 +00:00
Tomas V.V.Cox
5d43ef2cd0 Be able to handle strings as well as arrays in _multipleToStruct() 2002-05-31 18:12:56 +00:00
Tomas V.V.Cox
5cb633933f - Make mkTemp() automatically removed temporary created files
or dirs at script shutdown time
- Remove unnecesarry PEAR inheritance
- Some PHPDoc fixes
2002-05-31 17:47:19 +00:00
Jan Lehnardt
57adfb0dec - add testcase for PEAR::delExpect() 2002-05-30 09:39:52 +00:00
Jan Lehnardt
5ec88a3b73 - minor improvement of readability,
#thanks richy ;)
2002-05-29 21:55:52 +00:00
Jan Lehnardt
998ef91cad - added delExpect() API method. It allows to unset one or more expected
- error codes.
 - requires _checkDelExpect() (private) which I added as well.
 - inspired by chregu (PHP-Deluxe, page 75)
2002-05-29 21:41:27 +00:00
Stig Bakken
43beb1deda * 0.11 release coming up 2002-05-28 01:22:41 +00:00
Stig Bakken
a0b0ad161f * drop package-info command (deprecated by "info") 2002-05-28 01:21:47 +00:00
Stig Bakken
1ed83e4970 * update test 2002-05-28 01:21:26 +00:00
Stig Bakken
ecf93ec1fd * update 0.11 release notes
* move build logic into PEAR_Builder
2002-05-28 01:01:43 +00:00
Stig Bakken
599cede43e * disable *&$^*#@ runtime ^@#*&$@ magical ^*!@@!! quoting 2002-05-28 00:45:19 +00:00
Stig Bakken
0adf7e2530 * sync up 2002-05-28 00:35:16 +00:00
Stig Bakken
52a00c9a0c * disable magic_quotes_runtime (what a broken concept!!) while
reading config files
2002-05-28 00:31:04 +00:00
Stig Bakken
819dd35055 * fix some errors/warnings
* install data and test files now
2002-05-28 00:11:41 +00:00
Stig Bakken
245ca5aa7c * added data_dir and test_dir 2002-05-28 00:01:19 +00:00
Stig Bakken
926dcdc854 * moved the --without-pear compat defines to the right place 2002-05-27 22:28:26 +00:00
Stig Bakken
076202e02c * change root for documentation files to <peardir>/docs 2002-05-27 22:27:40 +00:00
Stig Bakken
731f6a2a97 * treat umask as octal in "config-set" command 2002-05-27 21:59:19 +00:00
Stig Bakken
216986ff42 * use new Archive_Tar gzip autodetection 2002-05-27 21:36:28 +00:00
Stig Bakken
1794f9c922 * prepare 0.9 release 2002-05-27 20:57:01 +00:00
Stig Bakken
94ca53c871 * fixed a bug in PEAR_Config::set() that broke validation of "set" parameters 2002-05-27 19:37:17 +00:00
Stig Bakken
3337c2d307 * better gzip detection (magic cookie) 2002-05-27 19:28:09 +00:00
Stig Bakken
a618f2cd8b * fixes for php without zlib 2002-05-27 12:45:03 +00:00
Stig Bakken
f3c5fea7a4 * make Archive_Tar auto-detect whether zlib is needed based on file
extension (.tar -> no zlib)
2002-05-27 11:59:09 +00:00
Stig Bakken
e59a6c28d5 * update version 2002-05-27 01:22:59 +00:00
Stig Bakken
622c684164 * first shot at "pear build" command for building extensions from C code 2002-05-27 01:20:10 +00:00
Stig Bakken
5f7cdc85da * "info" command 2002-05-27 00:22:01 +00:00
Stig Bakken
cb097ffded * added config-help command 2002-05-27 00:21:36 +00:00
Stig Bakken
17e6e108ac * drop "any" as a valid preferred_state 2002-05-27 00:20:03 +00:00
Stig Bakken
d4eb209a6a * more verbose docs for "verbose" :) 2002-05-27 00:16:40 +00:00
Stig Bakken
d0cfe03194 * un-indent description too 2002-05-26 23:38:22 +00:00
Stig Bakken
0f26462418 * try being smart about de-indenting release notes from the xml 2002-05-26 23:33:01 +00:00
Stig Bakken
6e462e2880 * PEAR_Frontend_Web is coming! 2002-05-26 22:11:17 +00:00
Tomas V.V.Cox
25b78bc5bd Added "pear -V" (show version information) 2002-05-26 19:42:13 +00:00
Stig Bakken
d3926c1e7e * another help fix 2002-05-26 19:19:34 +00:00
Tomas V.V.Cox
8cd936095b Make the error handling work again since the new internal command
structure
2002-05-26 19:08:21 +00:00
Martin Jansen
e75fe514a1 * Add /me has helper. 2002-05-26 18:06:04 +00:00
Stig Bakken
5819f202f9 * bold column headings 2002-05-26 17:48:40 +00:00
Stig Bakken
457af88cf4 ^t 2002-05-26 17:46:21 +00:00
Tomas V.V.Cox
f2f69974e9 "Help" fixes 2002-05-26 17:37:52 +00:00
Stig Bakken
177872f0a5 * add package.dtd to the distribution 2002-05-26 12:56:11 +00:00
Stig Bakken
7168cb0567 * roll out 0.10 2002-05-26 12:54:19 +00:00
Stig Bakken
c4e4b05c05 * focus on the present 2002-05-26 12:54:08 +00:00
Stig Bakken
a12d71be8a * add @nodep stuff here too 2002-05-26 12:53:26 +00:00
Stig Bakken
d6881ebba1 * be nice to PEAR_Common::detectDepdencencies() 2002-05-26 12:52:16 +00:00
Stig Bakken
e71d497bef * more work on the dependency detector 2002-05-26 12:51:32 +00:00
Stig Bakken
f1882b9fc5 * Console_Getopt POSIX fix 2002-05-26 12:51:10 +00:00
Stig Bakken
ea14cadea2 * phpdoc fixes (un-break the broken) 2002-05-26 12:50:36 +00:00
Stig Bakken
39ba363638 * POSIX getopt compatibility support (first argv element is the command) 2002-05-26 12:13:47 +00:00
Stig Bakken
6b2d3bba17 * tidy output a bit 2002-05-26 12:13:05 +00:00
Stig Bakken
7132d9e56f * cleaned up error handling in _installFile 2002-05-26 11:46:11 +00:00
Martin Jansen
cbdcb20b37 * Make rel_trans from doPackageInfo globally available.
* Add command "package-dependencies" (shortcut "pd") to list the
  dependencies of a package.
2002-05-25 09:03:19 +00:00
Stig Bakken
0aa275f3ae * typo caught by PEAR_Common::detectDependencies :) 2002-05-25 00:43:58 +00:00
Tomas V.V.Cox
6ec69deaf6 TODO++
Check dependencies break on package uninstall (when no force given)
2002-05-23 20:42:33 +00:00
Tomas V.V.Cox
5ab1f810b9 Fix package dependency check (reported by Rasmus) 2002-05-23 20:37:58 +00:00
Tomas V.V.Cox
613f08a231 Trigger an error if the run-test.php file is not found
Make the run-tests pear cmd run with the CGI SAPI
2002-05-22 12:44:21 +00:00
Tomas V.V.Cox
ae126450c9 Test first if the package exists before comparing the version
(fix the version_compare() segfault)
2002-05-22 01:23:12 +00:00
Tomas V.V.Cox
4d10d79c3e Make pear -vv XXX set the XML_RPC debug flag 2002-05-22 00:15:27 +00:00
Tomas V.V.Cox
743ad31884 files that are not installed should be removed from the
registered file list (TODO--)
2002-05-21 09:19:46 +00:00
Stig Bakken
d8d42fcc59 * show installed_as instead of a "calculated" path for installed packages 2002-05-21 07:18:48 +00:00
Stig Bakken
86a043d250 * add TODO comment 2002-05-21 07:16:35 +00:00
Stig Bakken
e7ccd22d5e * disable wrapping for now 2002-05-21 07:00:45 +00:00
Tomas V.V.Cox
5700c0d421 Some minor error verbosity updates 2002-05-21 02:31:23 +00:00
Tomas V.V.Cox
39b4baccbe doListRemote -> doRemoteList 2002-05-21 02:28:08 +00:00
Tomas V.V.Cox
2133d0f4ac Make the installation of a package fail when _installFile
fails and "force" is not set
2002-05-21 02:11:42 +00:00
Stig Bakken
6eb5ad0f53 * list command no longer displays test and data files when listing
installed files
2002-05-21 02:04:03 +00:00
Stig Bakken
c8ea5b26d2 * package-list command no longer needed ("list" does the same thing and
more)
2002-05-21 01:44:06 +00:00
Stig Bakken
cea551cf93 * rename shell-test shortcut to st (was stest) 2002-05-21 01:40:35 +00:00
Stig Bakken
dd6b25cfcb * added more shortcuts 2002-05-21 01:38:50 +00:00
Stig Bakken
7ecfacedad * implemented shortcuts ("pv" for "package-validate" etc.)
do "pear help shortcuts" to see what shortcuts exist
* renamed "list-installed" command to "list" and made it able to
  list the contents of installed packages as well as tar/tgz/xml files
* added some more/better command docs
* fixed up the synopsis part in the help output
* display option parameters (--foo=bar, where bar is specified in
  'shortarg' as for example 'f:bar')
* renamed list-remote-packages to list-remote
* renamed remote-package-info to remote-info
2002-05-21 01:27:53 +00:00
Stig Bakken
f208968c9f * make infoFromAny actually work :) 2002-05-21 01:20:51 +00:00
Stig Bakken
3cb61284ad * better wording 2002-05-21 01:20:24 +00:00
Stig Bakken
d24f7420d0 * disable debug in XML_RPC fallback 2002-05-20 22:29:52 +00:00
Stig Bakken
6553e94791 * new command setup 2002-05-20 11:37:33 +00:00
Stig Bakken
324c342527 * upgrade bundled XML_RPC package to 1.0.3 2002-05-20 11:35:33 +00:00
Stig Bakken
344ba505b9 * new installer rule that does not depend on bash 2002-05-20 10:46:01 +00:00
Stig Bakken
2034c61557 * _infoFromAny goes public! 2002-05-20 10:45:23 +00:00
Stig Bakken
840b5f8e67 * some verbosity changes: 0 - only errors, 1 - status report when the
install is done, 2 - show each operation, 3 - show file operations
2002-05-20 10:44:53 +00:00
Stig Bakken
9cd470d160 * no output in verbosity level 0 2002-05-20 10:43:29 +00:00
Stig Bakken
5c7623ee86 * added PEAR_Config::removeLayer() 2002-05-20 10:42:47 +00:00
Stig Bakken
a31e8b7373 * remove getCommands() from here
* added options to "pear cvstag": -q -Q -d -F
2002-05-20 10:31:12 +00:00
Stig Bakken
454a31121c * support multiple -v and -q options 2002-05-20 10:27:16 +00:00
Stig Bakken
b1bcf9d794 * forgot to update the release date 2002-05-20 10:21:01 +00:00
Stig Bakken
fa6d66d6d2 * fix fix 2002-05-20 09:54:37 +00:00
Stig Bakken
9178695c37 * merge 0.4 files from /pear/Archive_Tar 2002-05-20 09:05:52 +00:00
Stig Bakken
89fb60f049 * prepare 0.10 2002-05-20 08:58:46 +00:00
Stig Bakken
845e6f86bc * remove run() from this class 2002-05-20 08:56:00 +00:00
Tomas V.V.Cox
3b97fe3657 Added missing key 'doc' for -Z help 2002-05-20 01:22:00 +00:00
Tomas V.V.Cox
3716f28350 Fix small bug making the baseinstalldir attrib persist 2002-05-20 01:17:09 +00:00
Stig Bakken
7542066eef * no need for getCommands() here 2002-05-20 00:17:43 +00:00
Stig Bakken
c2d1d3fc82 * new command setup 2002-05-20 00:15:52 +00:00
Stig Bakken
9fd5019fed * typo fixes, wrapping 2002-05-20 00:11:15 +00:00
Stig Bakken
71c7fe0d8f * install pear.bat on Windows only 2002-05-19 21:45:45 +00:00
foobar
14f05fbbc7 Make this actually work somewhat better.. 2002-05-19 21:39:59 +00:00
Stig Bakken
f19b566a40 * compat fix 2002-05-19 16:32:18 +00:00
Tomas V.V.Cox
93b603861e Put "pear help options" working again 2002-05-19 15:50:36 +00:00
Tomas V.V.Cox
26493531d4 Put "pear help command" working again 2002-05-19 15:44:47 +00:00
Stig Bakken
6dce2376da * new command setup 2002-05-19 06:48:40 +00:00
Stig Bakken
6eee62645b * support platform-specific files 2002-05-19 06:19:26 +00:00
Stig Bakken
d7ef0b964b * take uname as optional constructor parameter 2002-05-19 06:13:07 +00:00
Tomas V.V.Cox
fd5b0fb50a make downloadHttp() detect HTTP errors 2002-05-15 11:23:01 +00:00
Tomas V.V.Cox
d9f4162ab9 Try to create the dir where the conf file resides before trying
to write to it
2002-05-14 17:59:41 +00:00
Tomas V.V.Cox
5ea5758bcf Add "\n" after the error in usage() 2002-05-14 17:58:44 +00:00
Stig Bakken
ce2b2b76a0 * convert to new command setup 2002-05-14 12:46:17 +00:00
Stig Bakken
b45e7182a0 * typo 2002-05-14 12:34:49 +00:00
Stig Bakken
a14aeac0f8 * fall back to XML_RPC if xmlrpc-epi is not loaded
# still buggy
2002-05-14 01:51:06 +00:00
Stig Bakken
95ab15f0a5 * add command definitions, split run() into one method for each command 2002-05-14 01:49:56 +00:00
Stig Bakken
677cda3ea4 * no need for getHelp() here anymore 2002-05-14 01:49:18 +00:00
Stig Bakken
1da524b016 * moved get{Help,Commands,Options} here 2002-05-14 01:48:20 +00:00
Stig Bakken
ed16e64498 * moved the {config xxx} help message substitution to
PEAR_Command_Common::getHelp
2002-05-14 01:45:20 +00:00
Andrei Zmievski
1668570e4d Changing email address. 2002-05-13 17:28:38 +00:00
Stig Bakken
66605d218d * fix option parsing 2002-05-12 23:21:30 +00:00
Stig Bakken
3bc12ac242 * refactored the command/options code:
- now each command class should define a "commands" property with
    documentation, option specs etc.
  - both long and short options are now supported
  - after recent changes to Console_Getopt, you may now have options
    to commands even though the same option is also valid for the pear
    command itself
  - less CLI-centric, better suited to Gtk and Web frontends
2002-05-12 21:09:04 +00:00
Tomas V.V.Cox
94a3659642 The command name is now the first arg not the second 2002-05-12 16:42:50 +00:00
Tomas V.V.Cox
625b9c5f88 Add "r" in cmd help 2002-05-12 16:31:30 +00:00
Tomas V.V.Cox
1bf2abc2f5 The first entry in argv is the command name, so Getopt will stop
parsing more args
# Stig be carefull, your change to Getopt breaks BC
2002-05-12 16:30:26 +00:00
Stig Bakken
d0fc0d4c08 * fix up package dependency check 2002-05-12 14:53:54 +00:00
Tomas V.V.Cox
3a838c7737 Make <dep type="pkg" rel="has"> avaible 2002-05-12 14:42:03 +00:00
Stig Bakken
bd77586b34 * fix description 2002-05-12 13:14:24 +00:00
Tomas V.V.Cox
0e9d6c4b42 Vincent is not involved in this class :-) 2002-05-12 11:27:39 +00:00
Stig Bakken
ebe26ec36c * Try again: fixed Console_Getopt::getopt so it does not steal options
after the first non-option argument.  Added test.
2002-05-12 07:13:49 +00:00
Stig Bakken
f0a3e7262e * updated config key names 2002-05-12 07:09:25 +00:00
Stig Bakken
201ec25f42 * exclude _lastmodified registry attrib from tests 2002-05-12 07:08:25 +00:00