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

Remove conan-center default remote #2212

Merged
merged 3 commits into from Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions mastering/virtualenv.rst
Expand Up @@ -28,12 +28,11 @@ variables declared in the ``package_info()`` method and generate two scripts "ac

The recipe of ``cmake/3.16.3`` appends to the PATH variable the package folder/bin.

You can check existing CMake conan package versions in conan-center with:
You can check existing CMake Conan package versions in `conancenter` with:

.. code-block:: bash

$ conan search cmake* -r=conan-center

$ conan search cmake* -r=conancenter

In the **bin** folder there is a **cmake** executable:

Expand Down
4 changes: 2 additions & 2 deletions reference/commands/consumer/get.rst
Expand Up @@ -36,7 +36,7 @@ Gets a file or list a directory of a given reference or package.

.. code-block:: bash

$ conan get zlib/1.2.8@ -r conan-center
$ conan get zlib/1.2.8@ -r conancenter


- List the files for a local package recipe:
Expand Down Expand Up @@ -81,7 +81,7 @@ Gets a file or list a directory of a given reference or package.

.. code-block:: bash

$ conan get zlib/1.2.11@:2144f833c251030c3cfd61c4354ae0e38607a909 . -r conan-center
$ conan get zlib/1.2.11@:ff82a1e70ba8430648a79986385b20a3648f8c19 . -r conancenter

Listing directory '.':
conan_package.tgz
Expand Down
4 changes: 2 additions & 2 deletions reference/commands/consumer/search.rst
Expand Up @@ -56,7 +56,7 @@ Examples
.. code-block:: bash

$ conan search "zlib/*"
$ conan search "zlib/*" -r=conan-center
$ conan search "zlib/*" -r=conancenter

To search for recipes in all defined remotes use :command:`-r all` (this is only valid for searching recipes, not binaries):

Expand Down Expand Up @@ -118,7 +118,7 @@ You can generate a table for all binaries from a given recipe with the :command:

.. code-block:: bash

$ conan search jinja2cpp/1.1.0@ --table=file.html -r=conan-center
$ conan search jinja2cpp/1.1.0@ --table=file.html -r=conancenter
$ file.html # or open the file, double-click

.. image:: /images/conan-search_binary_table.png
Expand Down
2 changes: 1 addition & 1 deletion reference/commands/misc/inspect.rst
Expand Up @@ -38,7 +38,7 @@ Examples:

.. code-block:: bash

$ conan inspect zlib/1.2.11@ -a=name -a=version -a=options -a default_options -r=conan-center
$ conan inspect zlib/1.2.11@ -a=name -a=version -a=options -a default_options -r=conancenter
name: zlib
version: 1.2.11
options
Expand Down
8 changes: 4 additions & 4 deletions reference/env_vars.rst
Expand Up @@ -288,11 +288,11 @@ These variables are useful for unattended executions like CI servers or automate

If the remote name contains "-" you have to replace it with "_" in the variable name:

For example: For a remote named "conan-center":
For example: For a remote named "conancenter":

.. code-block:: bash

SET CONAN_LOGIN_USERNAME_CONAN_CENTER=MyUser
SET CONAN_LOGIN_USERNAME_CONANCENTER=MyUser

.. seealso::

Expand Down Expand Up @@ -380,11 +380,11 @@ These variables are useful for unattended executions like CI servers or automate
The remote name is transformed to all uppercase. If the remote name contains "-",
you have to replace it with "_" in the variable name.

For example, for a remote named "conan-center":
For example, for a remote named "conancenter":

.. code-block:: bash

SET CONAN_PASSWORD_CONAN_CENTER=Mypassword
SET CONAN_PASSWORD_CONANCENTER=Mypassword

.. seealso::

Expand Down
15 changes: 8 additions & 7 deletions uploading_packages/remotes.rst
Expand Up @@ -55,21 +55,22 @@ To contribute packages to ConanCenter, read the :ref:`ConanCenter guide <conan_c
conan-center [deprecated]
-------------------------

**conan-center** was the official repository but is is no longer recommended. It is configured as the second default remote in the Conan
client to keep backwards compatibility:
**conan-center** was the official repository but is **no longer a default remote** in the Conan client and **its usage is completely
discouraged**. This documentation is kept here only for reference purposes.

.. code-block:: bash

$ conan-center: https://conan.bintray.com [Verify SSL: True]

It contains all the packages from the ConanCenter remote as well as **legacy packages with full reference** (`zlib/1.2.11@conan/stable`).
These package binaries were created by users in their own Bintray repositories and included in this main repository. This flow of
contributing packages to ConanCenter is no longer available and packages are **not recommended** and should be considered as **legacy**.
It contains all the packages that were uploaded to ConanCenter before July 1st (new packages are no longer uploaded to this remote),
as well as **legacy packages with full reference** (`zlib/1.2.11@conan/stable`). These package binaries were created by users in their own
Bintray repositories and included in this main repository. This flow of contributing packages to ConanCenter is no longer available and
packages are **not recommended** and should be considered as **legacy**.

.. important::

This remote contains packages that are no longer maintained and will be removed from Conan's default configuration soon. We strongly
encourage users to use `conancenter` and swift to the official package references without **user/channel**
This remote contains packages that are no longer maintained. We strongly encourage users to use `conancenter` and swift to the official
package references without **user/channel**
(`zlib/1.2.11@conan/stable` -> `zlib/1.2.11`).


Expand Down