From e5da5dbeb641497e8cb43fd5b716bee0120986cd Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 7 Nov 2024 12:40:12 +0100 Subject: [PATCH] Add docs for center2 (#3893) * add docs for center2 * add changelog * fix changelog --- README.md | 2 +- changelog.rst | 6 ++++++ common/conancenter_frozen.inc | 17 +++++++++++++++++ conf.py | 2 +- devops/using_conancenter.rst | 2 ++ reference/config_files/remotes.rst | 6 +++++- tutorial/conan_repositories/conan_center.rst | 2 ++ 7 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 common/conancenter_frozen.inc diff --git a/README.md b/README.md index 0e840ab11db0..2f6d06e75ec6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/changelog.rst b/changelog.rst index 31462c1eb093..03b5bf3f015a 100644 --- a/changelog.rst +++ b/changelog.rst @@ -3,6 +3,12 @@ Changelog For a more detailed description of the major changes that Conan 2 brings, compared with Conan 1.X, please read :ref:`whatsnew` +2.9.2 (07-Nov-2024) +------------------- + +- Feature: Use center2.conan.io as new default remote and warn about having the old one. `#17284 `_ . Docs `here `__ +- Bugfix: Fix ROSEnv quotes for CMAKE_TOOLCHAIN_FILE variable. `#17270 `_ + 2.9.1 (30-Oct-2024) ------------------- diff --git a/common/conancenter_frozen.inc b/common/conancenter_frozen.inc new file mode 100644 index 000000000000..2111b1524118 --- /dev/null +++ b/common/conancenter_frozen.inc @@ -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 + `_). + + 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" diff --git a/conf.py b/conf.py index 40458c3f6717..8194cd773c20 100644 --- a/conf.py +++ b/conf.py @@ -67,7 +67,7 @@ # The short X.Y version. version = "2.9" # The full version, including alpha/beta/rc tags. -release = u'2.9.1' +release = u'2.9.2' dir_path = os.path.dirname(os.path.realpath(__file__)) if not os.path.exists(os.path.join(dir_path, "versions.json")): diff --git a/devops/using_conancenter.rst b/devops/using_conancenter.rst index daf93f71eb4d..c67a5d44f393 100644 --- a/devops/using_conancenter.rst +++ b/devops/using_conancenter.rst @@ -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 diff --git a/reference/config_files/remotes.rst b/reference/config_files/remotes.rst index 524077ff024e..845f3b71f2bc 100644 --- a/reference/config_files/remotes.rst +++ b/reference/config_files/remotes.rst @@ -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: diff --git a/tutorial/conan_repositories/conan_center.rst b/tutorial/conan_repositories/conan_center.rst index 75bbf167a63e..1477f39103b8 100644 --- a/tutorial/conan_repositories/conan_center.rst +++ b/tutorial/conan_repositories/conan_center.rst @@ -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