Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Change description of skip_if_unavailable option #1358

Merged
merged 1 commit into from
May 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/api_conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ Configurable settings of the :class:`dnf.Base` object are stored into a :class:`

Number of times any attempt to retrieve a file should retry before returning an error. Setting this to `0` makes it try forever. Defaults to `10`.

.. attribute:: skip_if_unavailable

If enabled, DNF will continue running and disable the repository that couldn't be synchronized
for any reason. This option doesn't affect skipping of unavailable packages after dependency
resolution. The default is ``False``.

.. attribute:: sslcacert

Path to the directory or file containing the certificate authorities to verify SSL certificates.
Expand Down
4 changes: 3 additions & 1 deletion doc/api_repos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ Repository Configuration

.. attribute:: skip_if_unavailable

If enabled, DNF will continue running and disable the repository that couldn't be contacted for any reason when downloading metadata. This option doesn't affect skipping of unavailable packages after dependency resolution. The default is ``True``.
If enabled, DNF will continue running and disable the repository that couldn't be synchronized
for any reason. This option doesn't affect skipping of unavailable packages after dependency
resolution. The default is inherited from :attr:`dnf.conf.Conf.skip_if_unavailable`.

.. attribute:: sslcacert

Expand Down
17 changes: 10 additions & 7 deletions doc/conf_ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,6 @@ or :ref:`mirrorlist <mirrorlist-label>` option definition.

Overrides the retries option from the [main] section for this repository.

.. _skip_if_unavailable-label:

``skip_if_unavailable``
:ref:`boolean <boolean-label>`

If enabled, DNF will continue running and disable the repository that couldn't be contacted for any reason when downloading metadata. This option doesn't affect skipping of unavailable packages after dependency resolution. To check inaccessibility of repository use it in combination with :ref:`refresh command line option <refresh_command-label>`. The default is True.

.. _strict-label:

``strict``
Expand Down Expand Up @@ -544,6 +537,16 @@ configuration.

Set the number of times any attempt to retrieve a file should retry before returning an error. Setting this to `0` makes dnf try forever. Default is `10`.

.. _skip_if_unavailable-label:

``skip_if_unavailable``
:ref:`boolean <boolean-label>`

If enabled, DNF will continue running and disable the repository that couldn't be synchronized
for any reason. This option doesn't affect skipping of unavailable packages after dependency
resolution. To check inaccessibility of repository use it in combination with
:ref:`refresh command line option <refresh_command-label>`. The default is ``False``.

.. _sslcacert-label:

``sslcacert``
Expand Down