FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
prepare a system for source install testing. More...
Go to the source code of this file.
Classes | |
class | ConfigSys |
Functions | |
configFossology ($objRef) | |
Config fossology. More... | |
copyFiles ($files, $dest) | |
copyFiles, copy one or more files to the destination, throws exception if file is not copied. More... | |
configDebian ($osType, $osVersion) | |
config a debian based system to install fossology. More... | |
configYum ($objRef) | |
config redhat based system to install fossology. More... | |
Variables | |
global | $Debian |
global | $RedHat |
$debian = NULL | |
$redHat = NULL | |
$fedora = NULL | |
$ubuntu = NULL | |
$euid = posix_getuid() | |
if($euid !=0) | $distros = array() |
$f = exec('cat /etc/issue', $dist, $dRtn) | |
prepare a system for source install testing.
srcConfig prepares a system for the installation of fossology from source
Definition in file srcConfig.php.
configDebian | ( | $osType, | |
$osVersion | |||
) |
config a debian based system to install fossology.
copy postgres, php config files so that fossology can run.
string | $osType | either Debian or Ubuntu |
string | $osVersion | the particular version to install |
Definition at line 429 of file srcConfig.php.
configFossology | ( | $objRef | ) |
Config fossology.
object | $objRef | an object reference (should be to ConfigSys) |
Definition at line 271 of file srcConfig.php.
configYum | ( | $objRef | ) |
config redhat based system to install fossology.
Copies the Yum configuration file for fossology to
object | $objRef,a | reference to the ConfigSys object |
Definition at line 479 of file srcConfig.php.
copyFiles | ( | $files, | |
$dest | |||
) |
copyFiles, copy one or more files to the destination, throws exception if file is not copied.
The method can be used to rename a single file, but not a directory. It cannot rename multiple files.
mixed | $files | the files to copy (string), use an array for multiple files. |
string | $dest | the destination path (must exist, must be writable). |
@retrun boolean
Definition at line 356 of file srcConfig.php.