view @ 6023:7e3e406f21d9

introduce a new caching scope "userdir" Needed this because none of the existing scopes is usable for caching data related to the data that is contained in the user_dir (user profiles). This is a problem for shared user_dir scenarios, when multiple wikis share the same user_dir. This is common in farm setups with single-sign-on. "farm" scope can't be used though as not all farm wikis are required to share the users. Also, non-farm setups may also have shared user_dir. Thus, best is to have this new caching scope (and even have it stored inside the user_dir directory, so it is automatically the "right" directory without needing further configuration). Having the "cache" directory inside the user_dir is no issue as the user profiles follow a specific naming pattern and we filter for that pattern.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 11 Feb 2014 16:18:47 +0100
parents f105598176f5
line wrap: on
line source

# MoinMoin - Distutils distribution files
# Copyright (c) 2001, 2002 by Juergen Hermann <>
# All rights reserved, see COPYING for details.

# additional files not known by
include README setup.cfg moin.spec
include wikiserverlogging.conf

# documentation and licenses
recursive-include docs *

# include stuff for translators
recursive-include   MoinMoin/i18n *

# include static htdocs
recursive-include   MoinMoin/web/static/htdocs *

# include non-py stuff from werkzeug
recursive-include   MoinMoin/support/werkzeug/debug *

# contrib stuff
recursive-include   contrib *

# tests stuff
recursive-include   tests *
global-include */_tests/*

# "wiki" directory
recursive-include   wiki *

# omit revision control, python bytecode
global-exclude *.pyc
global-exclude *.pyo
global-exclude */CVS/*
global-exclude */.cvsignore

# we distribute a uncompressed version, no need for that:
global-exclude underlay.tar
global-exclude README.underlay