Project

Profile

Help

Task #3225

Story #3209: As a user, I have Repository Versions

Update Changeset API to use repository versions

Added by dkliban@redhat.com almost 2 years ago. Updated 6 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:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 31

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.

History

#1 Updated by dkliban@redhat.com almost 2 years ago

  • Parent task set to #3209

#2 Updated by bmbouter almost 2 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.

#3 Updated by dkliban@redhat.com almost 2 years ago

  • Description updated (diff)

#4 Updated by jortel@redhat.com almost 2 years ago

  • Groomed changed from No to Yes

#5 Updated by dkliban@redhat.com almost 2 years ago

  • Sprint/Milestone set to 53

#6 Updated by jortel@redhat.com almost 2 years ago

We have mostly avoided unnecessary abbreviations in pulp 3. Suggest we use repository_version instead of repo_version. Please!

#7 Updated by jortel@redhat.com over 1 year ago

  • Description updated (diff)

#8 Updated by jortel@redhat.com over 1 year ago

  • Description updated (diff)

#9 Updated by amacdona@redhat.com over 1 year ago

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

#10 Updated by amacdona@redhat.com over 1 year ago

  • Status changed from ASSIGNED to MODIFIED

This was fixed when the ChangeSet was updated for asyncio.

https://github.com/pulp/pulp/pull/3266/

#11 Updated by amacdona@redhat.com over 1 year ago

  • % Done changed from 0 to 100

#12 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 31

#13 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (53)

#14 Updated by dkliban@redhat.com over 1 year ago

  • Sprint/Milestone set to 3.0

#15 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

Please register to edit this issue

Also available in: Atom PDF