-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dev2] [Part 4] Configuration files: remotes.json (#2963)
* remotes and minor fixes * wip * improved * Removed MesonDeps conan-io/conan#13134
- Loading branch information
1 parent
77eb608
commit 807f3b3
Showing
7 changed files
with
50 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _reference_commands_list: | ||
|
||
conan list | ||
========== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. _reference_config_files_remotes_json: | ||
|
||
remotes.json | ||
============ | ||
|
||
The **remotes.json** file is located in the Conan user home directory, e.g., *[CONAN_HOME]/remotes.json*. | ||
|
||
The default file created by Conan looks like this: | ||
|
||
.. code-block:: json | ||
:caption: **remotes.json** | ||
{ | ||
"remotes": [ | ||
{ | ||
"name": "conancenter", | ||
"url": "https://center.conan.io", | ||
"verify_ssl": true | ||
} | ||
] | ||
} | ||
Essentially, it tells Conan where to list/upload/download the recipes/binaries from the remotes specified by their URLs. | ||
|
||
The fields for each remote are: | ||
|
||
* ``name`` (Required, ``string`` value): Name of the remote. This name will be used in commands | ||
like :ref:`reference_commands_list`, e.g., :command:`conan list zlib/1.2.11 --remote my_remote_name`. | ||
* ``url`` (Required, ``string`` value): indicates the URL to be used by Conan to search for the recipes/binaries. | ||
* ``verify_ssl`` (Required, ``bool`` value): Verify SSL certificate of the specified url. | ||
* ``disabled`` (Optional, ``bool`` value, ``false`` by default): If the remote is enabled or not to be used by commands | ||
like search, list, download and upload. Notice that a disabled remote can be used to authenticate against it even | ||
if it's disabled. | ||
|
||
|
||
.. seealso:: | ||
|
||
- :ref:`How to manage SSL (TLS) certificates <reference_config_files_global_conf_ssl_certificates>` | ||
- :ref:`How to manage remotes.json through CLI: conan remotes <reference_commands_remote>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,4 @@ conan.tools.meson | |
:maxdepth: 2 | ||
|
||
meson/mesontoolchain | ||
meson/mesondeps | ||
meson/meson |
This file was deleted.
Oops, something went wrong.