zypper_repository

投稿日:

マニュアル

概要(リンクをクリックするとGoogle翻訳)

Add or remove Zypper repositories on SUSE and openSUSE

必要条件

  • zypper >= 1.0 # included in openSuSE >= 11.1 or SuSE Linux Enterprise Server/Desktop >= 11.0
  • python-xml

ステータス

プレビュー(preview)

オプション

パラメータ 選択肢/デフォルト コメント(リンクをクリックするとGoogle翻訳)
auto_import_keys
bool
2.2で追加
選択肢
  • no ←
  • yes
Automatically import the gpg signing key of the new or changed repository. Has an effect only if state is present. Has no effect on existing (unchanged) repositories or in combination with absent. Implies runrefresh. Only works with .repo files if `name` is given explicitly.
autorefresh
bool
選択肢
  • no
  • yes ←
Enable autorefresh of the repository.

別名: refresh
description
A description of the repository
disable_gpg_check
bool
選択肢
  • no ←
  • yes
Whether to disable GPG signature checking of all packages. Has an effect only if state is present. Needs zypper version >= 1.6.2.
enabled
bool
2.2で追加
選択肢
  • no
  • yes ←
Set repository to enabled (or disabled).
name
A name for the repository. Not required when adding repofiles.
overwrite_multiple
bool
2.1で追加
選択肢
  • no ←
  • yes
Overwrite multiple repository entries, if repositories with both name and URL already exist.
priority

2.1で追加
Set priority of repository. Packages will always be installed from the repository with the smallest priority number. Needs zypper version >= 1.12.25.
repo
URI of the repository or .repo file. Required when state=present.
runrefresh
bool
2.2で追加
選択肢
  • no ←
  • yes
Refresh the package list of the given repository. Can be used with repo=* to refresh all repositories.
state
選択肢
  • absent
  • present
A source string state.

ソースコード

packaging/os/zypper_repository.py