r69830 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69829‎ | r69830 | r69831 >
Date:15:52, 24 July 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Updated structure to match changes in the new installer
Modified paths:
  • /trunk/extensions/Deployment/includes/DeployInstaller.php (deleted) (history)
  • /trunk/extensions/Deployment/includes/ExtensionInstaller.php (added) (history)
  • /trunk/extensions/Deployment/includes/installers (deleted) (history)

Diff [purge]

Index: trunk/extensions/Deployment/includes/DeployInstaller.php
@@ -1,62 +0,0 @@
2 -<?php
3 -
4 -/**
5 - * File holding the DeployInstaller class.
6 - * Based on the WordPress 3.0 class WP_Upgrader.
7 - *
8 - * @file Installer.php
9 - * @ingroup Deployment
10 - * @ingroup Installer
11 - *
12 - * @author Jeroen De Dauw
13 - */
14 -
15 -/**
16 - * This documenation group collects source code files with Installer related features.
17 - *
18 - * @defgroup Installer Installer
19 - */
20 -
21 -/**
22 - * Class for Installing or upgrading a local set of files via the Filesystem Abstraction classes from a Zip file.
23 - *
24 - * @author Jeroen De Dauw
25 - */
26 -abstract class DeployInstaller {
27 -
28 - /**
29 - * Constructor
30 - */
31 - public function __construct() {
32 - // TODO
33 - }
34 -
35 - /**
36 - * Initiates the installation procedure.
37 - */
38 - public function doInstallation() {
39 -
40 - }
41 -
42 - /**
43 - * Downloads a package needed for the installation.
44 - */
45 - protected function downloadPackage() {
46 -
47 - }
48 -
49 - /**
50 - * Unpacks a package needed for the installation.
51 - */
52 - protected function unpackPackage() {
53 -
54 - }
55 -
56 - /**
57 - * Installs a package.
58 - */
59 - protected function installPackage() {
60 -
61 - }
62 -
63 -}
\ No newline at end of file
Index: trunk/extensions/Deployment/includes/ExtensionInstaller.php
@@ -0,0 +1,71 @@
 2+<?php
 3+
 4+/**
 5+ * File holding the ExtensionInstaller class.
 6+ * Based on the WordPress 3.0 class WP_Upgrader.
 7+ *
 8+ * @file ExtensionInstaller.php
 9+ * @ingroup Deployment
 10+ * @ingroup Installer
 11+ *
 12+ * @author Jeroen De Dauw
 13+ */
 14+
 15+/**
 16+ * Class for Installing or upgrading MediaWiki extensions via the Filesystem Abstraction classes from a Zip file.
 17+ *
 18+ * @author Jeroen De Dauw
 19+ */
 20+class ExtensionInstaller extends Installer {
 21+
 22+
 23+ /**
 24+ * Constructor
 25+ */
 26+ public function __construct() {
 27+ // TODO
 28+ }
 29+
 30+ /**
 31+ * Initiates the installation procedure.
 32+ */
 33+ public function doInstallation() {
 34+
 35+ }
 36+
 37+ /**
 38+ * Downloads a package needed for the installation.
 39+ */
 40+ protected function downloadPackage() {
 41+
 42+ }
 43+
 44+ /**
 45+ * Unpacks a package needed for the installation.
 46+ */
 47+ protected function unpackPackage() {
 48+
 49+ }
 50+
 51+ /**
 52+ * Installs a package.
 53+ */
 54+ protected function installPackage() {
 55+
 56+ }
 57+
 58+ /**
 59+ * @param unknown_type $msg
 60+ */
 61+ public function showMessage($msg) {
 62+
 63+ }
 64+
 65+ /**
 66+ * @param unknown_type $status
 67+ */
 68+ public function showStatusMessage($status) {
 69+
 70+ }
 71+
 72+}
\ No newline at end of file
Property changes on: trunk/extensions/Deployment/includes/ExtensionInstaller.php
___________________________________________________________________
Added: svn:eol-style
173 + native

Status & tagging log