diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-07-28 18:40:07 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-09-05 00:31:22 +0100 |
commit | c3a8eb4d825e6a2f2acfeb0ee9e0ae8b1fa532f7 (patch) | |
tree | 7df61f818228017c9a43a66f5d547151994a86a4 /layerindex/context_processors.py | |
parent | e8d734a3773f7cf6b21510fa86d53782e321d0a7 (diff) | |
download | openembedded-core-contrib-c3a8eb4d825e6a2f2acfeb0ee9e0ae8b1fa532f7.tar.gz |
Add support for importing OE-Classic recipes
Add a script for doing a one-time import of OE-Classic recipe
information, so comparisons against OE-Core can be performed; this
is stored using a new ClassicRecipe model supporting additional fields
for tracking migration status. The migration status fields can be
updated as well as viewed and summarised in graph format.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/context_processors.py')
-rw-r--r-- | layerindex/context_processors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layerindex/context_processors.py b/layerindex/context_processors.py index 44f1f80141..958081166d 100644 --- a/layerindex/context_processors.py +++ b/layerindex/context_processors.py @@ -11,7 +11,8 @@ def layerindex_context(request): if not current_branch: current_branch = 'master' return { - 'all_branches': Branch.objects.all().order_by('sort_priority'), + 'all_branches': Branch.objects.exclude(name='oe-classic').order_by('sort_priority'), 'current_branch': current_branch, 'unpublished_count': LayerItem.objects.filter(status='N').count(), + 'oe_classic': Branch.objects.filter(name='oe-classic') }
\ No newline at end of file |