Skip to content

Add ability to "exclude" path in the check and inventory #583

@tdruez

Description

@tdruez

Currently, I have to run 3 commands for my check process because I do not want to check on my tests/ directory that contains invalid ABOUT file (for testing purposes).

about check etc/thirdparty/
about check scancodeio/
about check scanpipe/

Instead, I would like to run the check on my whole repo codebase with the ability to exclude certain path or path patterns:

about check --exclude scanpipe/tests/ .

This would be much simpler and also ensure that we do not miss any directory.


The same issue applies to the inventory command, I need to generate a single inventory but I want to exclude the test files, such as:

about inventory --exclude scanpipe/tests/ .

Note that multiple --exclude could be provided, those could be exact directory or directory patterns, such as */tests/*

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions