X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=TODO;h=ebfc646e75481698b134a817edfee3bc8ce64842;hp=9ba7299165feee978b56cac7a29b20ddea7b51d9;hb=20fe4e3c1146e3e61156e6c2f3ce0c0cdb3e9eb6;hpb=a98940b5ca887252a3e0132581417e6abf7ee331 diff --git a/TODO b/TODO index 9ba7299..ebfc646 100644 --- a/TODO +++ b/TODO @@ -24,33 +24,57 @@ 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 - - * throw out Catalyst::Test's remote_request in favour of - Plack::Test::ExternalServer - * Fix Test::WWW::Mechanize::Catalyst which has been broken by moving stuff - about. - * properly pass along server arguments - * Tests in unit_core_engine-prepare_path.t into Plack, or fixed by us? - * think about whether or not to generate myapp.psgi and how to configure - middleware - * 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 - * figure out how to not break existing mod_perl deployments -## 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 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