Skip to content

Support storing scancode-config.yml files in the scanned codebase #1236

Description

@pombredanne

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:

  1. 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.
  2. If there is a single archive input and it has a scancode-config.yml file at the root, it should be used
  3. 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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions