SVN::Web::action

Perl class for SVN::Web::actions
Download

SVN::Web::action Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Nik Clayton
  • Publisher web site:
  • http://search.cpan.org/~nikc/Test-Net-Connect-0.03/lib/Test/Net/Connect.pm

SVN::Web::action Tags


SVN::Web::action Description

Perl class for SVN::Web::actions SVN::Web::action is a base class for SVN::Web::actions.This is the base class for all SVN::Web actions. It provides a constructor and some useful utility methods that actions may find useful. It also contains documentation for anyone interested in writing new SVN::Web actions.OVERVIEWSVN::Web actions are Perl modules loaded by SVN::Web. They are expected to retrieve some information from the Subversion repository, and return that information ready for the user's browser, optionally via formatting by a Template::Toolkit template.Action names are listed in the SVN::Web configuration file, config.yaml, in the actions: clause. Each entry specifies the class that implements the action, options that are set globally for that action, and metadata that describes when and how the action should appear in the action menu. actions: ... new_action: class: Class::That::Implements::Action action_menu: # Optional show: - file # Zero or more of this, ... - directory # ... this ... - revision # ... or this. - global # Or possibly just this one link_text: (text) # Mandatory head_only: 1 # Optional icon: /a/path # Optional opts: option1: value1 option2: value2 ...Each action is a class that must implement a run() method. Requirements: · Perl


SVN::Web::action Related Software