Skip to content

Commit

Permalink
Added documentation clarification around how checksum_types work duri…
Browse files Browse the repository at this point in the history
…ng the Publication.

closes #7203
https://pulp.plan.io/issues/7203
  • Loading branch information
ipanova committed Oct 20, 2020
1 parent 8b0627d commit 7105778
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/7203.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added documentation clarification around how checksum_types work during the Publication.
4 changes: 4 additions & 0 deletions docs/workflows/create_sync_publish.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,12 @@ Create a Publication
A publication can only be created once a sync task completes. You can specify checksum algorithm with the following optional parameters:

- metadata_checksum_type: affects all the repodata, including primary.xml, repomd.xml, etc.
If not specified, the default SHA256 algorithm will be used.

- package_checksum_type: affects package checksum type in all repo metadata files.
If not specified, the default SHA256 algorithm will be used.
Because of on_demand sync, it is possible that the requested checksum is not available.
In such case the one from the remote repo will be used.

.. literalinclude:: ../_scripts/publication.sh
:language: bash
Expand Down

0 comments on commit 7105778

Please sign in to comment.