We need to allow storing scancode-config.yml files in the scanned codebase and used when running a pipeline.
There are many small edge cases to support:
- when there multiple scancode-config.yml in multiple input archives (multiple "codebases")
- when there are multiple scancode-config.yml inside an input archive
- when there is a direct input scancode-config.yml and other scancode-config.yml in input archives
For now we should support only these cases:
- If there is a direct input scancode-config.yml file provided, it should be taken and have precedence and all other scancode-config.yml ignored.
- If there is a single archive input and it has a scancode-config.yml file at the root, it should be used
- If there are any other scancode-config.yml files elsewhere or more than one file in a single or multiple inputs, we should just report an error, and also in any other cases.
See also:
We need to allow storing scancode-config.yml files in the scanned codebase and used when running a pipeline.
There are many small edge cases to support:
For now we should support only these cases:
See also: