Task #3225
closed
Story #3209: As a user, I have Repository Versions
Update Changeset API to use repository versions
Status:
CLOSED - CURRENTRELEASE
Description
The ChangeSet interface should accept only the 'repository_version' argument instead of 'old_version' and 'new_version'. The 'repository_version' argument should be the new repository version the ChangeSet is operating on.
- Parent issue set to #3209
The current changeset interface takes a single repo version like:
def __init__(self, importer, repo_version, additions=(), removals=()):
"""
Args:
importer (pulpcore.plugin.models.Importer): An importer.
repo_version (pulpcore.plugin.models.RepositoryVersion): The new version to which
content should be added and removed
The sync interface takes both an old_version
and a new_version
. We should think about if we want to have these interfaces be dissimilar or not.
- Description updated (diff)
- Groomed changed from No to Yes
- Sprint/Milestone set to 53
We have mostly avoided unnecessary abbreviations in pulp 3. Suggest we use repository_version instead of repo_version. Please!
- Description updated (diff)
- Description updated (diff)
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
- Status changed from ASSIGNED to MODIFIED
- % Done changed from 0 to 100
- Sprint/Milestone deleted (
53)
- Sprint/Milestone set to 3.0.0
- Tags deleted (
Pulp 3, Pulp 3 MVP)
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF