PkgForge::App - Package Forge application base class.
This documentation refers to PkgForge::App version 1.4.8
package PkgForge::App::Foo; use Moose; extends 'PkgForge::App';
This is a base class for user-side Package Forge command-line applications. It adds standardised configuration file handling and holds some common attributes.
This class implements the PkgForge::ConfigFile role, see the documentation for that module for all the inherited attributes. The following additional attributes are available:
The default value for the configuration files list is overridden. The standard
/etc/pkgforge/pkgforge.yml file will always be consulted, if it exists. The application-specific files in
$HOME/.pkgforge are also examined, if they exist. For example, the
submit command will examine the following configuration files, if the exist (in this order)
Settings in files later in the sequence override those earlier in the list. So settings in a user's home directory override the common application settings which override the system-wide settings.
The location of the local installation of the Package Forge website. This is mainly used for printing out helpful links to the user. If not set the links are not printed.
The location of the incoming jobs directory.
The location of the accepted jobs directory.
The location of the results directory for the finished build jobs.
This class implements the PkgForge::ConfigFile role, see the documentation for that module for all the inherited methods. This class does not add any methods.
This is the list of platforms on which we have tested this software. We expect this software to work on any Unix-like platform which is supported by Perl.
Please report any bugs or problems (or praise!) to email@example.com, feedback and patches are also always very welcome.
Stephen Quinney <firstname.lastname@example.org>
Copyright (C) 2010-2011 University of Edinburgh. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the terms of the GPL, version 2 or later.