Skip to content

Commit

Permalink
package state docs
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Aug 28, 2024
1 parent 9c62d88 commit 48d94e0
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 48d94e0

Please sign in to comment.