~ubuntu-branches/ubuntu/oneiric/moin/oneiric-security

« back to all changes in this revision

Viewing changes to MoinMoin/script/maint/makecache.py

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-30 12:55:34 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100330125534-4c2ufc1rok24447l
Tags: 1.9.2-2ubuntu1
* Merge from Debian testing (LP: #521834). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason for us
   to pull this in by default currently. Note: This isn't necessary anymore
   but needs a MIR for fckeditor, so postpone dropping this change until
   lucid+1
* debian/rules:
  - Replace hardcoded python2.5 with python* and hardcore python2.6 for ln
* debian/control.in: drop versioned depends on cdbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
and /data/cache directories
20
20
 
21
21
You will usually do this after changing MoinMoin code and calling "maint cleancache", by either upgrading
22
 
version, installing or removing macros or changing the regex expression for dicts.
 
22
version, installing or removing macros.
23
23
 
24
24
text_html is the name of the cache file used for compiled pages formatted
25
 
by the wiki text to html formatter, A dict file does cache the pages which
26
 
do fit to the page_group_regex variable.
 
25
by the wiki text to html formatter.
27
26
 
28
27
Detailed Instructions:
29
28
======================
30
29
General syntax: moin [options] maint makecache
31
30
 
32
31
[options] usually should be:
33
 
    --config-dir=/path/to/my/cfg/ --wiki-url=wiki.example.org/
 
32
    --config-dir=/path/to/my/cfg/ --wiki-url=http://wiki.example.org/
34
33
"""
35
34
 
36
35
    def __init__(self, argv, def_values):