Commit Graph

903 Commits

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