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 --allowed-packages to conan remote commands #3534

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Changes from all commits
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
62 changes: 39 additions & 23 deletions reference/commands/remote.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,32 @@ conan remote add

.. code-block:: text

$ conan remote add -h
usage: conan remote add [-h] [-v [V]] [--insecure] [--index INDEX] [-f] name url
$ conan remote add -h
usage: conan remote add [-h] [-v [V]] [-cc CORE_CONF] [--insecure]
[--index INDEX] [-f] [-ap [ALLOWED_PACKAGES ...]]
name url

Add a remote.

positional arguments:
name Name of the remote to add
url Url of the remote
name Name of the remote to add
url Url of the remote

options:
-h, --help show this help message and exit
-v [V] Level of detail of the output. Valid options from less verbose to more verbose:
-vquiet, -verror, -vwarning, -vnotice, -vstatus, -v or -vverbose, -vv or -vdebug, -vvv
or -vtrace
--insecure Allow insecure server connections when using SSL
--index INDEX Insert the remote at a specific position in the remote list
-f, --force Force the definition of the remote even if duplicated
-h, --help show this help message and exit
-v [V] Level of detail of the output. Valid options from less
verbose to more verbose: -vquiet, -verror, -vwarning,
-vnotice, -vstatus, -v or -vverbose, -vv or -vdebug,
-vvv or -vtrace
-cc CORE_CONF, --core-conf CORE_CONF
Global configuration for Conan
--insecure Allow insecure server connections when using SSL
--index INDEX Insert the remote at a specific position in the remote
list
-f, --force Force the definition of the remote even if duplicated
-ap [ALLOWED_PACKAGES ...], --allowed-packages [ALLOWED_PACKAGES ...]
Add recipe reference pattern to list of allowed
packages for this remote



Expand Down Expand Up @@ -296,25 +305,32 @@ conan remote update
.. code-block:: text

$ conan remote update -h
usage: conan remote update [-h] [-v [V]] [--url URL] [--secure]
[--insecure] [--index INDEX]
usage: conan remote update [-h] [-v [V]] [-cc CORE_CONF] [--url URL]
[--secure] [--insecure] [--index INDEX]
[-ap [ALLOWED_PACKAGES ...]]
remote

Update a remote.

positional arguments:
remote Name of the remote to update
remote Name of the remote to update

options:
-h, --help show this help message and exit
-v [V] Level of detail of the output. Valid options from less
verbose to more verbose: -vquiet, -verror, -vwarning,
-vnotice, -vstatus, -v or -vverbose, -vv or -vdebug, -vvv or
-vtrace
--url URL New url for the remote
--secure Don't allow insecure server connections when using SSL
--insecure Allow insecure server connections when using SSL
--index INDEX Insert the remote at a specific position in the remote list
-h, --help show this help message and exit
-v [V] Level of detail of the output. Valid options from less
verbose to more verbose: -vquiet, -verror, -vwarning,
-vnotice, -vstatus, -v or -vverbose, -vv or -vdebug,
-vvv or -vtrace
-cc CORE_CONF, --core-conf CORE_CONF
Global configuration for Conan
--url URL New url for the remote
--secure Don't allow insecure server connections when using SSL
--insecure Allow insecure server connections when using SSL
--index INDEX Insert the remote at a specific position in the remote
list
-ap [ALLOWED_PACKAGES ...], --allowed-packages [ALLOWED_PACKAGES ...]
Add recipe reference pattern to the list of allowed
packages for this remote


Read more
Expand Down