Skip to content

Commit e5da5db

Browse files
authored
Add docs for center2 (#3893)
* add docs for center2 * add changelog * fix changelog
1 parent 99f98cc commit e5da5db

File tree

7 files changed

+34
-3
lines changed

7 files changed

+34
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Submit a pull request to include it in `conan-center-index`_.
222222
...
223223
...
224224
225-
.. _`conan-center`: https://center.conan.io
225+
.. _`conan-center`: https://center2.conan.io
226226
```
227227

228228
In case you want to use explicit external references with a link, make sure it doesn't exceed the maximum line length, otherwise it

changelog.rst

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Changelog
33

44
For a more detailed description of the major changes that Conan 2 brings, compared with Conan 1.X, please read :ref:`whatsnew`
55

6+
2.9.2 (07-Nov-2024)
7+
-------------------
8+
9+
- Feature: Use center2.conan.io as new default remote and warn about having the old one. `#17284 <https://github.com/conan-io/conan/pull/17284>`_ . Docs `here <https://github.com/conan-io/docs/pull/3893>`__
10+
- Bugfix: Fix ROSEnv quotes for CMAKE_TOOLCHAIN_FILE variable. `#17270 <https://github.com/conan-io/conan/pull/17270>`_
11+
612
2.9.1 (30-Oct-2024)
713
-------------------
814

common/conancenter_frozen.inc

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. note::
2+
3+
**Default Remote Update in Conan 2.9.2**
4+
5+
Starting from **Conan version 2.9.2**, the default remote has been changed to
6+
`https://center2.conan.io`. The previous default remote `https://center.conan.io` is
7+
now frozen and will no longer receive updates. It is recommended to update your remote
8+
configuration to use the new default remote to ensure access to the latest recipes and
9+
package updates (for more information, please read this `post
10+
<https://blog.conan.io/2024/09/30/Conan-Center-will-stop-receiving-updates-for-Conan-1.html>`_).
11+
12+
If you still have the deprecated remote configured as the default, please update using
13+
the following command:
14+
15+
.. code-block:: bash
16+
17+
conan remote update conancenter --url="https://center2.conan.io"

conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
# The short X.Y version.
6868
version = "2.9"
6969
# The full version, including alpha/beta/rc tags.
70-
release = u'2.9.1'
70+
release = u'2.9.2'
7171

7272
dir_path = os.path.dirname(os.path.realpath(__file__))
7373
if not os.path.exists(os.path.join(dir_path, "versions.json")):

devops/using_conancenter.rst

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Using ConanCenter packages in production environments
44
=====================================================
55

6+
.. include:: ../common/conancenter_frozen.inc
7+
68
ConanCenter is a fantastic resource that contains reference implementations of
79
recipes for over 1500 libraries and applications contributed by the community.
810
As such, it is a great knowledge base on how to create and build Conan packages

reference/config_files/remotes.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ The default file created by Conan looks like this:
1414
"remotes": [
1515
{
1616
"name": "conancenter",
17-
"url": "https://center.conan.io",
17+
"url": "https://center2.conan.io",
1818
"verify_ssl": true
1919
}
2020
]
2121
}
2222
23+
24+
.. include:: ../../common/conancenter_frozen.inc
25+
26+
2327
Essentially, it tells Conan where to list/upload/download the recipes/binaries from the remotes specified by their URLs.
2428

2529
The fields for each remote are:

tutorial/conan_repositories/conan_center.rst

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Contributing to Conan Center
44
============================
55

6+
.. include:: ../../common/conancenter_frozen.inc
7+
68
Contribution of packages to ConanCenter is done via pull requests to the Github repository
79
in https://github.com/conan-io/conan-center-index. The C3I (ConanCenter Continuous
810
Integration) service will build binaries automatically from those pull requests, and once

0 commit comments

Comments
 (0)