9 Commits

Author SHA1 Message Date
Ivan A. Melnikov
6634f39f4b port_stats/lists: Raise error for empty prefix
Sometimes, when lists are updated while we are
reading them, we get 0 results, and all our
reports become very confusing. This change
adds a check to raise an exception in this case.
2019-08-15 10:38:22 +04:00
Ivan A. Melnikov
98b20601ce Fix flake8 warning 2019-04-04 13:26:19 +04:00
Ivan A. Melnikov
7a656153fc Fix some flakes8 warnings 2019-01-17 13:25:22 +04:00
Ivan A. Melnikov
7de1bd9111 Port outdated_tasks to use new config 2018-08-13 12:56:07 +04:00
Ivan A. Melnikov
2e6ac86991 port_stats: Introducing config
Put all the args to config to easily support
several repositories.
2018-08-10 18:39:27 +04:00
Ivan A. Melnikov
972370e9df Use CFFI to work with librpm
This change adds two new functions: evr_cmp and parse_evr,
that use librpm-4.0.4 public interface. These functions
replace calling rpmevrcmp via subprocess, which makes
mass comparisons considerably faster.
2018-06-26 13:05:37 +04:00
Ivan A. Melnikov
5df6aca515 port_stats: New tools in interactive module
Now it works with colors, too.
2018-06-22 14:40:38 +04:00
Ivan A. Melnikov
c96baad339 Initial take on daily repo report generation 2018-06-20 15:53:53 +04:00
Ivan A. Melnikov
e66fbdd2bb Major port_stats refactoring
- introduce the module
- rewrite srclists/stats in the terms of it
- get rid of the hard dependency on python-module-rpm
  (the new code can use pkglist-query and rpmevrcmp instead)
2018-06-19 14:18:54 +04:00