summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-13 20:34:25 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-18 20:04:23 +0900
commit1f6be7edfe6b0f0458da703cd8af71fedf25e9ed (patch)
tree6bb93702f6b636be8e82bec8ca90da553cd3aeb8
parent54fc68208a16636f09154ad2ccbdd980441ca7c2 (diff)
downloadtic-core-1f6be7edfe6b0f0458da703cd8af71fedf25e9ed.tar.gz
tic-core-1f6be7edfe6b0f0458da703cd8af71fedf25e9ed.tar.bz2
tic-core-1f6be7edfe6b0f0458da703cd8af71fedf25e9ed.zip
[TIC-Core] Show all pkg in "advanced". Force filter out "-devel"
These are TDC-demo only features (to hide known bugs) Change-Id: I7ed599867185a1fe6c20c001a35672316ce451b4 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--tic/parser/view_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tic/parser/view_parser.py b/tic/parser/view_parser.py
index 59603b4..af4e6b0 100644
--- a/tic/parser/view_parser.py
+++ b/tic/parser/view_parser.py
@@ -225,8 +225,8 @@ def make_view_data(pkg_group):
misc_info['text'] = 'Advanced (individual packages)'
misc_info['nodes'] = []
for k, v in pkg_dict.iteritems():
- # Pkg is not referenced from Meta-pkg
- if not v.get('meta') and refer_count[v['id']] == 0:
+ # Add ALL non-block packages
+ if v['name'][0:15] != 'building-blocks':
misc_info['nodes'].append(make_node(v))
misc_info['nodes'] = sorted(misc_info['nodes'], key = lambda k: k['metaname'] if 'metaname' in k else k['text'])