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

Add docs for center2 #3893

Merged
merged 3 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Submit a pull request to include it in `conan-center-index`_.
...
...

.. _`conan-center`: https://center.conan.io
.. _`conan-center`: https://center2.conan.io
```

In case you want to use explicit external references with a link, make sure it doesn't exceed the maximum line length, otherwise it
Expand Down
17 changes: 17 additions & 0 deletions common/conancenter_frozen.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. note::

**Default Remote Update in Conan 2.9.2**

Starting from **Conan version 2.9.2**, the default remote has been changed to
`https://center2.conan.io`. The previous default remote `https://center.conan.io` is
now frozen and will no longer receive updates. It is recommended to update your remote
configuration to use the new default remote to ensure access to the latest recipes and
package updates (for more information, please read this `post
<https://blog.conan.io/2024/09/30/Conan-Center-will-stop-receiving-updates-for-Conan-1.html>`_).

If you still have the deprecated remote configured as the default, please update using
the following command:

.. code-block:: bash

conan remote update conancenter --url="https://center2.conan.io"
2 changes: 2 additions & 0 deletions devops/using_conancenter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Using ConanCenter packages in production environments
=====================================================

.. include:: ../common/conancenter_frozen.inc

ConanCenter is a fantastic resource that contains reference implementations of
recipes for over 1500 libraries and applications contributed by the community.
As such, it is a great knowledge base on how to create and build Conan packages
Expand Down
6 changes: 5 additions & 1 deletion reference/config_files/remotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ The default file created by Conan looks like this:
"remotes": [
{
"name": "conancenter",
"url": "https://center.conan.io",
"url": "https://center2.conan.io",
"verify_ssl": true
}
]
}


.. include:: ../../common/conancenter_frozen.inc


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:
Expand Down
2 changes: 2 additions & 0 deletions tutorial/conan_repositories/conan_center.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Contributing to Conan Center
============================

.. include:: ../../common/conancenter_frozen.inc

Contribution of packages to ConanCenter is done via pull requests to the Github repository
in https://github.com/conan-io/conan-center-index. The C3I (ConanCenter Continuous
Integration) service will build binaries automatically from those pull requests, and once
Expand Down