Custom Query (1174 matches)
Results (28 - 30 of 1174)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #28 | FIXED | wiki | ||
| Description |
Seems like it'd be helpful to have a wiki. The wiki needs to have the following properties:
Adding Chris and Tomaz for their thoughts. |
|||
| #29 | wontfix | Create a way to wipe an environment | ||
| Description |
It should be possible to do something like: ./bin/gmg wipe_environment mediagoblin.ini This should then ask the user to confirm (the user should have to type "yes") but should then wipe all:
|
|||
| #30 | FIXED | Separate out and geniericify utility for parsing config from mediagoblin/celery_setup/__init__.py | ||
| Description |
It would be great if we could have something like: >>> from mediagoblin.util import parse_app_config >>> parse_app_config(path_to_config_file, app_section='app:mediagoblin') (app_config, global_config) where the former is the app config (a dictionary of all values you see in [app:mediagoblin] in mediagoblin.ini) and the latter is the global config (a dictionary of dictionaries for all sections). This tool kind of already exists in mediagoblin/celery_setup/init.py, you can see a section like:
parser = NicerConfigParser(mgoblin_conf_file)
parser.read(mgoblin_conf_file)
parser._defaults.setdefault(
'here', os.path.dirname(os.path.abspath(mgoblin_conf_file)))
parser._defaults.setdefault(
'__file__', os.path.abspath(mgoblin_conf_file))
mgoblin_section = dict(parser.items(mgoblin_section))
mgoblin_conf = dict(
[(section_name, dict(parser.items(section_name)))
for section_name in parser.sections()])
This should be:
|
|||
