Project

Profile

Help

Story #5740

closed

As a user, advisory collection names are unique within an advisory

Added by ttereshc about 5 years ago. Updated over 4 years ago.

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

100%

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

Description

Background

As a part of #4295, two advisories can be merged into a new one which contains combined package list.

Motivation

Each package list consists of collections (usually 1 , but can be 0 or 2+ as well). Each collection has a name which is expected to be unique by dnf/yum client. If the name is not unique, only a subset of packages will be updated when advisory is applied on a user system.

Solution

Ensure the uniqueness of collection names at the time of combining two advisories into one.
If names are unique, preserve original names.
If names are the same, make them unique (e.g. append an ordinal number to the existing name)

Also available in: Atom PDF