The copyright-garbage.yml
file allows to define which Copyright statements are to be considered as garbage, like any
invalid findings from a scanner. This can be done by literal strings or regular expression patterns. The evaluator and
reporter take the file as optional input. See the copyright-garbage.yml example
as a base to get started.
Either create a file at the default location at $ORT_CONFIG_DIR/copyright-garbage.yml
, or pass a custom file via the
--copyright-garbage-file
option of the evaluator or reporter. For example:
cli/build/install/ort/bin/ort report
-i [evaluator-output-dir]/evaluation-result.yml
-o [reporter-output-dir]
--report-formats PlainTextTemplate,StaticHtml,WebApp
--copyright-garbage-file $ORT_CONFIG_DIR/copyright-garbage.yml