Skip Menu |
 

This queue is for tickets about the CGI-Application-Plugin-AutoRunmode CPAN distribution.

Report information
The Basics
Id: 65695
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-AutoRunmode

People
Owner: thilo [...] cpan.org
Requestors: JIRA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.18



MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 211
Download (untitled) / with headers
text/plain 211b
For the wishlist: to have a way to organize run mode files into multiple directories. Either by passing list of directories to the constructor or to automatically scan a specified directory for sub directories.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17551-1297688408-165.65695-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 550
Download (untitled) / with headers
text/plain 550b
Here is the patch that does the following: https://bitbucket.org/thiloplanz/cgi-application-plugin-autorunmode/changeset/c04a4769f39b You can now specify a list of directories that would be searched in order (first one with a file for the run mode wins). my $delegate = new CGI::Application::Plugin::AutoRunmode::FileDelegate ('/path/to/runmodes', '/path/to/fallback_runmodes', '/path/to/even_more') Error semantics: If a file exists in a directory, but it is invalid, do not fall back to the next directory, but abort with an error.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.