<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">We are planning to sync all repos everyday and would prefer the version doesn't increment if repo content are the same. Just wondering how we can compare the remote content with pulp repo content so we run sync only if the remote content is changed?<br><br>Thanks<br><div class="rte-style-maintainer" data-color="global-default"bbg-color="default" data-bb-font-size="medium" bbg-font-size="medium" style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);"><div><div class="bbg-rte-fold-content" data-header="From: daviddavis@redhat.com At: 10/24/19 05:47:56" data-digest="From: daviddavis@redhat.com At: 10/24/19 05:47:56" style=""><div class="bbg-rte-fold-summary">From: daviddavis@redhat.com At: 10/24/19 05:47:56</div>To: <a spellcheck="false" bbg-destination="mailto:bli111@bloomberg.net" href="mailto:bli111@bloomberg.net"> Bin Li (BLOOMBERG/ 120 PARK ) </a><br>Cc: <a spellcheck="false"bbg-destination="mailto:pulp-list@redhat.com" href="mailto:pulp-list@redhat.com"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] pulp3 repository version keep increasing</div><br></div><div class="rte-internet-block-wrapper" style="background: white; color: black; font-family: Arial, "BB.Proportional"; font-size: small; white-space: normal;"><div class="rte-internet-block"><blockquote><div dir="ltr">This is an expected behavior. See <a spellcheck="false"bbg-destination="rte:bind" class="" href="https://pulp.plan.io/issues/3308" data-destination="rte:bind">https://pulp.plan.io/issues/3308</a>. Feel free to comment with any thoughts you have.<br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>David<br></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2019 at 8:58 PM Bin Li (BLOOMBERG/ 120 PARK) <<a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:bli111@bloomberg.net" data-destination="mailto:rte:bind">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 style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; white-space: pre-wrap;">Any idea why repository version keep increasing even nothing was updated in the repo? I synced the repo from the same remote repo which always has the same content. The repo version increment every times I run sync. Below is output from version href. It shows nothing was added to repo and the total number of packages is the same. <div><br></div><div><br></div><div><br></div><div><br></div><div>  "results": [<div>        {</div><div>            "base_version": null, </div><div>            "content_summary": {</div><div>                "added": {}, </div><div>                "present": {</div><div>                    "rpm.package": {</div><div>                        "count": 819, </div><div>                        "href": "/pulp/api/v3/content/rpm/packages/?repository_version=/pulp/api/v3/repositories/7f1bc351-a1bd-4bf7-b7ee-0fc9fca592c7/versions/4/"</div><div>                    }</div><div>                }, </div><div>                "removed": {}</div><div>            }, </div><div>            "number": 4, </div><div>            "pulp_created": "2019-10-23T18:16:31.331868Z", </div><div>            "pulp_href": "/pulp/api/v3/repositories/7f1bc351-a1bd-4bf7-b7ee-0fc9fca592c7/versions/4/"</div><div>        }, </div><div>        {</div><div>            "base_version": null, </div><div>            "content_summary": {</div><div>                "added": {}, </div><div>                "present": {</div><div>                    "rpm.package": {</div><div>                        "count": 819, </div><div>                        "href": "/pulp/api/v3/content/rpm/packages/?repository_version=/pulp/api/v3/repositories/7f1bc351-a1bd-4bf7-b7ee-0fc9fca592c7/versions/3/"</div><div>                    }</div><div>                }, </div><div>                "removed": {}</div><div>            }, </div><div>            "number": 3, </div><div>            "pulp_created": "2019-10-23T18:15:24.285845Z", </div><div>            "pulp_href": "/pulp/api/v3/repositories/7f1bc351-a1bd-4bf7-b7ee-0fc9fca592c7/versions/3/"</div><div>        }, </div><div><br></div></div><div><br></div><div>Thanks</div></div>_______________________________________________<br>Pulp-list mailing list<br><a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:Pulp-list@redhat.com" data-destination="mailto:rte:bind">Pulp-list@redhat.com</a><br><a spellcheck="false"bbg-destination="rte:bind" class="" href="https://www.redhat.com/mailman/listinfo/pulp-list"data-destination="rte:bind">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></blockquote><br></div></div></div></div></body></html>