#10 Add 'start_from_here' script and improve BaseHandler.handle documentation.
Merged 8 years ago by jkaluza. Opened 8 years ago by jkaluza.
jkaluza/freshmaker fix-naming  into  master

@@ -53,5 +53,9 @@ 

          """

          Handles the event. Can return another BaseEvent instances to

          generate another events to be used by other local handlers.

+ 

+         :return: List of BaseEvent objects which will be handled by other

+         handlers after this handler handles the event. This can be used to

I like the number of words containing "handle" in this sentence. :)

+         generate internal events for other handlers in Freshmaker.

          """

          raise NotImplementedError()

file added
+12
@@ -0,0 +1,12 @@ 

+ #!/bin/python

+ __requires__ = 'fedmsg'

+ import sys, os

+ from pkg_resources import load_entry_point

+ 

+ sys.path.append(os.path.join(os.path.dirname(__file__)))

+ os.environ["FRESHMAKER_DEVELOPER_ENV"] = "1"

+ 

+ if __name__ == '__main__':

+     sys.exit(

+         load_entry_point('fedmsg', 'console_scripts', 'fedmsg-hub')()

+     )
cqi commented 8 years ago

Why not let setuptools to create this entry point automatically?

no initial comment

I like the number of words containing "handle" in this sentence. :)

Pull-Request has been merged by jkaluza

8 years ago

Why not let setuptools to create this entry point automatically?