{"id":19648581,"url":"https://github.com/bestpractical/module-install-rtx","last_synced_at":"2025-04-28T16:30:28.356Z","repository":{"id":605176,"uuid":"241820","full_name":"bestpractical/module-install-rtx","owner":"bestpractical","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-22T19:45:35.000Z","size":165,"stargazers_count":5,"open_issues_count":2,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-05T09:25:21.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.cpan.org/dist/Module-Install-RTx","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestpractical.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-07-02T18:14:42.000Z","updated_at":"2025-01-22T19:44:53.000Z","dependencies_parsed_at":"2025-01-22T20:33:56.808Z","dependency_job_id":null,"html_url":"https://github.com/bestpractical/module-install-rtx","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fmodule-install-rtx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fmodule-install-rtx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fmodule-install-rtx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fmodule-install-rtx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestpractical","download_url":"https://codeload.github.com/bestpractical/module-install-rtx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251345725,"owners_count":21574765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:49:06.173Z","updated_at":"2025-04-28T16:30:28.322Z","avatar_url":"https://github.com/bestpractical.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Module::Install::RTx - RT extension installer\n\nSYNOPSIS\n    In the Makefile.PL of the \"RT-Extension-Example\" module:\n\n        use inc::Module::Install;\n        RTx 'RT-Extension-Example';\n\n        requires_rt '5.0.0';\n        rt_too_new  '6.0.0';\n\n        WriteAll();\n\nDESCRIPTION\n    This Module::Install extension implements several functions for\n    installing RT extensions:\n\n  RTx '*extension name*'\n    This function arranges for the following directories to be installed, if\n    they exist (assuming RTx('RT-Extension-Example')):\n\n        ./bin    =\u003e $RT::LocalPluginPath/RT-Extension-Example/bin\n        ./etc    =\u003e $RT::LocalPluginPath/RT-Extension-Example/etc\n        ./html   =\u003e $RT::LocalPluginPath/RT-Extension-Example/html\n        ./lib    =\u003e $RT::LocalPluginPath/RT-Extension-Example/lib\n        ./po     =\u003e $RT::LocalPluginPath/RT-Extension-Example/po\n        ./sbin   =\u003e $RT::LocalPluginPath/RT-Extension-Example/sbin\n        ./static =\u003e $RT::LocalPluginPath/RT-Extension-Example/static\n        ./var    =\u003e $RT::LocalPluginPath/RT-Extension-Example/var\n\n    Accepts an optional argument hashref after the extension name with two\n    possible keys\n\n  deprecated_rt\n        If set to a true value, skips the enforced RT-4.0.0 minimum version check\n\n        You should set a perl_version if using this option and requires_rt(), because requires_rt\n        only handles figuring our what perl you need if you're on RT 4.0.0 or higher.\n\n  no_readme_generation\n        If set to a true value, will not call readme_from on the extension's primary perl module.\n\n  requires_rt *version*\n    Takes one argument, a valid RT version. If an attempt is made to install\n    on an RT than that version, it will die before Makefile creation.\n\n  requires_rt_plugin *RT::Extension::Example* [, *version*]\n    Ensures that the given RT extension (and optional version) is installed\n    in the target RT instance; \"requires\" cannot be used because RT\n    extensions are not in @INC.\n\n  rt_too_new *version* [, *message*]\n    Takes one argument, a valid RT version, and prevents this module from\n    being installed on any version of RT equal to or newer than that. Useful\n    if a particular release of an extension only works on 4.0.x but not\n    4.2.x.\n\n    Takes an optional second argument which allows you to specify a custom\n    error message. This message is passed to sprintf with two string\n    arguments, the current RT version and the version you specify.\n\n  remove_files\n    If set to a true value, during installation any files listed in a\n    \"remove_files\" file will be removed from the destination directories.\n    This feature is for removing files that have been deleted or moved in\n    the current version and leaving the old version in place when upgrading\n    can cause problems.\n\n    RTx looks for a \"remove_files\" file in the etc/upgrade directory of the\n    distribution. The format of the \"remove_files\" file is as follows:\n\n        package Module::Install::RTx;\n\n        @remove_files = qw(\n        html/dir/file_to_remove\n        );\n        1;\n\n    The file locations are relative to the distribution. The destination\n    directory prefix is added automatically.\n\nCAVEATS\n    *   Us the full name when calling RTx method in Makefile.PL; while\n        RTx('Foo') was once supported, it is no longer.\n\nENVIRONMENT\n    RTHOME\n        Path to the RT installation that contains a valid lib/RT.pm.\n\nEXAMPLES\n    To install an extension which makes use of this installer:\n\n        perl Makefile.PL RTHOME=/opt/rt6\n\n    This will install all subdirs into the $RT::LocalPluginPath dir as\n    configured in RT::Generated.\n\n    To install an extension into the (vendor) plugin path:\n\n        perl Makefile.PL RTHOME=/opt/rt6 INSTALLDIRS=vendor\n\n    This will install all subdirs into the $RT::PluginPath which is\n    specifically meant for plugins that are installed through other\n    packaging utils like APT or RPM.\n\nSEE ALSO\n    Module::Install\n\n    \u003chttp://www.bestpractical.com/rt/\u003e\n\nAUTHORS\n    Best Practical Solutions\n\n    (Originally) Audrey Tang \u003ccpan@audreyt.org\u003e\n\nCOPYRIGHT\n    Copyright 2003, 2004, 2007 by Audrey Tang \u003ccpan@audreyt.org\u003e. Copyright\n    2008-2025 Best Practical Solutions\n\n    This software is released under the MIT license cited below.\n\n  The \"MIT\" License\n    Permission is hereby granted, free of charge, to any person obtaining a\n    copy of this software and associated documentation files (the\n    \"Software\"), to deal in the Software without restriction, including\n    without limitation the rights to use, copy, modify, merge, publish,\n    distribute, sublicense, and/or sell copies of the Software, and to\n    permit persons to whom the Software is furnished to do so, subject to\n    the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Fmodule-install-rtx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestpractical%2Fmodule-install-rtx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Fmodule-install-rtx/lists"}