This prevents sending out unnecessary mails when run from the related
cron job:
condense-mirrorlogs.cron
-> condense-mirrorlogs.sh > /dev/null
-> mirrorlist.py
Additionally, report the failing file name in the case of an error.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Previously, the script was very talkative by default. Make the default
to be silent for log levels < WARNING and allow logging (at different
level) to syslog. Additionally, configure the cronjob to log everything
of levels >= INFO to syslog.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Also add a ssl connection cache.
These changes are live on proxy01/10 and seem to have made them stable
again. Will look at pushing to the rest tomorrow.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This also ensures that the previously cloned git repository and local
installation of the Python package and associated scripts are removed.
Signed-off-by: Nils Philippsen <nils@redhat.com>
There was an unannounced change to rhbz where the default number of
results returned for a query was changed to 20.
This should be a temporary change that will need to be reverted when a
new version of blockerbugs is released with this capability built in.
In addition to configuration file changes this also needs the latest
version of MirrorManager, scan-primary-mirror and mirrorlist-server.
The reason for the software updates are mainly that CentOS Stream is
using an empty topdir ('') and all around the code there were
assumptions that topdir always ends with a slash and an empty string
does not end with a slash.
Signed-off-by: Adrian Reber <adrian@lisas.de>
The old version
[root@fedora ~]# rpm -qf /usr/bin/gem2rpm
rubygem-gem2rpm-1.0.1-7.fc34.noarch
Didn't work and failed with
/usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `initialize': No such file or directory @ rb_sysopen - https://rubygems.org/api/v1/gems/bioroebe.json (Errno::ENOENT)
from /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `open'
from /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `<top (required)>'
from /usr/bin/gem2rpm:23:in `load'
from /usr/bin/gem2rpm:23:in `<main>'
* Only support one Fedora release (34) on staging retrace.
* Update list of removed versions on staging.
* Support CentOS 7 and 8 on production instance.
* Update repository URLs, remove dead links.