[Bigbang-dev] We need to put data storage paths into a configuration file

Sebastian Benthall sb at ischool.berkeley.edu
Thu Dec 18 13:27:38 PST 2014


An upcoming development priority for us will need to be providing a
configuration file as the place to put paths to data storage folders (I'm
thinking where we are keeping archived email lists, git repos, etc.)

Currently those paths are hard-coded, which is poor form and is started to
lead to bugs.

https://github.com/sbenthall/bigbang/issues/113
https://github.com/sbenthall/bigbang/issues/129

There are a number of options for how to do this. We could use a YAML file
for configuration, or the .cfg format which uses Pythons ConfigParser. We
could also do what Django does have have a settings.py file for
configuration constants.

I'm pretty indifferent to which method we use myself; my high-level
understanding is that they all do pretty much the same thing. But I was
wondering if anybody else had a strong preference.

Thanks,
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sudoroom.org/pipermail/bigbang-dev/attachments/20141218/5c5973f4/attachment.html>


More information about the BigBang-dev mailing list