Tomas V.V.Cox
b5bf0fb154
Fix some minor issues with the parsing
2002-06-07 10:18:59 +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
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
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
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
Stig Bakken
a0b0ad161f
* drop package-info command (deprecated by "info")
2002-05-28 01:21:47 +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
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
94ca53c871
* fixed a bug in PEAR_Config::set() that broke validation of "set" parameters
2002-05-27 19:37:17 +00:00
Stig Bakken
a618f2cd8b
* fixes for php without zlib
2002-05-27 12:45:03 +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
8cd936095b
Make the error handling work again since the new internal command
...
structure
2002-05-26 19:08:21 +00:00
Stig Bakken
5819f202f9
* bold column headings
2002-05-26 17:48:40 +00:00
Tomas V.V.Cox
f2f69974e9
"Help" fixes
2002-05-26 17:37:52 +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
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
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
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
f19b566a40
* compat fix
2002-05-19 16:32:18 +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
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
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
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
625b9c5f88
Add "r" in cmd help
2002-05-12 16:31:30 +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
fddbd15554
* add "pear run-tests" command
2002-05-09 12:45:29 +00:00
Stig Bakken
dad70be69c
* show "update ok" after updates
2002-05-09 06:49:12 +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
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
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
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
Stig Bakken
e08fb72a0c
* implemented stub for XML_RPC fallback if xmlrpc-epi is not installed
2002-04-28 07:34:46 +00:00
Stig Bakken
03a52cd97c
* fix warning
2002-04-25 09:13:55 +00:00
Stig Bakken
3460eedfca
* add "_lastmodified" timestamp to registry files (don't trust filemtime)
2002-04-24 00:48:06 +00:00
Stig Bakken
31d02d2bb8
* make validator work again
2002-04-23 23:36:54 +00:00
Stig Bakken
722cd4fa17
* use PEAR_Common::downloadHttp()
2002-04-23 07:01:45 +00:00
Stig Bakken
e22ee6a085
* downloadHttp: pass the total number of bytes downloaded as parameter
...
to the 'done' callback
2002-04-23 06:49:10 +00:00
Stig Bakken
124c63b333
* moved these "class variables" to global variables and added static methods for getting
...
them: maintainer_roles, release_states, dependency_types, dependency_relations,
file_roles, replacement_types
* added downloadHttp method with status callback support (can be used by installers
to show download progress)
2002-04-23 06:28:44 +00:00
Martin Jansen
eb3c6e7a18
* Due to the recent changes in the installer stuff, the webinstaller
...
is not supported at the moment.
2002-04-22 09:11:06 +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
Tomas V.V.Cox
13f7ec4374
Bail on no HTTP.php present in the system
...
Let "pear download" act ala wget
2002-04-21 01:34:49 +00:00
Tomas V.V.Cox
929e8f81e3
typo
2002-04-21 01:32:03 +00:00
Stig Bakken
8fcdb67068
* add http_proxy config setting
2002-04-19 14:01:51 +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
Stig Bakken
021ed8a10b
* reintroduce (un)install -r option for Registeration only
2002-04-19 14:00:14 +00:00
Martin Jansen
ab54cc1e1b
* Add API documentation.
2002-04-18 18:04:06 +00:00
Stig Bakken
948106fd20
* doooh!
2002-04-17 08:22:56 +00:00
Stig Bakken
5d7b69f43e
* started working on analyzeSourceCode and detectDependencies methods
2002-04-16 13:27:42 +00:00
Stig Bakken
e32362f792
* chdir back to original dir in PEAR_Packager::package
...
* only display "cvstag" hint if CVS/Root exists
2002-04-16 05:01:41 +00:00
Tomas V.V.Cox
b339986c12
Added standar header
2002-04-16 00:44:03 +00:00
Tomas V.V.Cox
7325f1a4f0
Added standar header
2002-04-16 00:38:21 +00:00
Tomas V.V.Cox
8a365fd8a2
Vim tags added plus some other minor text about license and author
2002-04-16 00:31:16 +00:00
Tomas V.V.Cox
299849fbf2
Be more clear when no packages are installed
2002-04-16 00:23:32 +00:00
Tomas V.V.Cox
26e59d106c
Give the right error when wrong params given to package-info and
...
fix/add help some help messages
2002-04-16 00:22:55 +00:00
Markus Fischer
f95fbc4e60
- Do not try to draw a table if there are not elements.
...
# If no packages are installed, until now the output was:
#
# INSTALLED PACKAGES:
# ===================
# +
# +
#
# Now it is:
#
# INSTALLED PACKAGES:
# ===================
#
# Which is nicer IMHO. It think keeping the caption is ok.
2002-04-14 13:34:52 +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
Stig Bakken
d1814a3c12
* cvstag command: tag slide option is -f, not -F
2002-04-13 00:23:19 +00:00
Stig Bakken
8c0edb86b0
* missing file role message could be mistaken for missing maintainer role
2002-04-13 00:20:40 +00:00
Stig Bakken
5d09a5e199
* add cookie authentication to PEAR_Remote (temporarily in addition to http auth)
2002-04-13 00:13:37 +00:00
Tomas V.V.Cox
ca0b7690c8
Implemented "pear download <pakage>"
2002-04-10 15:15:12 +00:00
Tomas V.V.Cox
dfba9e63ab
Do not show the "tag it!" message when verbose=0
...
# Forgot to commit that before
2002-04-10 15:10:49 +00:00
Tomas V.V.Cox
a332c8c27b
Added single display()
2002-04-10 15:09:36 +00:00
Tomas V.V.Cox
f833895afd
Help for command "shell-test"
2002-04-10 12:40:06 +00:00
Tomas V.V.Cox
3788b31b0e
Added "pear package -n" (only output the created package file name)
2002-04-10 12:23:31 +00:00
Stig Bakken
49445bbee0
* ignore dirs and libfiles in older releases (changelog)
2002-04-09 22:30:44 +00:00
Stig Bakken
7e7676f8fb
* ignore files in older releases (changelog)
2002-04-09 21:48:19 +00:00
Stig Bakken
e91f94a259
* package-validate uses package.xml as default param
2002-04-09 17:15:17 +00:00