Commit Graph

60 Commits

Author SHA1 Message Date
Stig Bakken
2034c61557 * _infoFromAny goes public! 2002-05-20 10:45:23 +00:00
Tomas V.V.Cox
3716f28350 Fix small bug making the baseinstalldir attrib persist 2002-05-20 01:17:09 +00:00
Tomas V.V.Cox
fd5b0fb50a make downloadHttp() detect HTTP errors 2002-05-15 11:23:01 +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
123a668fb5 * package.dtd: version 1.0b7
- added <provides> element
  - added <script> element
2002-04-28 07:52:00 +00:00
Stig Bakken
31d02d2bb8 * make validator work again 2002-04-23 23:36:54 +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
Tomas V.V.Cox
929e8f81e3 typo 2002-04-21 01:32:03 +00:00
Stig Bakken
5d7b69f43e * started working on analyzeSourceCode and detectDependencies methods 2002-04-16 13:27:42 +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
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
2dc974d72d * drop file replace= attribute 2002-04-09 08:17:49 +00:00
Stig Bakken
894cbdf3d2 * implemented role="script" and <replace> substitution during install 2002-04-09 08:10:12 +00:00
Tomas V.V.Cox
6ac6b78818 Added PEAR_Common::getUserRoles() and a suggestion 2002-04-07 20:47:04 +00:00
Stig Bakken
255bbff361 * leave error reporting to the validator 2002-04-07 15:49:23 +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
de1f6319ec * forgot htmlspecialchars in release notes 2002-04-06 00:58:22 +00:00
Stig Bakken
f8fc50b922 * add Frontend support to PEAR_Common::log() 2002-04-02 09:21:08 +00:00
Tomas V.V.Cox
460eb1103c E_ALL fix 2002-03-31 19:04:53 +00:00
Stig Bakken
561ac3d54e * E_ALL fix 2002-03-31 03:16:02 +00:00
Stig Bakken
adc0b5741e * fix tempfile cleanup 2002-03-29 00:05:55 +00:00
Stig Bakken
a50c40cc24 * accept optional tmpdir arg in mkTempDir
* handle changelog releases without filelist
2002-03-28 23:44:31 +00:00
Stig Bakken
78c020a3bb * added phpdoc
* now ready to support multiple versions of the package format
* don't parse dependencies in changelog
* fix libfile parsing
* default maintainer roles to 'lead'
* added infoFromString() method
* added xmlFromInfo() method to regenerate package.xml files
2002-03-28 14:07:33 +00:00
Stig Bakken
ed16ccb275 * support having a toplevel package.xml in tgz files 2002-03-23 10:17:39 +00:00
Tomas V.V.Cox
a974fbd9ae fix a problem handling nested directories 2002-03-21 19:12:49 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Tomas V.V.Cox
a5c0adc9fe Now System will return false on fail 2002-02-10 17:23:04 +00:00
Stig Bakken
a33fd65b12 * silence warning 2002-01-30 12:18:10 +00:00
Tomas V.V.Cox
6b0ac4420c - Rewrote infoFromTgzFile() (Stig, no more "pedantic" :-)
- Added <description> tag for package.xml
- Temporal fix arround php bug #14744 and temp files cleaning
2001-12-28 19:27:08 +00:00
Tomas V.V.Cox
bc7bc41e6f switch to use the xml end tag function for correct handling
of multiline tag contents
2001-12-27 11:10:56 +00:00
Tomas V.V.Cox
bda81affd2 added the <license> tag under <release> for the package.xml file 2001-12-23 21:32:09 +00:00
Stig Bakken
9c3b983a35 * add "pedantic" mode in infoFromTgzFile and skip some checks if not
pedantic
2001-12-22 04:42:12 +00:00
Tomas V.V.Cox
2816eafc06 ensure correct package names and versions in the xml parser 2001-12-17 21:10:11 +00:00
Tomas V.V.Cox
a919c54de1 added support for <deps> and <dep> tags 2001-12-16 16:21:35 +00:00
Tomas V.V.Cox
e2a5cf3fcb use the System class for mkDirHier() and mkTempDir() 2001-12-16 15:14:00 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Tomas V.V.Cox
16f8af514f E_ALL fixes 2001-11-06 00:22:18 +00:00
Stig Bakken
3a97065f87 * disable case-folding in the xml parser (for consistency now that the
DTD is all lowercase)
2001-10-30 12:29:55 +00:00
Stig Bakken
4fc273adda ws 2001-10-30 12:19:36 +00:00
Stig Bakken
f8055473a4 * moved System.php out of Experimental/ 2001-10-29 12:15:53 +00:00
Tomas V.V.Cox
692d30b7be fix a problem with the propagation of baseinstalldir and role 2001-10-10 18:42:23 +00:00
Tomas V.V.Cox
d557151ce7 more clean up/fixes 2001-10-09 02:56:33 +00:00
Tomas V.V.Cox
5f5bbfd3f3 added mkTempDir to create temporal directories 2001-10-08 06:10:54 +00:00
Tomas V.V.Cox
fb487bc38d detect and report error 2001-10-08 03:31:14 +00:00
Tomas V.V.Cox
b46e7d76b4 use the new System class for common file opperations 2001-10-07 20:14:11 +00:00
Tomas V.V.Cox
e3e28c8f59 extract only the package.xml file instead of all files 2001-09-29 00:38:24 +00:00
Tomas V.V.Cox
15ac0567f9 implemented infoFromTgzFile() 2001-09-28 00:55:16 +00:00
Stig Bakken
f12896d23b * hopefully the only changes required for the initials->user rename 2001-09-04 03:34:59 +00:00