Index: trunk/testing/installer/QUICKSTART |
— | — | @@ -22,7 +22,10 @@ |
23 | 23 | 4.1 What if my extension is not special |
24 | 24 | 4.2 My extension is still special |
25 | 25 | |
| 26 | +5. Installation subsystems |
26 | 27 | |
| 28 | +6. Full path syntax |
| 29 | + |
27 | 30 | =============== |
28 | 31 | 1. Installation |
29 | 32 | =============== |
— | — | @@ -256,4 +259,44 @@ |
257 | 260 | |
258 | 261 | eg: "REL1_12_1", "REL1_14_0" |
259 | 262 | |
| 263 | +========================== |
| 264 | +5. Installation subsystems |
| 265 | +========================== |
260 | 266 | |
| 267 | +Installer.py is actually just a front-end for several different installation systems, each specialized to do certain kinds of installation. From previous chapters, you already know mediawiki: and extension: , the other installation systems work in a similar manner. |
| 268 | + |
| 269 | +toolkit: toolkit components |
| 270 | +scripted: those extensions for which exist specialised scripts |
| 271 | +mediawiki: install a mediawiki instance |
| 272 | +naive: Assumes an extension is perfectly standard. |
| 273 | +download: downloads an extension |
| 274 | +extension: a combined installer, first tries a scripted install, failing |
| 275 | + that, it attempts a naive install. |
| 276 | +(combined) (API only) Is instantiated using multiple other installers. |
| 277 | + it will try each installer in turn, until one knows how to |
| 278 | + perform the installation, or -alternately- all fail. |
| 279 | + |
| 280 | + |
| 281 | +=================== |
| 282 | +6. Full path syntax |
| 283 | +=================== |
| 284 | + |
| 285 | +For commands with paths: |
| 286 | + |
| 287 | +statement:= <command> <path> |
| 288 | +command:= <install|uninstall|info|ls> |
| 289 | + |
| 290 | +path:= [ai.][system:]installer [in iii] [as aaa] [revision rrr] [tag ttt] [limit n] |
| 291 | + |
| 292 | +ai:=<available|installed|revisions|tags> |
| 293 | +system:=< (see under systems) > |
| 294 | + |
| 295 | +installer is some name of a script to install an item or the item name to be installed (depends on system) |
| 296 | +in where to install things *in* (typically used with the extension installer) |
| 297 | +as give something a name or alias |
| 298 | + install mediawiki:REL1_13_3 as my_mediawiki_example |
| 299 | + creates a new mediawiki instance (release 1.13.3) with the name my_mediawiki_example |
| 300 | +revision use a particular (svn) revision number |
| 301 | +tag use a particular (svn) tag |
| 302 | +limit n limits output to at most n items (analogous to the sql command of same name) (useful with ls) |
| 303 | + |