﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
196	Change storage configuration in .ini	Elrond	Elrond	"{{{
#!rst
The current configuration for the storage looks like this:

::

    [mediagoblin]
    publicstore_class = StorageBackend
    publicstore_base_dir = %(here)s/user_dev/media/public
    publicstore_base_url = /mgoblin_media/
    publicstore_password = secret

Instead I suggest an alternative configuration scheme:

::

    [storage:publicstore]
    class = StorageBackend
    base_dir = %(here)s/user_dev/media/public
    base_url = /mgoblin_media/
    password = secret

I implemented this on my dev/storage\_config branch.

There is also an other config option with configobj, sub sub
sections:

::

    [storage]
      [ [ publicstore ] ]
      base_dir = %(here)s/user_dev/media/public
      base_url = /mgoblin_media/
    
      [ [ queuestore ] ]
      base_dir = %(here)s/user_dev/media/queue

I don't know, if this one is ""better"". I would prefer the first
one.



}}}"	enhancement	closed	minor	0.0.5	programming	FIXED			
