aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-07 12:15:12 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-16 15:31:46 +1300
commit43203c578ce856377751f9db7a0bf020ad8b0c5d (patch)
treee93cc76a084efa9a603b447c1a98cce5702e6325 /settings.py
parentcc1d82f893468faa4ae8157af5a63a3189c5f869 (diff)
downloadopenembedded-core-contrib-43203c578ce856377751f9db7a0bf020ad8b0c5d.tar.gz
Record and display update logs
At the moment it's a bit difficult to get update logs out of the environment in which the update script is being run. In order to make the logs more accessible, create a LayerUpdate model to record the output of update_layer.py separately for each layerbranch and tie the created LayerUpdates together with a single Update model per session. We provide two ways to look at this - a Tools->Updates page for logged-in users, and there's also an "Updates" tab on each layer that is accessible to anyone; which one is useful depends on whether you are looking at the index as a whole or an individual layer. Update records older than 30 days are deleted automatically by default. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 9896136ea5..0ecf90b0ff 100644
--- a/settings.py
+++ b/settings.py
@@ -211,6 +211,9 @@ 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"
+# Update records older than this number of days will be deleted every update
+UPDATE_PURGE_DAYS = 30
+
# Settings for layer submission feature
SUBMIT_EMAIL_FROM = 'noreply@example.com'
SUBMIT_EMAIL_SUBJECT = 'OE Layerindex layer submission'