doccaz / scc-tools

A set of simple tools to interact with SUSE Customer Center (SCC)
MIT License
13 stars 1 forks source link

Create a separate report for PTF packages #30

Closed doccaz closed 1 year ago

doccaz commented 1 year ago

SUSE PTFs (Program Temporary Fix) packages have been standardized to have a specific "vendor" tag. They've been erroneously categorized as "unsupported" and went to the wrong list.

I'm implementing an extra report/CSV file where they can live, called "suseptf".

doccaz commented 1 year ago

Since I already had a similar feature implemented for orphan packages, I basically just had to copy over some bits of code. This is the result: a file called "vercheck-suseptf-.csv":

liblldp_clif1-debuginfo,SUSE Linux Enterprise PTF,0.9.46-5.14.18652.0.PTF.1153520
open-lldp-debuginfo,SUSE Linux Enterprise PTF,0.9.46-5.14.18652.0.PTF.1153520
open-lldp-debugsource,SUSE Linux Enterprise PTF,0.9.46-5.14.18652.0.PTF.1153520

And the verbose output:

               --- SUSE PTF packages ---

Name                            Vendor                          Current Version               
================================================================================
liblldp_clif1-debuginfo         SUSE Linux Enterprise PTF       0.9.46-5.14.18652.0.PTF.1153520
open-lldp-debuginfo             SUSE Linux Enterprise PTF       0.9.46-5.14.18652.0.PTF.1153520
open-lldp-debugsource           SUSE Linux Enterprise PTF       0.9.46-5.14.18652.0.PTF.1153520

Total: 3 packages