~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/script/migration/data.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from MoinMoin.script import MoinScript
24
24
 
25
25
class PluginScript(MoinScript):
26
 
    """\
27
 
Purpose:
28
 
========
29
 
This tool allow you to migrate data of pages to a newer version
30
 
 
31
 
Detailed Instructions:
32
 
======================
33
 
General syntax: moin [options] migration data [migration-data-options]
34
 
 
35
 
[options] usually should be:
36
 
    --config-dir=/path/to/my/cfg/ --wiki-url=http://wiki.example.org/
37
 
 
38
 
[migration-data-options] see below:
39
 
    Please note:
40
 
    * You must run this script as the owner of the wiki files.
41
 
    * The file docs/UPDATE.html contains the general instructions
42
 
      for upgrading a wiki.
43
 
"""
44
 
 
 
26
    """ Migration script class """
45
27
 
46
28
    def __init__(self, argv, def_values):
47
29
        MoinScript.__init__(self, argv, def_values)