https://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-09-08T16:41:24ZPulpRPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=753632021-09-08T16:41:24Zppicka
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>NEW</i></li><li><strong>Assignee</strong> deleted (<del><i>ppicka</i></del>)</li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=753642021-09-08T16:42:58Zppicka
<ul><li><strong>Subject</strong> changed from <i>Refresh endpoint to create ACS </i> to <i>As a user I can use Alternate Content Sources</i></li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=753842021-09-09T15:35:15Zdalleydalley@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-12 priority-6 priority-default closed" href="/issues/8856">Story #8856</a>: As a user, I have a convenient UX for mirroring repositories</i> added</li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=753852021-09-09T15:36:15Zdalleydalley@redhat.com
<ul></ul><p>Quoting from a related issue:</p>
<blockquote>
<p>To fix this, we should introduce a new RemoteRepositoryViewset which will provide a new primitive Pulp endpoint, /pulp/api/v3/remote_repositories///. This viewset will work with all repositories that have remote set, which is to say that the queryset would be Repository.objects.filter(remote__isnull=False).</p>
<p>This viewset would provide only one action endpoint, "refresh" (or "update"), which would perform a mirror-mode sync and publish with the internally-attached remote. The viewset would not provide the "modify" endpoint since mirrored repositories shouldn't be able to be changed, and it wouldn't provide the "sync" endpoint because there would not be any need to customize the sync in that way. This avoids needing to throw errors if a user attempts an operation they shouldn't do - because the new API provides no mechanism to do it - and also avoids creating a new model.</p>
<p>The old /repositories/// endpoint will remain exactly as it is currently, even at the code level, since all of the changes are in the new viewset. However we should discourage users from using this API with repositories they want to sync from external sources, and encourage using the new API instead, which has the benefit of being much easier to use for most if not all use cases.</p>
<p>The workflow:</p>
<pre><code>Create a "remote repository", specifying name + description + any remote options, which will transparently create both the remote and repository.
"refresh" (or "update" or "sync") it - no parameters necessary because it uses the internal remote. syncs for most plugins would always "mirror"
</code></pre>
</blockquote> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=754042021-09-09T22:28:08Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 104</i> to <i>Sprint 105</i></li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=754652021-09-10T13:43:47Zppicka
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-3 status-11 priority-6 priority-default closed child" href="/issues/9377">Story #9377</a>: As a user I can use Alternate Content Sources</i> added</li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=754672021-09-10T13:44:33Zppicka
<ul><li><strong>Copied to</strong> deleted (<i><a class="issue tracker-3 status-11 priority-6 priority-default closed child" href="/issues/9377">Story #9377</a>: As a user I can use Alternate Content Sources</i>)</li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=757032021-09-16T15:17:30Zppicka
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>ppicka</i></li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=757312021-09-17T14:39:04Zpulpbot
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p>PR: <a href="https://github.com/pulp/pulp_rpm/pull/2127" class="external">https://github.com/pulp/pulp_rpm/pull/2127</a></p> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=759522021-09-23T21:57:58Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 105</i> to <i>Sprint 106</i></li></ul> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=761782021-10-01T21:04:12Zppicka
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li></ul><p>Applied in changeset <a class="changeset" title="ACS support Adding model/serializer and refresh endpoint. closes: #9358 https://pulp.plan.io/is..." href="https://pulp.plan.io/projects/pulp_rpm/repository/9/revisions/738cc1a666401ce9920618137cc1a461ddc38617">738cc1a666401ce9920618137cc1a461ddc38617</a>.</p> RPM Support - Story #9358: As a user I can use Alternate Content Sourceshttps://pulp.plan.io/issues/9358?journal_id=766342021-10-19T19:13:41Zpulpbot
<ul></ul><p>PR: <a href="https://github.com/pulp/pulp_rpm/pull/2154" class="external">https://github.com/pulp/pulp_rpm/pull/2154</a></p>