RTDevSys::Cmd::Roles::Standard - A role containing common attributes used in all RTDevSys commands.
EARLY VERSION WARNING
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 role contains common attributes recognised by RTDevSys. This role should be done by all the commands available to RTDevSys. When a command is run all these attributes will be set if specified. When one of these attributes is set it triggers the same attribute in the RTDevSys class to be set.
package RTDevSys::Cmd::Command::mycommand; use RTDevSys; use Moose; extends qw(MooseX::App::Cmd::Command); # The part that matters with 'RTDevSys::Cmd::Roles::Standard'; ...
$ rtdevsys --build stable $ rtdevsys --build demo $ rtdevsys --build devel
RT Installation Path (RTHOME)
Database password (RT_DB_PASSWORD)
RT/DB User (RT_USER)
RT Group (RT_GROUP)
RT/DB User (RT_WEB_USER)
RT Group (RT_WEB_GROUP)
versions.yaml file to use
Database database user (RT_DB_USER)
Database database user (RT_DB_DRIVER)
Database port number (RT_DB_PORT)
Database Host (RT_DB_HOST)
Database name (RT_DB)
Chad Granum <firstname.lastname@example.org>
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/>.