Add the crux of options that need fixing from jnap's survey
[catagits/Catalyst-Runtime.git] / TODO
diff --git a/TODO b/TODO
index b9e890b..c131e71 100644 (file)
--- a/TODO
+++ b/TODO
@@ -30,29 +30,38 @@ http://github.com/willert/catalyst-plugin-log4perl-simple/tree
 
 ###  Blockers
 
-  * Add some tests for Catalyst::Test::local_request
   * Test all the options work on all of the scripts
-  * Test (and fix if needed) ::Wx
-  * Document how to use your own .psgi (and how you need to do ReverseProxy yourself if you do)
-  * Document migration for setting engine in setup
-  * Document migration for setting engine in $ENV
-  * Fix Catalyst::Engine::PSGI .psgi script and in app root running tests.
+  * Fix nginx middlewares so that they are generic, or can somehow
+    be used by people with their own .psgi files
+  * Fix a sane / nicer way to do custom engines.
+
+#### Script survey
+
+##### myapp_web_fastcgi.pl
+
+Looks to me like we are mapping --deamon to --detach but I think the modern Plack FCGI handler prefers --deamonize
+
+Although --pidfile is supported --pid seems to be preferred, and if we are bothering to map, why not map for the future?
+
+##### myapp_web_server.pl
+
+--fork, this gets passed and Plack doesn’t complain, but it doesn’t fork.  Maybe we could just detect this switch and complain about it (say you should use plackup and Starman, for example?)
+
+--keepalive, passed, no complaint but doesn’t really seem to do anything.
+
+--pidfile, --background, these also seem to do nothing.
 
 ###  Nice to have
 
-  * Do we need to do something else about middleware than let the user provide a .psgi?
-    What about the reverse proxy middleware
-  * Do we generate a .psgi by default?
-  * throw out Catalyst::Test's remote_request in favour of
-    Plack::Test::ExternalServer
-  * make sure we're running under a server that support psgi.streaming - maybe
-    just load the BufferedWrite middleware, although that might break things
-    relying on ->write doing an unbuffered write
+  * <@rafl> i've been thinking of maybe providing
+    MyApp->apply_default_middlewares($psgi_app)
+  * Capture arguments that the plack engine component was run with somewhere,
+    to more easily support custom args from scripts (e.g. Gitalist's 
+    --git_dir)
   * throw away the restarter and allow using the restarters Plack provides
   * remove per-request state from the engine instance
   * be smarter about how we use PSGI - not every response needs to be delayed
     and streaming
-  * lighttpd, iis6, and nginx path-info fixers as proper middlewars as part of Plack
 
 ##  The horrible hack for plugin setup - replacing it: