Opened 13 years ago

Last modified 13 years ago

#98 closed enhancement (FIXED)

Create "setup" submodule

Reported by: Elrond Owned by: Elrond
Priority: minor Milestone: 0.0.3
Component: programming Keywords:
Cc: Parent Tickets:

Description

The idea is to create a mediagoblin.setup submodule. This should
contain code to get the app running.

Things to move there (as examples):


-  celery\_setup/ -> setup/celery/
-  util.get\_jinja\_loader (and friends?)
-  setup\_beaker, if/when it's coming
-  Maybe code from MediaGoblinApp.**init**()

This issue is to track this idea.



Change History (5)

comment:1 by Elrond, 13 years ago

I was just playing with it. It gives a major headache up front:
"``mkdir setup && touch setup/__init__.py``" and the tests fail
strangely.
The test system thinks, that ``setup`` is a funcion on the
``mediagoblin`` module to set it up for testing.
I have a very **bad** workaround, which I hate.
So I'm looking for suggestions.



comment:2 by Elrond, 13 years ago

Okay. The current "solution" is to call the thing "init", not
"setup". Well.

Anyway: I have the dev/init branch up, which moves celery and
get\_jinja\_loader into a new mediagoblin.init submodule.



comment:3 by Christopher Allan Webber, 13 years ago

Milestone: 0.0.3
Owner: set to Elvenlord Elrond
Status: NewClosed
Merged. Thanks Elrond!



comment:4 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/385 .
Relations:
#68: follows

comment:5 by Elrond, 13 years ago

Type: defectenhancement
Note: See TracTickets for help on using tickets.