Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a7f5d69

Browse files
conan config install-pkg --url remote name (#4281)
1 parent 2fd8055 commit a7f5d69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎reference/commands/config.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ or it can download from a Conan remote directly specifying the repository URL:
167167
$ conan config install-pkg myconf/version --url=<url/conan/remote/repo>
168168
169169
170+
When specifying the ``--url`` argument, a Conan remote named ``config_install_url`` is created on the fly.
171+
That means that if authentication is desired via env-vars, the env-var names will be ``CONAN_LOGIN_USERNAME_CONFIG_INSTALL_URL``
172+
or ``CONAN_PASSWORD_CONFIG_INSTALL_URL``.
173+
170174
Conan configuration packages can also be parameterized depending on profiles, settings and options.
171175
For example, if some organization would like to manage their configuration slightly differently for Windows and other platforms they could do:
172176

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /