Story #3209: As a user, I have Repository Versions
Update Changeset API to use repository versions
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.
#2 Updated by bmbouter almost 3 years ago
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.
Please register to edit this issue