X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=TODO;h=b905301afb9230c968a664c57eed239c08902034;hp=5e96e21204caa15f1cedb7f2441816301c2d9ec9;hb=7ebac5f89810aab16ec76fc28dea45e936172a67;hpb=0ea8962d9383c610ebfcd8f3f3b0095a63398640 diff --git a/TODO b/TODO index 5e96e21..b905301 100644 --- a/TODO +++ b/TODO @@ -24,43 +24,59 @@ subclass of Catalyst::Log, no ::Plugin:: needed. See also: Catalyst::Plugin::Log::Dispatch and http://github.com/willert/catalyst-plugin-log4perl-simple/tree -# REFACTORING - -## PSGI - -### Blockers - - * lighttpd - * iis6 - * 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. - -### 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 - * 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 +## 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 -## The horrible hack for plugin setup - replacing it: +# 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 -## App / ctx split: + * 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 + +## To do at release time + + - 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?) + +## Blockers + + * Better docs for stopping using Engine::HTTP::Prefork and + starting using Starman, maybe? + + * Test::WWW::Mechanize::Catalyst new release + + * 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: NOTE - these are notes that t0m thought up after doing back compat for catalyst_component_class, may be inaccurate, wrong or missing things