RTDevSys::Cmd::Command::rt - Command to manage installations of RT.
This is a very early version of RTDevSys. It is ready for use, and in fact is being used. However there may be some API changes in the future. As well there may be some missing, incomplete, or untested features. At the moment the database commands only support postgres not mysql.
This class is a command used to install, uninstall, and patch RT.
$ rtdevsys rt --install $ rtdevsys rt --uninstall $ rtdevsys help rt
Attributes are flags that can be passed to the command line.
$ rtdevsys rt --ATTRIBUTE
Install RT (implies --patch)
Uninstall RT (implies --clean)
Run the RT test suite
Clean RT installation (implies --unpatch)
initialize the database
This command adds the following deployment tasks. Deployment tasks are run when the 'deploy' command is used.
This does the following:
uninstall rt make sure old patches are undone. patch rt installation files install rt unpatch rt installation files init the database (if requested)
This deployment task will move the RT_SiteConfig file RT installs by default to your custom config directory, unless a config file already exists there. It will then put a new RT_SiteConfig file in place that redirects to the custom one.
This function writes a RT_SiteConfig.pm file to the installation directory. The generated file will simply require the custom config file, and the plugins config file.
This function will install RT to the RT installation directory as specified in the RTDSConfig file, or command line arguments.
Uninstall RT (rm -rf INSTALL_DIR)
Run the initialize-database make rule from the RT source dir. WARNING: WILL DROP THE DATABASE FIRST
Silently unpatches the RT installation source, then proceeds to patch it again.
Unpatch the RT installation source.
Chad Granum <email@example.com>
Copyright 2009 OpenSourcery, LLC.
This file is part of RTDevSys
RTDevSys is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
RTDevSys is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with RTDevSys. If not, see <http://www.gnu.org/licenses/>.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 22:
Unknown directive: =head
- Around line 354:
You forgot a '=back' before '=head1'