Skip to content

Commit

Permalink
Documentation for upload with --parallel option (#1250)
Browse files Browse the repository at this point in the history
* add parallel argument to conan upload

* change doc line

* document forcing to non_interactive with parallel

* Update upload.rst
  • Loading branch information
czoido committed Nov 26, 2019
1 parent b8cb01c commit 5aaffb2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions reference/commands/creator/upload.rst
Expand Up @@ -9,6 +9,7 @@ conan upload
$ conan upload [-h] [-p PACKAGE] [-q QUERY] [-r REMOTE] [--all]
[--skip-upload] [--force] [--check] [-c] [--retry RETRY]
[--retry-wait RETRY_WAIT] [-no [{all,recipe}]] [-j JSON]
[--parallel]
pattern_or_reference
Uploads a recipe and binary packages to a remote.
Expand Down Expand Up @@ -52,6 +53,8 @@ If no remote is specified, the first configured remote (by default conan-center,
remote one
-j JSON, --json JSON json file path where the upload information will be
written to
--parallel Uploads in parallel using multiple threads
The default number of launched threads is 8
**Examples**:
Expand Down Expand Up @@ -106,3 +109,13 @@ Upload packages without overwriting the recipe if the packages have changed:
.. code-block:: bash
$ conan upload OpenCV/1.4.0@lasote/stable --all --no-overwrite recipe
Upload packages using multiple threads without requiring confirmation to my_remote:
.. code-block:: bash
$ conan upload "*" --confirm --parallel -r my_remote
.. warning::
Note that :ref:`non_interactive mode<conan_conf>` will be forced to `true` when using parallel upload

0 comments on commit 5aaffb2

Please sign in to comment.