Stig Bakken
f73c1eb137
* how did those DOS newlines get here?
2002-09-09 21:41:32 +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
fedba5422c
download package if force is set
2002-07-26 11:48:55 +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
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
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
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
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
f111dff665
* merge NEW_UI_API branch
2002-06-02 13:07:19 +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
a618f2cd8b
* fixes for php without zlib
2002-05-27 12:45:03 +00:00
Stig Bakken
7132d9e56f
* cleaned up error handling in _installFile
2002-05-26 11:46:11 +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
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
86a043d250
* add TODO comment
2002-05-21 07:16:35 +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
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
6eee62645b
* support platform-specific files
2002-05-19 06:19:26 +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
Stig Bakken
1a74e43001
* apply umask when installing files
2002-05-03 00:01:54 +00:00
Stig Bakken
0252c2bb39
* use the downloadHttp method w/callback
2002-04-29 06:20:42 +00:00
Stig Bakken
03a52cd97c
* fix warning
2002-04-25 09:13:55 +00:00
Stig Bakken
88024105c9
* more uniform "level 2 debug messages"
...
* don't add dirname(file) to install path if install-as attribute is set
2002-04-21 11:46:41 +00:00
Martin Jansen
dc8c2c9a6c
* Remove package directory if empty during uninstall process
...
* Don't baseinstalldir for documentation.
2002-04-21 06:17:53 +00:00
Stig Bakken
c8418830f9
* make "pear install package.xml" possible, so you can install a package
...
without building a tarball first
2002-04-19 14:01:10 +00:00
Markus Fischer
509ef0237f
- Also raise a different error message if we don't specify any package at all.
...
# We might consider giving the 'pear help uninstall' output to the user?
2002-04-13 06:00:36 +00:00
Markus Fischer
e060e90f0c
- Return a different error message if no package file was given at all.
2002-04-13 05:52:54 +00:00
Tomas V.V.Cox
4c125afc74
Make the dependencies check look for the correct registry file
2002-04-09 14:12:12 +00:00
Stig Bakken
894cbdf3d2
* implemented role="script" and <replace> substitution during install
2002-04-09 08:10:12 +00:00
Stig Bakken
79a150068a
* append "?uncompress=yes" to the package download url if zlib extension
...
is not loaded
2002-04-07 21:09:41 +00:00
Stig Bakken
dc974a0299
* support for .tar files in PEAR_Installer
...
* new command: package-verify
* "package" command now sanity-checks the package information before
making the tarball
* -Z option to the install/update commands for downloading non-compressed
packages
2002-04-07 10:38:04 +00:00
Stig Bakken
d4dfead250
* Added "-s" (soft update) option to install/upgrade. Will make installs
...
fail silently.
2002-04-02 09:21:48 +00:00
James Cox
7d5e529b55
"reverting" to 1.39 as per Tomas Cox's wishes.
2002-03-23 05:29:09 +00:00
Stig Bakken
60035fb949
* rename PEAR_CommandUI* to PEAR_Frontend*
...
* rename PEAR/Command/Login.php to PEAR/Command/Auth.php
* replace PEAR/Command/Info.php with PEAR/Command/Registry.php (will contain
more commands related to the local registry)
* started working on Frontend table output
2002-03-22 09:22:28 +00:00
Tomas V.V.Cox
9772468d37
- Make the rellocation of packages work as expected if the target
...
dir doesn't exist
- The "install -f" now replaces the info in the registry
2002-03-21 22:29:03 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Vincent Blavet
508b9eff57
* Packager : Changing the order of the files in the package archive file.
...
The package.xml file is now at the 'root' of the archive, the files tree are under a 'packagename'-'packageversion' folder
* Installer : installing the knew archive format AND supporting the existing format
2002-02-22 21:57:04 +00:00
Stig Bakken
6176cf5216
* "pear-get install Auth" works now
2002-02-13 01:40:18 +00:00
Vincent Blavet
06c98b477b
* Call the PEAR_Registry constructor with the optional parameter
2002-01-24 08:24:24 +00:00
Stig Bakken
7ab86afd32
* support "pear-get install XML_RPC"
2002-01-02 17:12:26 +00:00
Tomas V.V.Cox
a8f7a57e97
- Install files marked as "role=doc" in a central PEAR doc dir
...
(defaults to PHP_DATADIR/pear/doc/Package_name/)
- Store a new property of each installed file ['installed_as'] for
easy uninstall
2001-12-26 03:57:47 +00:00
Tomas V.V.Cox
1a451a98ba
Added dependencies check support for Installer
2001-12-17 21:11:50 +00:00
Stig Bakken
4adfb80edc
* implemented upgrade
2001-12-12 01:30:56 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Stig Bakken
131acf55f7
* added "register_only" option for install/uninstall
2001-12-11 08:39:01 +00:00
Stig Bakken
936923a3b6
* added fold marks, moved around some code and silenced some Archive_Tar
...
notices
2001-12-10 17:00:32 +00:00
Tomas V.V.Cox
15f0f8ae23
implemented "uninstall" command
2001-11-15 01:24:35 +00:00
Stig Bakken
79f0345166
* error message cleanup
...
* store registry object as property
2001-11-13 01:05:46 +00:00
Stig Bakken
f0df3f5f82
* added "pear info" and "pear show-config" commands
...
* "pear install" now using the package registry
2001-10-31 05:39:11 +00:00