Issue #272 new

auto-create storage / index if they do not exist?

Thomas Waldmann
repo owner created an issue

On GAE (see gae branch, if not merged yet), the code detects whether there is already an index and if not, autocreates one.

Do we want this behaviour also on the non-GAE version?

Can it be a moin storage / whoosh storage independant check (so that the real check is in the storage implementation, not in moin highlevel code)?

Comments (1)

  1. Thomas Waldmann reporter

    there was some work done in http://hg.moinmo.in/moin/2.0/rev/7ad25fc92ee4 - but it's not quite finished yet:

    • putting cli_index.py into the toplevel dir is a bit unpretty
    • usage is not documented

    Please note that this stuff is NOT gae specific, it's valid for all deployments where you can't (or don't want to) work on the shell / commandline.

    Currently, cli_index.py is only available via the web on GAE (as it is mapped via app.yaml), can we improve that so it works for non-GAE also?

  2. Log in to comment