Skip to content

Commit

Permalink
doc: slight update of the package_state plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup authored and xsuchy committed Sep 3, 2024
1 parent 1e94a04 commit a294c98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/Plugin-PackageState.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Plugin PackageState
---

This plugin dumps out two lists of pkgs into result dir:
This plugin optionally dumps additional metadata files into the result dir:
* A list of all available pkgs + repos + other data. This file is named `available_pkgs.log`. This file is not created if you run mock with `--offline` option.
* A list of all installed pkgs + repos + other data. This file is name `installed_pkgs.log`.

Expand All @@ -13,11 +13,13 @@ Format of `installed_pkgs.log` file is:

## Configuration

The Package_state plugin is disabled and can be enabled by:
The Package_state plugin is enabled by default.

# in version 1.2.18 and older the default was False
config_opts['plugin_conf']['package_state_enable'] = True

The following sub-options may be turned off/on:

config_opts['plugin_conf']['package_state_opts'] = {}
config_opts['plugin_conf']['package_state_opts']['available_pkgs'] = False
config_opts['plugin_conf']['package_state_opts']['installed_pkgs'] = True

0 comments on commit a294c98

Please sign in to comment.