doccaz / scc-tools

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

Treat product IDs for SUSE Manager #15

Closed doccaz closed 3 years ago

doccaz commented 3 years ago

I noticed that whenever processing supportconfig data from a SUSE Manager server, the susemanager-* are not found in the repositories. It turns out that I need to use the proper product ID when doing my queries, instead of the base system product ID.

I can determine the product version from the basic-environment.txt with a regex, and from there use the proper ID.

doccaz commented 3 years ago

I implemented this, and it appears to be returning valid results based on my test samples. During the implementation, I also noticed that there was a possible KeyError not being treated correctly if the user selected a "verbose" output.