https://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-05-12T20:51:11ZPulpPulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=706972021-05-12T20:51:11Zbmbouterbmbouter@redhat.com
<ul></ul><p>By not having to also update the distributions I think we'll be going a step closer to this request also: <a href="https://pulp.plan.io/issues/8673" class="external">https://pulp.plan.io/issues/8673</a></p> Pulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=706982021-05-12T21:06:58Zdalleydalley@redhat.com
<ul></ul><p>I would additionally suggest adding a database constraint (in core) so that plugin writers can't violate this invariant or mess up the validation.</p>
<p>Something equivalent to</p>
<p>~Q(repository_isnull=False, repository_version__isnull=False) & ~Q(repository_isnull=False, publication__isnull=False)</p> Pulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=707002021-05-12T21:07:19Zdalleydalley@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-12 priority-5 priority-lowest closed" href="/issues/8673">Story #8673</a>: Auto-publishing should be more fault-tolerant</i> added</li></ul> Pulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=707242021-05-13T15:25:21Zbmbouterbmbouter@redhat.com
<ul></ul><p><a class="user active" href="https://pulp.plan.io/users/349">dalley</a>, would you be able to list the plugins that need this change?</p> Pulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=707302021-05-13T20:12:21Zdalleydalley@redhat.com
<ul></ul><p>It should be only file, rpm, and python.</p>
<p>But only file has been released with support AFAIK.</p> Pulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=708192021-05-14T15:50:22Zbmbouterbmbouter@redhat.com
<ul><li><strong>Subject</strong> changed from <i>Publication based plugins should use either `distribution.repository` or `distribution.publication` but not both</i> to <i>[EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not both</i></li></ul> Pulp - Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not bothhttps://pulp.plan.io/issues/8740?journal_id=785262022-01-17T15:53:03Zpulpbot
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/78526/diff?detail_id=79424">diff</a>)</li><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - DUPLICATE</i></li></ul>