Project

Profile

Help

Story #5739

As a user, advisory version is considered at conflict resolution time

Added by ttereshc 8 months ago. Updated 23 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:

Description

Background

Currently advisory conflicts resolve according to #4295 which is based on updated timestamp and package list difference.

Motivation

Some advisories don't have updated timestamp but they bump advisory version in case of changes. (e.g. openSUSE ones). RH/Fedora advisories bump version as well but not for all changes, so it's not possible to switch to using version only for conflict resolution.

Solution

Version of advisory should be taken into consideration at conflict resolution time.
Updated timestamp has precedence.
When updated timestamp is absent or the same for both advisories, advisory versions should be compared.
The higher the version is, the newer the advisory.

Associated revisions

Revision 12b5738e View on GitHub
Added by ppicka 2 months ago

Advisory version is taken to consideration

during sync when updated_dates are the same Pulp will check versions and if there is newer version it is added instead the old one.

generalize shared_utils 'is_previous_version' method to use it in comparison

closes #5739 https://pulp.plan.io/issues/5739

History

#1 Updated by ttereshc 4 months ago

  • Sprint/Milestone set to Pulp 3.x RPM (Katello 3.16)

#2 Updated by ppicka 3 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#3 Updated by pulpbot 3 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by ttereshc 2 months ago

  • Tags Pulp 3 RPM blocker added

#5 Updated by ppicka 2 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by dalley 2 months ago

  • Sprint/Milestone changed from Pulp 3.x RPM (Katello 3.16) to Pulp RPM 3.3.0

#7 Updated by dalley 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#8 Updated by bmbouter 23 days ago

  • Tags deleted (Pulp 3 RPM blocker)

Please register to edit this issue

Also available in: Atom PDF