Project

General

Profile

Actions

Bug #25233

open

Add update types for dpkg packages

Added by Alexis Mousset 5 months ago. Updated 20 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Module - system-updates
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

From PackageKit:

        // the default update info
        state = PK_INFO_ENUM_NORMAL;

        // let find what kind of upgrade this is
        pkgCache::VerFileIterator vf = pkgInfo.ver.FileList();
        std::string origin  = vf.File().Origin() == NULL ? "" : vf.File().Origin();
        std::string archive = vf.File().Archive() == NULL ? "" : vf.File().Archive();
        std::string label   = vf.File().Label() == NULL ? "" : vf.File().Label();

        if (origin.compare("Backports.org archive") == 0 ||
            ends_with(origin, "-backports")) {
            state = PK_INFO_ENUM_ENHANCEMENT;
        } else if (ends_with(archive, "-security") ||
                   label.compare("Debian-Security") == 0) {
            state = PK_INFO_ENUM_SECURITY;
        } else if (ends_with(archive, "-backports")) {
            state = PK_INFO_ENUM_ENHANCEMENT;
        } else if (ends_with(archive, "-proposed-updates") || ends_with(archive, "-updates-proposed")) {
            state = PK_INFO_ENUM_LOW;
        } else if (ends_with(archive, "-updates")) {
            state = PK_INFO_ENUM_BUGFIX;
        }

Actions #1

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 8.2.0~beta1 to 8.2.0~rc1
Actions #2

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 8.2.0~rc1 to 8.2.0
Actions #3

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 8.2.0 to 8.2.1
Actions #4

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 8.2.1 to 8.2.2
Actions #5

Updated by Alexis Mousset 26 days ago

  • Category changed from Agent to Module - system-updates
Actions #6

Updated by Vincent MEMBRÉ 25 days ago

  • Target version changed from 8.2.2 to 8.2.3
Actions #7

Updated by Vincent MEMBRÉ 20 days ago

  • Target version changed from 8.2.3 to 8.2.4
Actions

Also available in: Atom PDF