Compare files in the current upload against their counterparts from the reused upload source. Shows histogram, diff tree, and license comparison similar to the Enhanced Reuse view.
More...
|
|
const | NAME = "reusecompare" |
| |
|
const | PERMISSION = "permission" |
| |
|
const | REQUIRES_LOGIN = "requiresLogin" |
| |
|
const | ENABLE_MENU = "ENABLE_MENU" |
| |
|
const | LEVEL = "level" |
| |
|
const | DEPENDENCIES = "dependencies" |
| |
|
const | INIT_ORDER = "initOrder" |
| |
|
const | MENU_LIST = "menuList" |
| |
|
const | MENU_ORDER = "menuOrder" |
| |
|
const | MENU_TARGET = "menuTarget" |
| |
|
const | TITLE = "title" |
| |
|
| $fileLogger |
| |
|
| | buildDiffRow ($child1, $child2, $uploadId, $reuseUploadId, $tableName, $reuseTableName, $uri) |
| |
| | batchGetLicensesForUpload ($uploadFk, $lft, $rgt, $tableName) |
| |
| | getAllNonArtifactDescendants ($itemRow, $tableName) |
| |
|
|
| $container |
| |
|
| $renderer |
| |
|
| $microMenu |
| |
Compare files in the current upload against their counterparts from the reused upload source. Shows histogram, diff tree, and license comparison similar to the Enhanced Reuse view.
Definition at line 29 of file ReuseComparePlugin.php.
◆ batchGetLicensesForUpload()
| Fossology\Reuser\ReuseComparePlugin::batchGetLicensesForUpload |
( |
|
$uploadFk, |
|
|
|
$lft, |
|
|
|
$rgt, |
|
|
|
$tableName |
|
) |
| |
|
private |
Get licenses for all files within an upload tree boundary via subquery.
Definition at line 322 of file ReuseComparePlugin.php.
◆ buildDiffRow()
| Fossology\Reuser\ReuseComparePlugin::buildDiffRow |
( |
|
$child1, |
|
|
|
$child2, |
|
|
|
$uploadId, |
|
|
|
$reuseUploadId, |
|
|
|
$tableName, |
|
|
|
$reuseTableName, |
|
|
|
$uri |
|
) |
| |
|
private |
◆ getAllNonArtifactDescendants()
| Fossology\Reuser\ReuseComparePlugin::getAllNonArtifactDescendants |
( |
|
$itemRow, |
|
|
|
$tableName |
|
) |
| |
|
private |
Recursively get all non-artifact descendant files under an upload tree node using the lft/rgt nested-set range. Returns rows in the same format as GetNonArtifactChildren (uploadtree + pfile columns).
- Parameters
-
| array | $itemRow | Row from uploadtree table (must have lft, rgt, uploadtree_pk, upload_fk) |
| string | $tableName | |
- Returns
- array
Definition at line 359 of file ReuseComparePlugin.php.
◆ handle()
| Fossology\Reuser\ReuseComparePlugin::handle |
( |
Request |
$request | ) |
|
|
protected |
The documentation for this class was generated from the following file: