On 2004-09-21, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Is there a patched version with the error_mode() method and the
> PATH_INFO handling in mode_param() available? If so, where may I
> retrieve it? (CPAN only has the release from February.)
>
> Also, what exactly are the guidelines for the plugin system; I've been
> seeing a log of CGI::Application::Plugin:: releases, but I can't seem to
> find the thread where the process was formalized.
As it turns out, I now have a release candidate for you. Here are the
changes since the last release:
- Refactored test suite to use Test::More (Gabor Szabo)
- Removed warnings being emitted for documented API calls
- minor code clean-up to load_tmpl() (Emanuele Zeppieri)
- Support for passing multiple template paths to HTML::Template (Michael Peters)
- Added error_mode to support trapping runmodes dying (Rob Kinyon)
- Added Plug-in related documentation. (Mark Stosberg)
- mode_param() updated to more easily set the run mode from $ENV{PATH_INFO} (Mark
Stosberg)
[ See technical note below ]
It's available here:
http://mark.stosberg.com/perl/CGI-Application-3.30rc1.tar.gz
You can also browse the updated documentation here:
http://mark.stosberg.com/perl/cgi_app.html
(don't worry about the "manpage" oddness-- the CPAN parser is smarter).
Please review the code, tests and documentation for the related changes.
If you submitted a patch to me, be aware that it may have been modified
a bit, and is thus worth double-checking.
I've also made a change in how I'm managing the code base, which will give
everyone better access to what is going on between releases. It will
be easier to review and patch against the current development version of
the code.
Most importantly, I took the latest code from Jesse's CVS repository and
put into my own "arch" repository. I'm the one doing nearly all the
project management at this point, so I thought it was fair move. :)
Here's what it means for you:
You can easily browse the recent patches that have been applied:
http://mark.stosberg.com/cgi-bin/archzoom.cgi/[EMAIL PROTECTED]/cgi-app--main--0
Through that interface, you can view colorful diff's online, or download
a tarball of the code base at any patch level.
You can also use 'tla' (The 'arch' binary) to register my archive,
track the changes, and create tla patchsets that will be super-easy for
me to apply.
My archive is here:
http://mark.stosberg.com/arch/2004/
Instructions are here:
http://wiki.gnuarch.org/moin.cgi/Quick_20Introduction#head-f63c3f15d26e7c218d7755e5d7d6dd0b2f3cfc8d
Why Arch?
http://wiki.gnuarch.org/moin.cgi/WhyArch
More info:
http://wiki.gnuarch.org
#################
Now, some more on my mode_param() patch:
I did something which was a bit hackish. mode_param()
was dead simple before. It didn't figure out the run mode,
it just stored and returned what was passed in.
With the "path_info" ase, this didn't make sense. So in this case,
I return
{ run_mode => $run_mode_figured_out }
If the run mode was determined from PATH_INFO.
It's backwards compatible because it only happens with the path_info
option. Still, it's a bit strange.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]