Skip to content

Commit

Permalink
docs: Mention the default locations in the configuration file docs
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@here.com>
  • Loading branch information
mnonnenmacher committed Sep 17, 2020
1 parent 18f7beb commit 225e8d9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docs/config-file-copyright-garbage-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ provides a way to clean up such errors across all scans.

## Command Line

To use the `copyright-garbage.yml` file pass it to the `--copyright-garbage-file` option of the _reporter_:
To use the `copyright-garbage.yml` file put it to `$ORT_CONFIG_DIR/copyright-garbage.yml` or pass it to the
`--copyright-garbage-file` option of the _reporter_:

```bash
cli/build/install/ort/bin/ort report
Expand Down
3 changes: 2 additions & 1 deletion docs/config-file-curations-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ The structure of the curations file consist of one or more `id` entries:
## Command Line
To use the `curations.yml` file pass it to the `--package-curations-file` option of the _analyzer_:
To use the `curations.yml` file put it to `$ORT_CONFIG_DIR/curations.yml` or pass it to the `--package-curations-file`
option of the _analyzer_:
```
cli/build/install/ort/bin/ort analyze
Expand Down
3 changes: 2 additions & 1 deletion docs/config-file-licenses-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Licenses can be assigned to license sets like "permissive" or "public domain" wh

## Command Line

To use the `licenses.yml` file pass it to the `--license-configuration-file` option of the _evaluator_:
To use the `licenses.yml` file put it to `$ORT_CONFIG_DIR/licenses.yml` or pass it to the `--license-configuration-file`
option of the _evaluator_:

```bash
cli/build/install/ort/bin/ort evaluate
Expand Down
5 changes: 3 additions & 2 deletions docs/config-file-package-configuration-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ Note that in both of the above options only one package configuration can exist

### Using a Package Configuration Directory

To use a directory with configuration files for each *package id*, pass it to the `--package-configuration-dir` option
of the _evaluator_:
By default, ORT uses a directory with configuration files for each *package id* located at
`$ORT_CONFIG_DIR/package-configurations/`. To use a custom location you can pass it to the `--package-configuration-dir`
option of the _evaluator_:

```bash
cli/build/install/ort/bin/ort evaluate
Expand Down
3 changes: 2 additions & 1 deletion docs/config-file-resolutions-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ rule_violations:

## Command Line

To use the `resolutions.yml` file pass it to the `--resolutions-file` option of the _reporter_:
To use the `resolutions.yml` file put it to `$ORT_CONFIG_DIR/resolutions.yml` or pass it to the `--resolutions-file`
option of the _reporter_:

```bash
cli/build/install/ort/bin/ort report
Expand Down
3 changes: 2 additions & 1 deletion docs/file-rules-kts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ example depends on the licenses categorizations defined in the [licenses.yml exa

## Command Line

To use the `rules.kts` file pass it to the `--rules-file` option of the _evaluator_:
To use the `rules.kts` file put it to `$ORT_CONFIG_DIR/rules.kts` or pass it to the `--rules-file` option of the
_evaluator_:

```bash
cli/build/install/ort/bin/ort evaluate \
Expand Down
4 changes: 2 additions & 2 deletions docs/how-to-fix-text-provider-kts.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ to create your custom how-to-fix messages in the generated reports.

## Command Line

To use the `how-to-fix-text-provider.kts` file and pass it to the `--how-to-fix-text-provider-script` option of the
_Reporter_:
To use the `how-to-fix-text-provider.kts` file put it to `$ORT_CONFIG_DIR/how-to-fix-text-provider.kts` or pass it to
the `--how-to-fix-text-provider-script` option of the _Reporter_:

```bash
cli/build/install/ort/bin/ort report
Expand Down

0 comments on commit 225e8d9

Please sign in to comment.