NAME
WE_Frontend::Installer - handle servicepack creation and handling
SYNOPSIS
use WE_Frontend::Installer;
WE_Frontend::Installer->create_servicepack($tarfile);
DESCRIPTION
This module handles servicepack creation and handling.
METHODS and FUNCTIONS
- new
-
Return a new
WE_Frontend::Installerobject. - objectify($self)
-
Return a new
WE_Frontend::Installerobject, if it does not already exist in$self. Should be called as a static method. - main
-
Create a HTML page for uploading and installing a service pack. This calls either upload_form or handle_tar.
- upload_form
-
Create a HTML page for uploading a service pack.
- upload_form
-
Create a HTML page for installing a previously uploaded service pack.
- install($dir)
-
Install the contents of directory
$dirto the rootdir of the system. - WE_Frontend::Installer->create_servicepack($destfile, %args)
- $self->create_servicepack($destfile, %args)
-
Create a service pack file. Ignores all WEsiteinfo*.pm files.
The %args hash may contain the following key-value pairs:
- -wesiteinfo
-
If -wesiteinfo is specified, then use this file as the WEsiteinfo.pm file for the target site. Most times there is a WEsiteinfo.pm file for local development and a WEsiteinfo_customer.pm file for the customer site.
- -since date
-
Only include files newer than
date. Date::Parse is used for parsing the date string. - -v
-
Set to 1 to generate verbose messages.
AUTHOR
Olaf Maetner - maetzner@onlineoffice.de Slaven Rezic - slaven@rezic.de