chiark / gitweb /
refactor env handling for FDroidPopen to support .fdroid.* metadata
authorHans-Christoph Steiner <hans@eds.org>
Wed, 5 Aug 2015 12:39:58 +0000 (14:39 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 23 Mar 2016 16:16:27 +0000 (17:16 +0100)
commit3768d7a4d68f09005ccfe5dcd610752fee995a30
tree25e53b2206b6767e691358939af1b496e28d9114
parent9abb80b3b77622c7ad0a4d26ef33417804406c2d
refactor env handling for FDroidPopen to support .fdroid.* metadata

The start up sequence of processes that are based on the .fdroid.* metadata
is a bit different, so this ensures that the environment variables get
properly initialized in all cases.

This also creates a single function where the environment is set.  Before
it was being set in multiple places across multiple files.
fdroidserver/build.py
fdroidserver/common.py
tests/common.TestCase
tests/import.TestCase
tests/install.TestCase
tests/update.TestCase