Fwd: Goals for next weeks

Wolodja Wentland debian at babilen5.org
Mon Jul 22 11:17:11 UTC 2013

On Mon, Jul 22, 2013 at 20:10 +1000, Eugenio Cano-Manuel Mendoza wrote:

> The goal is just to have a dictionary full of variables that will represent the
> context to be rendered with jinja templates. Each of these variables can come
> from different sources such as the environment, a command line option, the name
> from project.clj... The list of different variables and where they come from is
> on [1]

I will have to take a look at your changes in detail, but this sounds like a
much better approach and in line with what I had in mind.

One important aspect that you might want to think about twice is to take
advantage of configuration "layers" that are available in Python already. The
examples that I gave earlier were:

    * population of command line defaults from environment variables
      in argparse
    * ConfigParser.read(DEFAULT_CONFIG, # e.g. /usr/share/...
                        SYSTEM_CONFIG,  # e.g. /etc/foo.conf
                        LOCAL_CONFIG,   # e.g. ~/.foo.conf
      to model the hierarchy between these configuration files.

You might have done this already though, but I just wanted to emphasise this
aspect as it makes it easier for other Python developers to understand your

Thanks for your work this week and I am looking forward to your weekly report
and maybe a new blog post.

Have a good evening!
Wolodja <debian at babilen5.org>

081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-clojure-maintainers/attachments/20130722/db6f4ef5/attachment.sig>

More information about the Pkg-clojure-maintainers mailing list