Gallery:脚本化安装程序的协作程序

来自站长百科
Firebrance讨论 | 贡献2008年11月21日 (五) 15:44的版本
跳转至: 导航、​ 搜索

This document is available as PDF: [下载]


Excerpt:

As an alternative to the official Gallery 2 Installation wizard there are providers of scripted and automated Gallery 2 installation tools.

The goal of the Collaboration Program for Scripted Gallery 2 Installers is to improve customer satisfaction by solving common challenges of scripted Gallery 2 installation tools.

As a provider of Gallery 2 installation products you are asked to follow the specified recommendations and invited to cooperate with the Gallery Project and other installation tool providers to work towards the declared goal.


The full document is available as PDF: [下载]


Discussion

Requested Features and Changes

  • Installation and upgrade through CLI, e.g. php -f install.php?db=foo&adminPassword=bar&... and upgrade.php.
  • Alternatively:
    • Ability to hide storage / database settings in the installer and inject some preconfigured data
    • Way to bypass authentication step (w/o creating a security hole)
    • Add security step or note at the end of the upgrader to request the user to chmod config.php back to 444.

Pending Codex Changes

  • Add information on how to upgrade for all auto-installers (e.g. that users of Installatron can use Installatron or the normal upgrade procedure) to upgrade Gallery.

3rd Party Modifications to Gallery 2

Installatron

  • Only changes some parts of the install/ wizard to omit input forms for preconfigured settings (auth, storage, database).

Problems

  • External time limits fort he uprade process
    • Maybe add some kind of signaling after an initial estimation of the length / work that needs to be done?
    • A timeout of 10 minutes plus an automated backup could do the job. For the few users that run into a problem, there would still be a backup.