https://pulp.plan.io/https://pulp.plan.io/favicon.ico2017-02-24T15:26:54ZPulpDocker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=182062017-02-24T15:26:54Zmhrivnakmhrivnak@redhat.com
<ul><li><strong>Tracker</strong> changed from <i>Issue</i> to <i>Story</i></li><li><strong>% Done</strong> set to <i>0</i></li></ul> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=195642017-05-09T14:52:14Zbmbouterbmbouter@redhat.com
<ul></ul><p>How will the feature be enabled? Is it an importer option? What will the option be named?</p> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=195652017-05-09T14:54:42Ztomckay@redhat.comtomckay@redhat.com
<ul></ul><p>I assume the feature would be exactly equivalent to the RPM feature. Are there differences I'm unaware of? "What I have locally after the sync is equal to what I have remotely."</p>
<p>Looking at the rpm docs i see "remove_missing" as the equivalent. I am not familiar with the details in this area just the higher level concept need. If there are other options that pair with that one, please note them.</p>
<p>Thanks!</p> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=195682017-05-09T17:22:40Zbmbouterbmbouter@redhat.com
<ul></ul><p>For reference here are the rpm docs: <a href="http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=remove_missing" class="external">http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=remove_missing</a></p>
<p>OK so to make it exactly like the rpm feature, the feature request is to add a field called <code>remove_missing</code> which will perform the following:</p>
<pre><code>If True, as the repository is synchronized, old <things> will be removed. Valid values to this option are True and False; defaults to False
</code></pre>
<p>What are the <things> in ^ that need to be removed? Blobs, tags, layers, all of these? I think if we can clarify that, I would see it clearly enough to groom it.</p> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=195692017-05-09T17:26:51Ztomckay@redhat.comtomckay@redhat.com
<ul></ul><p>Yes, I would say all of the artifacts in the repo should match. The result should be zero difference between a new repo created and synced and this repo re-synced.</p> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=195702017-05-09T17:30:48Zmhrivnakmhrivnak@redhat.com
<ul></ul><p>bmbouter wrote:</p>
<blockquote>
<p>For reference here are the rpm docs: <a href="http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=remove_missing" class="external">http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=remove_missing</a></p>
<p>OK so to make it exactly like the rpm feature, the feature request is to add a field called <code>remove_missing</code> which will perform the following:</p>
<p>[...]</p>
<p>What are the <things> in ^ that need to be removed? Blobs, tags, layers, all of these? I think if we can clarify that, I would see it clearly enough to groom it.</p>
</blockquote>
<p>Rather than "old things", I think it should be "any local content not present in the remote repo".</p> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=195712017-05-09T19:08:10Zbmbouterbmbouter@redhat.com
<ul><li><strong>Groomed</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>Thanks for the responses. So to recap the feature: the docker_importer will have a new option added called <code>remove_missing</code> which will perform the following:</p>
<pre><code>If True, as the repository is synchronized, any local content not present in the remote repository will be removed. Valid values to this option are True and False; defaults to False
</code></pre>
<p>I touched up the checklist items some and I'm marking it as groomed. If there are other questions or comments please post.</p> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=384112019-04-15T20:20:40Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul> Docker Support - Story #2602: As a user, I want docker repos to have "mirror on sync"https://pulp.plan.io/issues/2602?journal_id=683782021-03-05T22:59:42Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WONTFIX</i></li></ul><p>This is addressed in pulp_container and pulp3</p>