summaryrefslogtreecommitdiff
path: root/rule_checker.py
AgeCommit message (Collapse)AuthorFilesLines
2017-08-18[Updating] Adding to modify model-config file.submit/tizen/20170818.081859accepted/tizen/unified/20170818.155136wchang kim1-1/+1
permitted to use posttrans. Added some model-config keys. Change-Id: I605dda647c20c456342d8ce6bae6bdc24fe6cd0d
2017-08-03TPE-141 Remove RULE 5.4Donghoon Shin1-313/+337
Remove RULE 5.4 because domain building block need to link another domain blocks Change-Id: I0cb322dd3958b58cfc8f217d069210cc2563f255 Signed-off-by: Donghoon Shin <dhs.shin@samsung.com>
2017-06-14Domain-API: add pkgs listed by TPL 20170607hk57.kim1-2/+2
Change-Id: I6a441d9175a190653d2a820b37152481f5f549b0 Signed-off-by: hk57.kim <hk57.kim@samsung.com>
2017-04-25RULE 5.7.1 modified to allow smart-device examples to express KSMyungJoo Ham1-1/+1
Change-Id: Ia759ed5b6d18861aaf6b876adb8722273a7cd049 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-13RULE: a board package may include KS construction infomationMyungJoo Ham1-0/+15
An example is given with Preset_boards-RPI3_headlessBSP Added RULE 5.7. Added rulechecker for RULE 5.7. NOTE: TIC/TIC-Core update for KS Construction is in progress (will send the commit today or tomorrow) Change-Id: Iaf9b00c9704cb6e62f1b82447171a0acb070e33d Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-13RULE: UI Block RuleMyungJoo Ham1-0/+11
Next version of TIC supports UI blocks. RULES for such UI blocks are described. Before SR'ing this, TIC-Core should merge https://review.tizen.org/gerrit/#/c/124779/ Change-Id: I55a11b5c7df4424f6a003c6f22d0f245159f967d Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-11Preset: auto-generate preset/zblocks from yaml filessubmit/tizen/20170411.104924MyungJoo Ham1-1/+1
From Idea of YD Seo. Change-Id: I83e208d661bd5cb0fff96b3d4fbab3533c81dbc9 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-10RULE: Do not refer to a block not existing in this repo.submit/tizen/20170410.101333submit/tizen/20170410.101234accepted/tizen/unified/20170410.160351MyungJoo Ham1-1/+15
- Added a rule - Added the rule check in rule checker - Corrected violating blocks. Change-Id: I5e1006a1dafeb35a5344a2da8e1eef316898d3ff Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-06Category Prefix Revised.submit/tizen/20170407.070040accepted/tizen/unified/20170407.190812MyungJoo Ham1-3/+3
1. preset --> Preset (TIC shows capitalized packages first) 2. (none) --> domain (to allow TIC to sort blocks per category) Change-Id: I28fea763fbb625821c94f3289ca11ec62866c5a8 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-06RULE: rule checker hide verbose message. -v to show them.MyungJoo Ham1-6/+22
Change-Id: Icff0dba64b69c652b4e11a4b2738752ee4455ec4 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-06RULE: fix: allow %ifarch/%endifMyungJoo Ham1-2/+2
1. Allow %ifarch/%endif in %files section 2. Make a more clear error message for RULE 5-3. Change-Id: I2f04234c8b01dd6d718ceece94643ee085081131 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-06RULE: sub3 is allowed. rulecheck updated.MyungJoo Ham1-12/+29
RULE and rule checker updated 1. sub3 is allowed (but warning is emitted) Change-Id: I7668cd19d3dbd7efa591cf6d5138150ac2b86e37 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-05RULE: rule check on RULE 5.4MyungJoo Ham1-2/+25
Change-Id: Ia804e4f662c931c3b70f28e648f0129f7bfc4a15 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-04-05RULE: skip checking on requiring/suggesting packagesMyungJoo Ham1-1/+5
1. If the target is non-block packages, we do not need to check them. 2. Corrected error message. Change-Id: If8e8655d54758807c201f0e28541850e4372e1d7 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: prevent hacking with non .inc filesMyungJoo Ham1-1/+7
Change-Id: I751927f469d9c262fb9cd6dbe6404728358f305d Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: todo completedMyungJoo Ham1-7/+1
Change-Id: I0e02d26bef1c3eafbc4645ccbcf3a70930d89973 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: rule checker can check more rulesMyungJoo Ham1-19/+212
- Orphaned blocks - Added rules Change-Id: Ifa3ec976502960a491072e24e7f07e16794d60e6 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: add rulechk 1.6/1.7. fix block defs accordinglyMyungJoo Ham1-2/+23
Change-Id: If83c96417c4318c2fafef70993c5ebd799f99c9e Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: add rule 1-9. error report format addedMyungJoo Ham1-1/+24
Change-Id: I853d32187ab7697daa9f7dbb71321acae72a35d5 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: enforce rule check at buildMyungJoo Ham1-0/+5
Change-Id: I67f55b495fcc864cfb54d3d202cb2ed9f4585e8a Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: rule checker bugfixMyungJoo Ham1-8/+8
Change-Id: Ia230691e39b426fbf07df5f146d8e890f5b776a2 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-03-16RULE: added rules and a prototype rule checker.MyungJoo Ham1-0/+89
Change-Id: I401ff877697370699b2449a7b84d88cb87559df7 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>