Small fixes in log messages and Readme

This commit is contained in:
Kirill Zhukov 2022-12-29 17:08:51 +01:00
parent b266b1b619
commit f4379c3f99
2 changed files with 9 additions and 9 deletions

View File

@ -30,9 +30,9 @@ check [config.default.yml](config.default.yml) for references
```bash
$ pip install -r requirements.txt
```
4. Create config file using [config.default.yml](config.default.yml) and start service with `albs_oval_errata_dif.py` script
4. Create config file using [config.default.yml](config.default.yml) and start service with _albs_oval_errata_dif.py_ script
```bash
$ python albs_oval_errata_diff.py config.default.yml
$ python albs_oval_errata_diff.py config.yml
2022-12-29 16:20:11,139 INFO start Trying to load diff file from disk
2022-12-29 16:20:11,142 INFO start Diff file was loaded
2022-12-29 16:20:11,142 INFO start Starting diff_checker in background

View File

@ -239,24 +239,24 @@ def comparer_run(config: Config) -> Dict[str, Any]:
for release, urls in config.releases.items():
logging.info('Processing release %i', release)
logging.info('downloading rhel oval')
logging.info('Downloading rhel oval')
rhel_file = download_oval(urls.rhel_oval_url, config.download_dir)
logging.info('parsing rhel oval')
logging.info('Parsing rhel oval')
rhel_oval_dict = parse_oval(rhel_file, config.not_before)
logging.info('downloading alma oval')
logging.info('Downloading alma oval')
alma_oval_file = download_oval(
urls.alma_oval_url, download_dir=config.download_dir)
logging.info('parsing alma oval')
logging.info('Parsing alma oval')
alma_oval_dict = parse_oval(alma_oval_file, config.not_before)
logging.info('downloading alma errata')
logging.info('Downloading alma errata')
alma_errata_file = download_errata(urls.alma_errata_url,
release, config.download_dir)
logging.info('parsing alma errata')
logging.info('Parsing alma errata')
alma_errata_dict = parse_errata(alma_errata_file)
logging.info('comparing rhel and alma')
logging.info('Comparing rhel and alma')
report_release, diff_release = \
compare(rhel_oval_dict,
alma_oval_dict,