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] Improve "proxy" configuration option documentation (RhBug:2072332) #1824

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

jrohel
Copy link
Contributor

@jrohel jrohel commented Apr 12, 2022

No description provided.

Copy link
Contributor

@lukash lukash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of very small nitpicks.

@@ -955,10 +955,10 @@ configuration.
``proxy``
:ref:`string <string-label>`

URL of a proxy server to connect through. Set to an empty string to disable the proxy setting inherited from the main section and use direct connection instead. The expected format of this option is ``<scheme>://<ip-or-hostname>[:port]``.
URL of a proxy server to connect through. Set to an empty string in the repository configuration to disable proxy setting inherited from the main section. The expected format of this option is ``<scheme>://<ip-or-hostname>[:port]``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better without "the" here but it's also fine the way it is:

... in repository configuration ...

(For backward compatibility, '_none_' can be used instead of the empty string.)

Note: The curl environment variables (such as ``http_proxy``) are effective if this option is unset. See the ``curl`` man page for details.
Note: The curl environment variables (such as ``http_proxy``) are effective if this option is unset (or '_none_' is set in the repository configuration). See the ``curl`` man page for details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove the paretheses but again it's just fine the way it is:

... is unset or 'none' is set in the repository configuration.

@mcurlej
Copy link
Member

mcurlej commented Apr 25, 2022

+1

@jrohel jrohel merged commit 1a457ce into rpm-software-management:master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants