Hide Forgot
For example repo.created event has no information about repo path. That means I can't sync the repo elsewhere. updated.content works as expected
You want the path part of the download URL, right?
Rather, the sync URL not the download URL
Path added. commit: 41ffda11e6739f8034789c4a36c09e27a3b799e0
(In reply to comment #2) > Rather, the sync URL not the download URL No, I mean the path on local file system. I want it to rsync a repo elsewhere.
The event 'path' field now contains the absolute (file) path to the repo storage location in pulp. commit: 84611ae9020cff3e6cf4872c32ea2b366f7ff55f
build: 0.190
Created attachment 521274 [details] Event listener Quick & dirty event listener.
Repo created events broken. Fixed: 0c41f94dc8e99961b06836402cee7e72ea5f34da How to verify: 1) edit /etc/pulp/pulp.conf and enable sending events. [events] send_enabled: true recv_enabled: false 2) restart httpd 3) start the attached event listener. 4) create a repo 5) note in the event listener output the 'path' element in the event. 6) done
(In reply to comment #8) > Repo created events broken. Fixed: 0c41f94dc8e99961b06836402cee7e72ea5f34da > > How to verify: > > 1) edit /etc/pulp/pulp.conf and enable sending events. > > [events] > send_enabled: true > recv_enabled: false > > 2) restart httpd > 3) start the attached event listener. do: 'python listener.py' in a terminal window. > 4) create a repo > 5) note in the event listener output the 'path' element in the event. > 6) done
build: 0.230
verified [root@preethi ~]# rpm -q pulp pulp-0.0.230-1.fc15.noarch [root@preethi ~]# python listener.py subject: repo.created event: {'path': '/var/lib/pulp//repos/test2', 'name': 'test2', 'id': 'test2'}
Pulp v1.0 is released Closed Current Release.