ALBS-901: New service albs-oval-errata-dif #1
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user
Extra whitespaces between
start
andservices