diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-03-04 23:17:00 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-03-05 20:37:48 +0000 |
commit | 354e368aa28ee11a729afa8bd2c0d6c668b90f5b (patch) | |
tree | cea169a98c9d9e01561a5553888d43e1f937a53a /settings.py | |
parent | 0d52678697d34d32e4ee767aff8e521e9d81754f (diff) | |
download | openembedded-core-contrib-354e368aa28ee11a729afa8bd2c0d6c668b90f5b.tar.gz |
Add support for handling multiple branches
Change the data structure to support multiple branches. At the top level
there is a set list of Branch objects, and then a LayerBranch object
between each layer and the maintainers, dependencies, recipes and
machines, so that the set of each can be different per branch. The
branch is a session option, and can be selected via a drop-down that is
shown for all pages.
Additionally, with this change we avoid the need to run the update
script within a build environment set up with oe-init-build-env - since
we need a specific version of BitBake per branch we now use our own copy
of BitBake which is fetched by the script itself. The update script will
need to be called multiple times however - once per branch.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/settings.py b/settings.py index 3dbe232d81..f9da68504e 100644 --- a/settings.py +++ b/settings.py @@ -115,6 +115,7 @@ X_FRAME_OPTIONS = 'DENY' from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP TEMPLATE_CONTEXT_PROCESSORS = TCP + ( 'django.core.context_processors.request', + 'layerindex.context_processors.layerindex_context', ) ROOT_URLCONF = 'urls' @@ -175,6 +176,12 @@ LOGIN_REDIRECT_URL = '/layerindex' # Full path to directory where layers should be fetched into by the update script LAYER_FETCH_DIR = "" +# Fetch URL of the BitBake repository for the update script +BITBAKE_REPO_URL = "git://git.openembedded.org/bitbake" + +# Core layer to be used by the update script for basic BitBake configuration +CORE_LAYER_NAME = "openembedded-core" + # Settings for layer submission feature SUBMIT_EMAIL_FROM = 'noreply@example.com' SUBMIT_EMAIL_SUBJECT = 'OE Layerindex layer submission' |