Project

Profile

Help

Story #4045

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

Added by jortel@redhat.com about 1 year ago. Updated 3 months ago.

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

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Easy Fix
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 44

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):

Associated revisions

Revision 6cbfec5f View on GitHub
Added by jortel@redhat.com 12 months ago

Better support for auto-distribution.
closes #4045

Revision 6cbfec5f View on GitHub
Added by jortel@redhat.com 12 months ago

Better support for auto-distribution.
closes #4045

Revision 6cbfec5f View on GitHub
Added by jortel@redhat.com 12 months ago

Better support for auto-distribution.
closes #4045

History

#1 Updated by dkliban@redhat.com about 1 year ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#2 Updated by rchan about 1 year ago

  • Sprint set to Sprint 44

#3 Updated by jortel@redhat.com about 1 year ago

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

#4 Updated by jortel@redhat.com about 1 year ago

  • Status changed from ASSIGNED to POST

#5 Updated by jortel@redhat.com 12 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#7 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF