Commit Graph

748 Commits

Author SHA1 Message Date
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
Stig Bakken
d9704c7134 * use PEAR::raiseError 2002-05-11 16:39:39 +00:00
Stig Bakken
aa1f45c964 * install Archive_Tar and Console_Getopt too 2002-05-11 01:35:23 +00:00
Stig Bakken
b4bb7c10f9 * add package descriptions for Archive_Tar and Console_Getopt 2002-05-11 01:28:14 +00:00
Stig Bakken
42a0e2763f * add dependencies 2002-05-11 01:27:53 +00:00
Martin Jansen
caa2dd2ce2 * package-pear.xml has been renamed to package-PEAR.xml. 2002-05-10 05:40:39 +00:00
Stig Bakken
ae7da10f0e * remove package-db.xml
* rename package-pear.xml to package-PEAR.xml (generic format is
  package-PKGNAME.xml)
2002-05-09 21:13:56 +00:00
Vincent Blavet
59071dc42e * Better handling of Windows paths (\php\any_thing or c:\php\any_thing)
* Remember that inside the archive path are all the time in unix format /php/any_thing
* When necessary, '\' are replaced by '/' and 'c:' are removed
* Synchro with cvs:pear/Archive_Tar/Tar.php version 1.20
2002-05-09 13:00:12 +00:00
Stig Bakken
27f5bfc848 * add some packages to bundle with PHP 2002-05-09 12:46:21 +00:00
Stig Bakken
fddbd15554 * add "pear run-tests" command 2002-05-09 12:45:29 +00:00
Stig Bakken
ed4ffb695b * use PEAR installer to install stuff (won't overwrite if newer versions
of packages already are installed)
2002-05-09 12:45:02 +00:00
Stig Bakken
123ae9bcdd * permanently moving DB to /pear 2002-05-09 12:29:25 +00:00
Derick Rethans
24e96213ff - Fix phpize 2002-05-09 12:27:20 +00:00
Derick Rethans
f0d18c63be - Dump API NOs 2002-05-09 12:11:57 +00:00
foobar
1d4753755d Fix 'php-config --version' 2002-05-09 12:06:44 +00:00
Stig Bakken
dad70be69c * show "update ok" after updates 2002-05-09 06:49:12 +00:00
Stig Bakken
2225be36d6 * install the old-fashioned way for just a bit longer 2002-05-09 02:32:18 +00:00
Stig Bakken
b14c2f9185 * add -G option to "pear" for php-gtk frontend
* added Gtk stub (only creates window right now)
* added command descriptions
2002-05-09 02:31:37 +00:00
Stig Bakken
bd4f1f90d0 * switched from static to instance model
* added matching method with glob support, some examples:
    $os->matchSignature('linux');
    $os->matchSignature('linux-2.4*);
    $os->matchSignature('linux-*-i?86');
2002-05-03 13:13:51 +00:00
Stig Bakken
9679267b88 * fixed autoconf vs. pear installer replacement issue in scripts/pear.in
(pear installer now substitutes "@prefix@/bin" to bin_dir ;-)
* added skeleton for OS_Guess class
2002-05-03 05:42:55 +00:00
Stig Bakken
1a74e43001 * apply umask when installing files 2002-05-03 00:01:54 +00:00
Stig Bakken
f6ad0eee1d * add umask config value 2002-05-02 23:56:44 +00:00
Tomas V.V.Cox
fec42ddeee Install pear.bat
# Please Windows hackers test the pear installer support!
2002-05-02 10:15:47 +00:00
Tomas V.V.Cox
f024d6b709 untabify 2002-05-02 10:14:01 +00:00
Jon Parise
b2579d3480 Revert the previous commit (revision 1.40).
@bindir@ ended up becoming '${exec_prefix}' (literally) on my system
(FreeBSD 4.5), thus producing a broken shebang line.

@prefix@ works fine for me here.  If @bindir@ is indeed preferred, the
substitution problem noted above needs to be resolved before the change
is reapplied.
2002-05-02 05:36:21 +00:00
Stig Bakken
18936b9b61 * version will be 0.10 2002-04-29 06:41:42 +00:00
Stig Bakken
dd3423434a * slight cleanup 2002-04-29 06:38:07 +00:00
Stig Bakken
7db1420fa6 * call the right parent constructor 2002-04-29 06:29:07 +00:00
Stig Bakken
ac53945e9b * PEAR_Installer constructor now expects only the UI object 2002-04-29 06:24:37 +00:00
Stig Bakken
1ca41f7f49 * PEAR_Common::downloadHttp no longer wants a config object 2002-04-29 06:23:51 +00:00
Stig Bakken
c5d6a0c524 * always set $this->config (use PEAR_Config::singleton)
* rename setFrontend to setFrontendObject
* add validPackageName method
* added downloadHttp callback types setup, connfailed and writefailed
* no more passing config objects around
2002-04-29 06:23:05 +00:00
Stig Bakken
0252c2bb39 * use the downloadHttp method w/callback 2002-04-29 06:20:42 +00:00
Stig Bakken
c6fe490093 * forgot script element in release contents 2002-04-28 07:58:41 +00:00
Stig Bakken
123a668fb5 * package.dtd: version 1.0b7
- added <provides> element
  - added <script> element
2002-04-28 07:52:00 +00:00
Stig Bakken
eade67d6ab * implemented "list-remote-packages" command 2002-04-28 07:35:30 +00:00