Add a yumconfig for hotness01.stg.

This commit is contained in:
Ralph Bean 2014-11-20 03:25:12 +00:00
parent e5ef8035e9
commit 1519097e57
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,21 @@
[main]
cachedir=/var/cache/yum-hotness/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum-hotness.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
# It is usually 90m. We'll expire often..
metadata_expire=10m
# We have only one repo to query...
[rawhide-source]
name=Rawhide Source
failovermethod=priority
baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/source/SRPMS/
enabled=1
gpgcheck=0

View file

@ -49,6 +49,12 @@
- config
- hotness
- name: Copy over a yum config for repoquery
copy: src=yumconfig dest=/etc/hotness-yum.conf
tags:
- config
- hotness
- name: Create /usr/share/fedmsg (for bugzilla cookies...)
file: dest=/usr/share/fedmsg owner=fedmsg group=fedmsg mode=0750 state=directory
tags:

View file

@ -74,6 +74,8 @@ config = {
'hotness.pkgdb_url': 'https://admin.fedoraproject.org/pkgdb/api',
{% endif %}
'hotness.yumconfig': '/etc/hotness-yum.conf',
"hotness.cache": {
"backend": "dogpile.cache.dbm",
"expiration_time": 300,