Fix fedmsg-hub for fedora-packages to pick up forward-compat packages.
This commit is contained in:
parent
303ce555ed
commit
f03b82a4bd
2 changed files with 16 additions and 0 deletions
9
roles/packages3/web/files/fedmsg-hub-forward-compat
Normal file
9
roles/packages3/web/files/fedmsg-hub-forward-compat
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/python
|
||||||
|
__requires__ = ['fedmsg>=0.13.1', 'WebOb>=0.9.7', 'sqlalchemy>=0.7']
|
||||||
|
import sys
|
||||||
|
from pkg_resources import load_entry_point
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(
|
||||||
|
load_entry_point('fedmsg', 'console_scripts', 'fedmsg-hub')()
|
||||||
|
)
|
|
@ -125,6 +125,13 @@
|
||||||
- packages/web
|
- packages/web
|
||||||
- icon
|
- icon
|
||||||
|
|
||||||
|
- name: hotfix the fedmsg-hub executable to pick up forward compat packages
|
||||||
|
copy: src=fedmsg-hub-forward-compat dest=/usr/bin/fedmsg-hub
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- packages/web
|
||||||
|
- hotfix
|
||||||
|
|
||||||
# Our fedmsg updater should handle everything, no more need for cron.
|
# Our fedmsg updater should handle everything, no more need for cron.
|
||||||
#- name: Copy the indexer cronjobs
|
#- name: Copy the indexer cronjobs
|
||||||
# copy: src="{{item}}" dest="/etc/cron.d/{{item}}"
|
# copy: src="{{item}}" dest="/etc/cron.d/{{item}}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue