Script pagure_events_py
[hide private]
[frames] | no frames]

Script pagure_events_py

source code

Classes [hide private]
ScmPackage
Functions [hide private]
 
event_info_from_pr_update(data, base_url)
Message handler for updated pull-request opened in pagure.
source code
 
event_info_from_new_pr(data, base_url)
Message handler for new pull-request opened in pagure.
source code
 
event_info_from_push(data, base_url)
Message handler for push event in pagure.
source code
 
git_compare_urls(url1, url2) source code
 
build_on_fedmsg_loop() source code
Variables [hide private]
  SCM_SOURCE_TYPE = helpers.BuildSourceEnum("scm")
  log = logging.getLogger(__name__)
  ENDPOINT = 'tcp://hub.fedoraproject.org:9940'
  TOPICS = {'io.pagure.prod.pagure.git.receive': 'https://pagure...
Function Details [hide private]

event_info_from_pr_update(data, base_url)

source code 

Message handler for updated pull-request opened in pagure. Topic: ``*.pagure.pull-request.comment.added``

event_info_from_new_pr(data, base_url)

source code 

Message handler for new pull-request opened in pagure. Topic: ``*.pagure.pull-request.new``

event_info_from_push(data, base_url)

source code 

Message handler for push event in pagure. Topic: ``*.pagure.git.receive``


Variables Details [hide private]

TOPICS

Value:
{'io.pagure.prod.pagure.git.receive': 'https://pagure.io/', 'io.pagure\
.prod.pagure.pull-request.new': 'https://pagure.io/', 'io.pagure.prod.\
pagure.pull-request.comment.added': 'https://pagure.io/', 'org.fedorap\
roject.prod.pagure.git.receive': 'https://src.fedoraproject.org/', 'or\
g.fedoraproject.prod.pagure.pull-request.new': 'https://src.fedoraproj\
ect.org/', 'org.fedoraproject.prod.pagure.pull-request.comment.added':\
 'https://src.fedoraproject.org/', 'io.pagure.stg.pagure.git.receive':\
 'https://stg.pagure.io/', 'io.pagure.stg.pagure.pull-request.new': 'h\
...