Skip to content

Commit

Permalink
Add docs for center2 (#3893)
Browse files Browse the repository at this point in the history
* add docs for center2

* add changelog

* fix changelog
  • Loading branch information
czoido authored Nov 7, 2024
1 parent 99f98cc commit e5da5db
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 3 deletions.
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
6 changes: 6 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/conan-io/conan/pull/17284>`_ . Docs `here <https://github.com/conan-io/docs/pull/3893>`__
- Bugfix: Fix ROSEnv quotes for CMAKE_TOOLCHAIN_FILE variable. `#17270 <https://github.com/conan-io/conan/pull/17270>`_

2.9.1 (30-Oct-2024)
-------------------

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: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")):
Expand Down
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

0 comments on commit e5da5db

Please sign in to comment.