FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Migrate DB from release 3.6.0 to 3.7.0 with new obligation fixes. More...
Go to the source code of this file.
Functions | |
moveCandidateLicenseMap ($dbManager, $obPk, $verbose) | |
Move licenses from obligation map to obligation candidate map. More... | |
checkMigrate3637Required ($dbManager) | |
moveObligation ($dbManager, $verbose) | |
Get all obligations and move licenses. More... | |
migrateReuseValueForEnhanceWithMainLicense ($dbManager) | |
Migrate_36_37 ($dbManager, $verbose) | |
Migrate DB from release 3.6.0 to 3.7.0 with new obligation fixes.
Definition in file dbmigrate_3.6-3.7.php.
checkMigrate3637Required | ( | $dbManager | ) |
Check if migration is required.
DbManager | $dbManager |
Definition at line 77 of file dbmigrate_3.6-3.7.php.
Migrate_36_37 | ( | $dbManager, | |
$verbose | |||
) |
Migration from FOSSology 3.6.0 to 3.7.0
DbManager | $dbManager | |
boolean | $dryRun |
Definition at line 162 of file dbmigrate_3.6-3.7.php.
migrateReuseValueForEnhanceWithMainLicense | ( | $dbManager | ) |
Check if Reuse value needs to be changed.
DbManager | $dbManager |
Definition at line 132 of file dbmigrate_3.6-3.7.php.
moveCandidateLicenseMap | ( | $dbManager, | |
$obPk, | |||
$verbose | |||
) |
Move licenses from obligation map to obligation candidate map.
Remove licenses from obligation_map which are candidate license and add them to obligation_candidate_map.
DbManager | $dbManager | DB Manager to use |
integer | $obPk | Obligation ID |
boolean | $verbose | Set TRUE to print verbose message |
Definition at line 35 of file dbmigrate_3.6-3.7.php.
moveObligation | ( | $dbManager, | |
$verbose | |||
) |
Get all obligations and move licenses.
DbManager | $dbManager | |
boolean | $verbose |
Definition at line 113 of file dbmigrate_3.6-3.7.php.