[zi-cvs] packages/com.zzoss.installer.lib Registry.php,1.1,1.2 Utils.php,1.1,1.2 package.xml,1.1,1.2 FileReplace.php,1.1,NONE
[email protected] Sun, 04 Jan 2004 05:26:57 -0800
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib
In directory sc8-pr-cvs1:/tmp/cvs-serv29252/com.zzoss.installer.lib
Modified Files:
Registry.php Utils.php package.xml
Removed Files:
FileReplace.php
Log Message:
development applications can now also be installed
Index: Registry.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Registry.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Registry.php 22 Dec 2003 17:14:04 -0000 1.1
--- Registry.php 4 Jan 2004 13:26:55 -0000 1.2
***************
*** 1231,1235 ****
$this->setApplication($application);
}
!
// compose array with available packages
if(!(
--- 1231,1235 ----
$this->setApplication($application);
}
! /*
// compose array with available packages
if(!(
***************
*** 1240,1244 ****
return false;
}
!
if(ZZOSS_INSTALLER_REGISTRY_DEBUG){
ZZOSS_Debug::log('ZZOSS_Registry', 'Start refreshing packages.', __FILE__, __LINE__, __FUNCTION__, __CLASS__);
--- 1240,1244 ----
return false;
}
! */
if(ZZOSS_INSTALLER_REGISTRY_DEBUG){
ZZOSS_Debug::log('ZZOSS_Registry', 'Start refreshing packages.', __FILE__, __LINE__, __FUNCTION__, __CLASS__);
***************
*** 1260,1264 ****
$count = 0;
$package_sources = array();
!
$application_settings = $this->getApplicationSettings();
if(is_array($application_settings["additional_sources"]) &&
--- 1260,1264 ----
$count = 0;
$package_sources = array();
! /*
$application_settings = $this->getApplicationSettings();
if(is_array($application_settings["additional_sources"]) &&
***************
*** 1266,1269 ****
--- 1266,1270 ----
$package_sources = $application_settings["additional_sources"];
}
+ */
$package_sources[] =$this->application_path.'packages'.DIRECTORY_SEPARATOR;
***************
*** 1275,1278 ****
--- 1276,1280 ----
$dir = $sourcedir.$entry.DIRECTORY_SEPARATOR;
$file = $dir.'package.xml';
+
if(ZZOSS_INSTALLER_REGISTRY_DEBUG){
ZZOSS_Debug::log('ZZOSS_Registry', '$entry = '.$entry, __FILE__, __LINE__, __FUNCTION__, __CLASS__);
Index: Utils.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Utils.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Utils.php 22 Dec 2003 17:14:04 -0000 1.1
--- Utils.php 4 Jan 2004 13:26:55 -0000 1.2
***************
*** 228,232 ****
@unlink($dest);
}
! $dest_dir = dirname($dest);
include_once 'PEAR/Common.php';
//$callback = array('ZZOSS_InstallerUtils');
--- 228,235 ----
@unlink($dest);
}
! $dest_dir = $dest;
! if(!is_dir($dest)){
! $dest_dir = dirname($dest);
! }
include_once 'PEAR/Common.php';
//$callback = array('ZZOSS_InstallerUtils');
***************
*** 244,250 ****
return $result;
}
-
- function saveas()
- {}
// {{{ downloadHttp()
--- 247,250 ----
Index: package.xml
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/package.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** package.xml 22 Dec 2003 17:14:04 -0000 1.1
--- package.xml 4 Jan 2004 13:26:55 -0000 1.2
***************
*** 20,34 ****
</maintainers>
<release>
! <version>1.0</version>
<date>{zi_release_date}</date>
<license url="http://www.gnu.org/licenses/lgpl.txt" version="2">LGPL</license>
<state>stable</state>
! <notes>Initial release.</notes>
<copyright>
! <holder year="{zi_copyright_year}" url="http://www.zzoss.com">ZZ/OSS</holder>
</copyright>
<filelist>
<file role="php" baseinstalldir="ZZOSS_Installer" name="ConfigInput.php"/>
- <file role="php" baseinstalldir="ZZOSS_Installer" name="FileReplace.php"/>
<file role="php" baseinstalldir="ZZOSS_Installer" name="Registry.php"/>
<file role="php" baseinstalldir="ZZOSS_Installer" name="Setup.php"/>
--- 20,38 ----
</maintainers>
<release>
! <version>1.0.1</version>
<date>{zi_release_date}</date>
<license url="http://www.gnu.org/licenses/lgpl.txt" version="2">LGPL</license>
<state>stable</state>
! <notes>
! <![CDATA[
! - moved FileReplace.php to separate package com.zzoss.filereplace.lib
! - fixed bug in ZZOSS_InstallerUtils::dowlnoadFile() which mistakedly chopped of last directory from a path
! ]]>
! </notes>
<copyright>
! <holder year="2003-{zi_copyright_year}" url="http://www.zzoss.com">ZZ/OSS</holder>
</copyright>
<filelist>
<file role="php" baseinstalldir="ZZOSS_Installer" name="ConfigInput.php"/>
<file role="php" baseinstalldir="ZZOSS_Installer" name="Registry.php"/>
<file role="php" baseinstalldir="ZZOSS_Installer" name="Setup.php"/>
***************
*** 45,47 ****
--- 49,63 ----
</deps>
</release>
+ <changelog>
+ <release>
+ <version>1.0</version>
+ <date>2003-12-18</date>
+ <license url="http://www.gnu.org/licenses/lgpl.txt" version="2">LGPL</license>
+ <state>stable</state>
+ <notes>Initial release.</notes>
+ <copyright>
+ <holder year="2003" url="http://www.zzoss.com">ZZ/OSS</holder>
+ </copyright>
+ </release>
+ </changelog>
</package>
--- FileReplace.php DELETED ---
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click