X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=TODO;h=b905301afb9230c968a664c57eed239c08902034;hp=75ed7a3fdd3c0af02bc6375a01923566ed4dd888;hb=7ebac5f89810aab16ec76fc28dea45e936172a67;hpb=07b56dc9ccb03a4fdd4cfe017cfc42359fe51529 diff --git a/TODO b/TODO index 75ed7a3..b905301 100644 --- a/TODO +++ b/TODO @@ -24,49 +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 +## 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 - * Test all the options work on all of the scripts - * 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. +## be smarter about how we use PSGI - not every response needs to be delayed + and streaming -#### Script survey +# The horrible hack for plugin setup - replacing it: -##### myapp_web_fastcgi.pl + * Have a look at the Devel::REPL BEFORE_PLUGIN stuff + I wonder if what we need is that combined with plugins-as-roles -Looks to me like we are mapping --deamon to --detach but I think the modern Plack FCGI handler prefers --deamonize + * 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. -Although --pidfile is supported --pid seems to be preferred, and if we are bothering to map, why not map for the future? +# PSGI -##### myapp_web_server.pl +## To do at release time ---pidfile handling is shiit. MooseX::Daemonize will blow up really nastilly if not installed.. + - 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?) - --background handling also shit. +## Blockers -### Nice to have + * Better docs for stopping using Engine::HTTP::Prefork and + starting using Starman, maybe? - * <@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 + * Test::WWW::Mechanize::Catalyst new release -## The horrible hack for plugin setup - replacing it: + * Test nginx middleware to determine if it is needed with: - * Have a look at the Devel::REPL BEFORE_PLUGIN stuff - I wonder if what we need is that combined with plugins-as-roles + 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