FOSSology  4.6.0
Open Source License Compliance by Open Source Software
dbmigrate_cmu-mach.php File Reference

Migrate duplicate CMU license entry to CMU-Mach. More...

Go to the source code of this file.

Functions

 Migrate_Cmu_Mach (DbManager $dbManager, $verbose=false)
 

Detailed Description

Migrate duplicate CMU license entry to CMU-Mach.

Historically, the reference license list contained two nearly identical entries: "CMU" and "CMU-Mach". SPDX only defines "CMU-Mach" (and MIT-CMU), but not a generic "CMU" license. This migration:

  • ensures the database contains only the CMU-Mach license entry
  • rewrites rf_fk references from CMU => CMU-Mach where applicable
  • updates stored report metadata where the standalone token "CMU" is used (without touching "MIT-CMU")

Definition in file dbmigrate_cmu-mach.php.

Function Documentation

◆ Migrate_Cmu_Mach()

Migrate_Cmu_Mach ( DbManager  $dbManager,
  $verbose = false 
)
Parameters
DbManager$dbManager
bool$verbose
Returns
void

Definition at line 28 of file dbmigrate_cmu-mach.php.