Project

Profile

Help

Task #3225

closed

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

Update Changeset API to use repository versions

Added by dkliban@redhat.com almost 7 years ago. Updated almost 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:
No
Tags:
Sprint:
Sprint 31
Quarter:

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.

Actions #1

Updated by dkliban@redhat.com almost 7 years ago

  • Parent issue set to #3209
Actions #2

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

Actions #3

Updated by dkliban@redhat.com almost 7 years ago

  • Description updated (diff)
Actions #4

Updated by jortel@redhat.com almost 7 years ago

  • Groomed changed from No to Yes
Actions #5

Updated by dkliban@redhat.com almost 7 years ago

  • Sprint/Milestone set to 53
Actions #6

Updated by jortel@redhat.com almost 7 years ago

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

Actions #7

Updated by jortel@redhat.com almost 7 years ago

  • Description updated (diff)
Actions #8

Updated by jortel@redhat.com almost 7 years ago

  • Description updated (diff)
Actions #9

Updated by amacdona@redhat.com almost 7 years ago

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

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from ASSIGNED to MODIFIED

This was fixed when the ChangeSet was updated for asyncio.

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

Actions #11

Updated by amacdona@redhat.com almost 7 years ago

  • % Done changed from 0 to 100
Actions #12

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 31
Actions #13

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (53)
Actions #14

Updated by dkliban@redhat.com over 6 years ago

  • Sprint/Milestone set to 3.0.0
Actions #15

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)
Actions #16

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF