Keep the pkgdb frontend part before we have pagure plugin released
This commit is contained in:
parent
f997a31610
commit
23448c31bc
1 changed files with 24 additions and 2 deletions
|
@ -39,11 +39,33 @@ config = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"plugins": ['copr'],
|
"plugins": ['pkgdb', 'copr'],
|
||||||
{% else %}
|
{% else %}
|
||||||
"plugins": [],
|
"plugins": ['pkgdb'],
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"caching": {
|
"caching": {
|
||||||
|
"plugin": {
|
||||||
|
"pkgdb": {
|
||||||
|
"users": {
|
||||||
|
"backend": "dogpile.cache.memcached",
|
||||||
|
"expiration_time": 300,
|
||||||
|
"arguments": {
|
||||||
|
"url": "memcached01:11211",
|
||||||
|
"distributed_lock": True,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"pkgdb": {
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
"pkgdb_url": 'https://admin.stg.fedoraproject.org/pkgdb/api',
|
||||||
|
"topic_re": r'\.stg\.pkgdb\.',
|
||||||
|
{% else %}
|
||||||
|
"pkgdb_url": 'https://admin.fedoraproject.org/pkgdb/api',
|
||||||
|
"topic_re": r'\.prod\.pkgdb\.',
|
||||||
|
{% endif %}
|
||||||
|
"sync_tracked": False,
|
||||||
},
|
},
|
||||||
"frontend": {
|
"frontend": {
|
||||||
"builds_per_page": 8,
|
"builds_per_page": 8,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue