Package report/repo parser integration
- parser able to filter package versions using keywords
- warning message on missing tag
- on the fly versions lookup (excluding '*.hotfix')
- updated versions compare routine
- lexical compare uses numbers, not ordinal values
- updated release version detection
- final report lists pkg section/app if no description given
- final report shows repo info for detected release version
Fixes:
- shorter alternate entrpoints: mcp-pkg, mcp-net, cmp-reclass
- flake8 syntax
- proper mirantis/non-mirantis versions getting
- exit on unexpected arguments
- salt-master class now gets linux codename by default and architecture
Change-Id: I0a2daadca8a1acaecafc8680226dc00d20cc24ce
Related-PROD: PROD-28199
diff --git a/scripts/ifs_data.py b/scripts/ifs_data.py
index e182fb1..119acdb 100644
--- a/scripts/ifs_data.py
+++ b/scripts/ifs_data.py
@@ -67,9 +67,9 @@
def get_ifs_data():
# Collect interface and IPs data
# Compile regexps for detecting IPs
- if_start = re.compile("^[0-9]+: .*: \<.*\> .*$")
- if_link = re.compile("^\s{4}link\/ether\ .*$")
- if_ipv4 = re.compile("^\s{4}inet\ .*$")
+ if_start = re.compile(r"^[0-9]+: .*: \<.*\> .*$")
+ if_link = re.compile(r"^\s{4}link\/ether\ .*$")
+ if_ipv4 = re.compile(r"^\s{4}inet\ .*$")
# variable prototypes
_ifs = {}
_if_name = None