Project

Profile

Help

Story #4045

closed

As a plugin writer, I'd like for auto-distribute to work with my distribution.

Added by jortel@redhat.com about 6 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Easy Fix
Sprint:
Sprint 44
Quarter:

Description

The Publication context manager support for auto-distribute only works with Distribution. Plugin can now have custom distribution models. At the very least, the code in exit() could be refactored and made more accessible to plugin writers.

For example:

def __exit__(self):
    self.update_distributions():
        ...

def update_distributions(model=Distribution):
    ....

Plugin writers could then do:

with Publication.create(..) as publication:
    publication.update_distributions(model=DockerDistribution):
Actions #1

Updated by dkliban@redhat.com about 6 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #2

Updated by rchan about 6 years ago

  • Sprint set to Sprint 44
Actions #3

Updated by jortel@redhat.com about 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
Actions #4

Updated by jortel@redhat.com about 6 years ago

  • Status changed from ASSIGNED to POST

Added by jortel@redhat.com about 6 years ago

Revision 6cbfec5f | View on GitHub

Better support for auto-distribution. closes #4045

Added by jortel@redhat.com about 6 years ago

Revision 6cbfec5f | View on GitHub

Better support for auto-distribution. closes #4045

Actions #5

Updated by jortel@redhat.com about 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #7

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #8

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF