Merge what I've done over the weekend
Tomas Doran [Sun, 7 Aug 2011 18:42:06 +0000 (19:42 +0100)]
1  2 
TODO

diff --cc TODO
--- 1/TODO
--- 2/TODO
+++ b/TODO
@@@ -24,51 -24,48 +24,59 @@@ subclass of Catalyst::Log, no ::Plugin:
  See also: Catalyst::Plugin::Log::Dispatch and
  http://github.com/willert/catalyst-plugin-log4perl-simple/tree
  
 -# REFACTORING
 +## 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)
  
 -##  PSGI
 +## throw away the restarter and allow using the restarters Plack provides
  
 -###  Blockers
 +## remove per-request state from the engine instance
  
 -  * 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.
 -  * I've noticed a small difference with Catalyst::Test. The latest stable
 -    version include two headers, 'host' and 'https'. They are missing from
 -    this version.
 +## be smarter about how we use PSGI - not every response needs to be delayed
 +    and streaming
  
 -### Things to discuss
 +#  The horrible hack for plugin setup - replacing it:
 +
 + * Have a look at the Devel::REPL BEFORE_PLUGIN stuff
 +   I wonder if what we need is that combined with plugins-as-roles
  
+   * Catalyst::Engine::HTTP::Prefork no longer works since it requires
+     Catalyst::Engine::CGI which no longer is in the cataplack distribution.
+     Investigation shows moving CE:CGI to CE:HTTP:Prefork allows tests to pass.
  
 -### PSGI Release Punchlist
 +#  PSGI
  
 -  * Release a version of Task::Catalyst without CE:PSGI and CE:HTTP:Prefork
 -    since those are deprecated.
 +##  To do at release time
  
 -#### Script survey
 +  - Release psgi branch of Catalyst-Devel
 +  - Release new Task::Catalyst
 +  - Release 5.9 branch of Catalyst-Manual
++  - Release Catalyst::Engine::HTTP::Prefork with deprecation notice
++    (and maybe compat?)
  
 -###  Nice to have
 +##  Blockers
  
 -  * 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
++  * Better docs for stopping using Engine::HTTP::Prefork and
++    starting using Starman, maybe?
 -##  The horrible hack for plugin setup - replacing it:
 +  * Test::WWW::Mechanize::Catalyst new release
  
 - * Have a look at the Devel::REPL BEFORE_PLUGIN stuff
 -   I wonder if what we need is that combined with plugins-as-roles
 +  * Test nginx middleware to determine if it is needed with:
 +
 +    root app - with use_request_uri_for_path
 +    root app - without use_request_uri_for_path
 +    non-root app - with use_request_uri_for_path
 +    non-root app - without use_request_uri_for_path
 +
 +    If it isn't needed, remove. If it is needed, split it out into it's own
 +    file and document why it's needed.
 +
 +  * I've noticed a small difference with Catalyst::Test. The latest stable
 +    version include two headers, 'host' and 'https'. They are missing from
 +    this version - Pedro Melo on list
 +    ^^ Cannot replicate this? Mailed back to ask for tests..
  
 -## App / ctx split:
 +# App / ctx split:
  
    NOTE - these are notes that t0m thought up after doing back compat for
           catalyst_component_class, may be inaccurate, wrong or missing things