Skip to content
Permalink
Browse files

Improve the help text for mirrored sync

Be clear that mirror=True is destructive, and remove the unnecessary
stub for mirroring.

https://pulp.plan.io/issues/4341

fixes #4341
  • Loading branch information
asmacdo committed Apr 24, 2019
1 parent 76de5bd commit c6ca9f60c63b85e41b2aab6b6ec909d9bfe1964c
Showing with 2 additions and 4 deletions.
  1. +0 −1 docs/workflows/index.rst
  2. +0 −2 docs/workflows/mirroring.rst
  3. +2 −1 pulpcore/app/serializers/repository.py
@@ -12,6 +12,5 @@ assumes that the reader is familiar with the fundamentals discussed in the :doc:

upload-publish
lazy-downloading
mirroring
promotion
scheduling-tasks

This file was deleted.

@@ -140,7 +140,8 @@ class RepositorySyncURLSerializer(serializers.Serializer):
mirror = fields.BooleanField(
required=False,
default=False,
help_text=_('The synchronization mode, True for "mirror" and False for "additive" mode.')
help_text=_('If ``True``, synchronization will remove all content that is not present in '
'the remote repository. If ``False``, sync will be additive only.')
)


0 comments on commit c6ca9f6

Please sign in to comment.
You can’t perform that action at this time.