Git Product home page Git Product logo

module-install-rtx's Introduction

NAME
    Module::Install::RTx - RT extension installer

SYNOPSIS
    In the Makefile.PL of the "RT-Extension-Example" module:

        use inc::Module::Install;
        RTx 'RT-Extension-Example';

        requires_rt '4.2.0';
        rt_too_new  '4.4.0';

        WriteAll();

DESCRIPTION
    This Module::Install extension implements several functions for
    installing RT extensions:

  RTx '*extension name*'
    This function arranges for the following directories to be installed, if
    they exist (assuming "RTx('RT-Extension-Example')"):

        ./bin    => $RT::LocalPluginPath/RT-Extension-Example/bin
        ./etc    => $RT::LocalPluginPath/RT-Extension-Example/etc
        ./html   => $RT::LocalPluginPath/RT-Extension-Example/html
        ./lib    => $RT::LocalPluginPath/RT-Extension-Example/lib
        ./po     => $RT::LocalPluginPath/RT-Extension-Example/po
        ./sbin   => $RT::LocalPluginPath/RT-Extension-Example/sbin
        ./static => $RT::LocalPluginPath/RT-Extension-Example/static
        ./var    => $RT::LocalPluginPath/RT-Extension-Example/var

    Accepts an optional argument hashref after the extension name with two
    possible keys

  deprecated_rt
        If set to a true value, skips the enforced RT-4.0.0 minimum version check

        You should set a perl_version if using this option and requires_rt(), because requires_rt
        only handles figuring our what perl you need if you're on RT 4.0.0 or higher.

  no_readme_generation
        If set to a true value, will not call readme_from on the extension's primary perl module.

  requires_rt *version*
    Takes one argument, a valid RT version. If an attempt is made to install
    on an RT than that version, it will die before Makefile creation.

  requires_rt_plugin *RT::Extension::Example* [, *version*]
    Ensures that the given RT extension (and optional version) is installed
    in the target RT instance; "requires" cannot be used because RT
    extensions are not in @INC.

  rt_too_new *version* [, *message*]
    Takes one argument, a valid RT version, and prevents this module from
    being installed on any version of RT equal to or newer than that. Useful
    if a particular release of an extension only works on 4.0.x but not
    4.2.x.

    Takes an optional second argument which allows you to specify a custom
    error message. This message is passed to sprintf with two string
    arguments, the current RT version and the version you specify.

CAVEATS
    *   Us the full name when calling RTx method in Makefile.PL; while
        "RTx('Foo')" was once supported, it is no longer.

ENVIRONMENT
    RTHOME
        Path to the RT installation that contains a valid lib/RT.pm.

SEE ALSO
    Module::Install

    <http://www.bestpractical.com/rt/>

AUTHORS
    Best Practical Solutions

    (Originally) Audrey Tang <[email protected]>

COPYRIGHT
    Copyright 2003, 2004, 2007 by Audrey Tang <[email protected]>. Copyright
    2008-2014 Best Practical Solutions

    This software is released under the MIT license cited below.

  The "MIT" License
    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:

    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

module-install-rtx's People

Contributors

jibsheet avatar alexmv avatar ruz avatar obra avatar sartak avatar jmdh avatar cbrandtbuffalo avatar tsibley avatar xavierba avatar

Watchers

delkyd avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.