<div dir="ltr"><div>I suspect that you have 'mirror' = True in your 'sync' request[0]. With this option set to True, the sync creates an exact copy of the remote repository. If no packages are found, a new version is created without any packages. When a subsequent sync occurs, no changes are detected, so a new version is not created. <br></div><div><br></div><div>[0] <a href="https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/repositories_rpm_rpm_sync">https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/repositories_rpm_rpm_sync</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 31, 2020 at 3:12 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">We created a rpm repos on artifactory and sync the repo to pulp 3.3. All packages are synced to pulp as version 1.  If we run sync again, pulp could not find any packages and remove all previous packages in version 2. Subsequent sync also could not find any packages and the repo  version stay as version 2. So far we only experience the issue when syncing from artifactory. Please advise.<div><br></div><div>Thanks</div></div></div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>