-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #335 from Gdetrane/add-copy-repo-to-docs
Add docs page for copy-repo [RHELDST-28512]
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
copy-repo | ||
========= | ||
|
||
.. argparse:: | ||
:module: pubtools._pulp.tasks.copy_repo | ||
:func: doc_parser | ||
:prog: pubtools-pulp-copy-repo | ||
|
||
|
||
Examples | ||
........ | ||
|
||
Copy content from one repository to another: | ||
|
||
.. code-block:: | ||
pubtools-pulp-copy-repo \ | ||
--content-type rpm,srpm \ | ||
repo-A,repo-B | ||
This command copies RPM and SRPM content from repository `repo-A` to `repo-B`. | ||
If the user provides a non existing repo, the command fails. | ||
|
||
Provide multiple repository pairs to copy them in one command: | ||
|
||
.. code-block:: | ||
pubtools-pulp-copy-repo \ | ||
--content-type iso \ | ||
repo-1,repo-2 repo-3,repo-4 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters