Commit Graph

178 Commits

Author SHA1 Message Date
Greg Beaver
0b24e0a404 remove old holdover code that has no purpose 2003-11-30 22:01:22 +00:00
Greg Beaver
c7c5d7689d experimental code shuffling, moved download() into a new class, PEAR_Downloader.
Reasons:
- 7 parameters for a method with lots of pass by reference
  implies the need to save state, i.e. use an object
- cleaner code.  download() can be easily split into 4 separate but related methods
- Installer.php is now exclusively used for installation
- future extensibility: switching to channels or local package repositories from
  using PEAR_Remote is easy.  Simply extend the API for PEAR_Downloader:
  no changes needed to the installer at all

to install for testing purposes, use

pear upgrade --force package-PEAR-new-Downloader.xml

to uninstall, use

pear upgrade --force package-PEAR.xml
2003-11-30 05:39:02 +00:00
Martin Jansen
6ff584e2fb * Fix potential warning 2003-11-17 09:15:28 +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
Tomas V.V.Cox
8b6d6cdc6e Give more info about release states in list-upgrades 2003-09-30 15:22:42 +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
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
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
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
6c93b30165 Pass raw data to frontend (Christian Dickmann) 2003-08-05 14:38:29 +00:00
Tomas V.V.Cox
ad9875b877 upgrade-all back to work 2003-08-02 14:59:44 +00:00
Pierre Joye
c8a14f4ad1 - Fix bug #24512 2003-07-06 14:17:58 +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
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
Tomas V.V.Cox
1a290fb692 s/verbose/debug/ 2003-06-16 17:14:27 +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
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
5f262f10ab * Add support for <provides />
# Bug: #23933
2003-06-05 06:32:10 +00:00
Alexander Merz
d276e85167 introduce download-all command for the PEAR Installer 2003-05-05 07:07:51 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +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
Anil Madhavapeddy
ee3e64267c fix error msg typo 2003-02-16 01:31:46 +00:00
Martin Jansen
447bd814a2 * displayLine() is deprecated, so better use displayError() here. 2003-02-01 09:36:17 +00:00
Stig Bakken
a46aac36ec * typo 2003-01-25 00:38:00 +00:00
Stig Bakken
4cf28eb0fc * verbosity fix for cvstag and cvsdiff commands 2003-01-10 01:15:40 +00:00
Stig Bakken
eaf21d230e * add "cvsdiff" command 2003-01-10 01:11:30 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Stig Bakken
25684764cc * added "clear-cache" command 2002-12-27 19:31:37 +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
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
df158fa5cf * added --ignore-errors option, --force no longer ignores errors 2002-11-26 01:32:47 +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
7dd3e5e683 add errormessage, but that does not fix the problem 2002-11-24 10:06:54 +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
Stig Bakken
bfae20f404 * allow config-get in the default layer 2002-11-19 02:18:30 +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
Martin Jansen
bf15b826a1 * Fix bug #20207. 2002-11-01 14:48:16 +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