aboutcode-org / aboutcode-org/scancode-toolkit

Option to provide list of components to consolidate

Open
#2,064 0 comments 0 reactions 3 assignees Claimed by @pombr View on GitHub
new feature
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

## Short Description
One of the major challenges for consolidated components is to identify components for consolidation. A complementary approach would be to enhance the consolidation plugin to accept an input list of codebase directories (and component names?) that are the desired consolidation points.

## **How This Feature will help you/your organization**
During codebase analysis (beyond package-oriented analysis), an analyst/auditor will often have a pretty good top-down idea of which directories are good candidates for consolidation/summarisation based on initial review of the codebase. This enhancement would allow you to designate which directories are a good candidate for consolidation and would make it much easier for an auditor/analysis to validate or reject the candidate components with the automated collection of the file level data.

## **Possible Solution/Implementation Details**
This might be a list of dozens or more directories so it would make sense to pass the name of a simple input file to the plugin rather entering the directory names in the command line.

## **Example/Links if Any**
This issue is related to #1686.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.