Project

Profile

Help

Issue #3233

closed

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

Version incorrectly says that it removed a content unit

Added by daviddavis almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 31
Quarter:

Description

The squash code has a bug. Suppose you have 3 repo versions. Version 1 adds a unit, version 2 removes the unit, and version 3 re-adds the unit. If you remove version 2 then you have 2 RepositoryContent records pointing to version 3—one where version_removed is version 3 (but version_added is still version 1) and one where version_added is version 3. So the unit appears in 'removed' but is still in version 3's content.

Actions #1

Updated by daviddavis almost 7 years ago

  • Tags Pulp 3, Pulp 3 MVP added
Actions #2

Updated by daviddavis almost 7 years ago

  • Parent issue set to #3209
Actions #3

Updated by dalley almost 7 years ago

  • Sprint/Milestone set to 52
  • Triaged changed from No to Yes
Actions #4

Updated by bizhang almost 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bizhang
Actions #5

Updated by rchan almost 7 years ago

  • Sprint/Milestone changed from 52 to 53
Actions #6

Updated by bizhang almost 7 years ago

  • Status changed from ASSIGNED to POST

Added by werwty almost 7 years ago

Revision b210be34 | View on GitHub

Update repo version squash logic to deal with content removed but readded

Repo version squash should be resolved according to this design: https://github.com/pulp/pulp/pull/3228#issuecomment-347659974

fixes #3233 https://pulp.plan.io/issues/3233

Added by werwty almost 7 years ago

Revision b210be34 | View on GitHub

Update repo version squash logic to deal with content removed but readded

Repo version squash should be resolved according to this design: https://github.com/pulp/pulp/pull/3228#issuecomment-347659974

fixes #3233 https://pulp.plan.io/issues/3233

Actions #8

Updated by werwty almost 7 years ago

  • Status changed from POST to MODIFIED
Actions #9

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 31
Actions #10

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (53)
Actions #11

Updated by dkliban@redhat.com over 6 years ago

  • Sprint/Milestone set to 3.0.0
Actions #12

Updated by bmbouter over 5 years ago

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

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF