archive/20170607/tools/tic-core.git
7 years ago[TIC-CORE] fix the issue that cannot analyze the install-dependency 48/126348/1
Chulwoo Shin [Fri, 21 Apr 2017 05:01:23 +0000 (14:01 +0900)]
[TIC-CORE] fix the issue that cannot analyze the install-dependency

- fix the issue that cannot analyze the install-dependency
- support recommends tag

Change-Id: I0204c9b0c372d8f9735e19b7da7640c3bbc20d21
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years agoMerge remote-tracking branch 'origin/master' into develop 34/125834/1
Chulwoo Shin [Wed, 19 Apr 2017 05:16:53 +0000 (14:16 +0900)]
Merge remote-tracking branch 'origin/master' into develop

Change-Id: I309de2797251f86bbe71b77119d3bc8039454f2b
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Core] Handle errors when __KS_URL__ fails 90/125690/1
MyungJoo Ham [Tue, 18 Apr 2017 11:20:31 +0000 (20:20 +0900)]
[TIC-Core] Handle errors when __KS_URL__ fails

Change-Id: If7b859768890f498771fcd840f740bd379bcab8d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years ago[TIC-Core] Show all pkg in "advanced". Force filter out "-devel" 89/125689/1
MyungJoo Ham [Thu, 13 Apr 2017 11:34:25 +0000 (20:34 +0900)]
[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>
7 years ago[TIC-CORE] fix name of default recipe for export function 12/125612/3
Chulwoo Shin [Tue, 18 Apr 2017 06:15:05 +0000 (15:15 +0900)]
[TIC-CORE] fix name of default recipe  for export function

- fix name of default recipe  for export function
- default recipe: recipe.yaml

Change-Id: I2259bc9ad3e4ad646b96ca6f1f3124b788399c7b
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] filter self-referencing 79/125479/1
Chulwoo Shin [Mon, 17 Apr 2017 11:45:58 +0000 (20:45 +0900)]
[TIC-CORE] filter self-referencing

- filter self-referencing (e.g. vim-base rpm)

Change-Id: I603341b63af20b435ae346e4e7c72dcd369d28e5
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] change the license from apache 2.0 to flora 1.1 57/125457/1
Chulwoo Shin [Mon, 17 Apr 2017 08:51:34 +0000 (17:51 +0900)]
[TIC-CORE] change the license from apache 2.0 to flora 1.1

- change the license
- update the boilerplate in source code

Change-Id: I75fb373a8f08900fe9c146dbdb41a7a13089fda8
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] merge master into develop 52/125452/1
Chulwoo Shin [Mon, 17 Apr 2017 08:40:29 +0000 (17:40 +0900)]
[TIC-CORE] merge master into develop

Merge remote-tracking branch 'origin/master' into develop

Change-Id: I518ca1f188792aea8825f10f078ea6d096a23e37

7 years ago[TIC-Core] handle dscription data, show other blocks in block 31/125031/2
MyungJoo Ham [Thu, 13 Apr 2017 11:08:33 +0000 (20:08 +0900)]
[TIC-Core] handle dscription data, show other blocks in block

These are emergency implementation for TDC demo/keynotes
The syntax (__KS_URL__, __EXPAND__) can be changed later.

1. %description / __KS_URL__: URL

   allows to link KS (to extract ks script except for %packages) from a block.
TODO: if there are two blocks with ks, ignore one with warning. (and warning at choose)
TODO: apply the content from the URL to recipe for MIC

2. %description / __EXPAND__

   allows to expand the block by default at the load of TIC
TODO: in, __EXPAND: {str}, handle {str} AFTER filter-tab is implemented

3. Allow to show blocks that is not children.

Change-Id: If9e7b9ad92aa65b6e0f1d894a588b85bc2905bc3
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years ago[TIC-Core] Allow to express UI elements within package list with UI meta blocks 79/124779/3
MyungJoo Ham [Wed, 12 Apr 2017 10:22:41 +0000 (19:22 +0900)]
[TIC-Core] Allow to express UI elements within package list with UI meta blocks

If a meta package name ends with "__UI__xx", it is a UI meta block.

xx denotes for the UI element it stands for:

- BR/br: blank line
- HR/hr: <hr>
- SD/sd: shade (not tested)
- SM/sm: Summary text message
- HT/ht: HTML code from summary message (not tested)

Change-Id: Ife75da45f642be998910e23b9cd2b0b11da49d1c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years ago[TIC-Core] Sorting rule revised 37/124737/3
MyungJoo Ham [Wed, 12 Apr 2017 08:17:53 +0000 (17:17 +0900)]
[TIC-Core] Sorting rule revised

1. Show meta-packages before non-meta-packages if a meta package has both.

2. Sort "ETC" packages as well

3. Rename ETC

Change-Id: Ifda046fc8f6ddcfa15fc76dfd5ccca3a100c1c78
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years ago[TIC-Core] Fix: do not refer to undefined dictionary 26/124526/2
MyungJoo Ham [Tue, 11 Apr 2017 12:16:49 +0000 (21:16 +0900)]
[TIC-Core] Fix: do not refer to undefined dictionary

Change-Id: I566d7bb1f58b92f2b96e88ad398882862550c399
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years ago[TIC-Core] Fixed recovery code to handle rpm conflicts 04/123604/3
Chulwoo Shin [Thu, 6 Apr 2017 08:05:25 +0000 (17:05 +0900)]
[TIC-Core] Fixed recovery code to handle rpm conflicts

- Fixed recovery code to handle rpm conflicts

Change-Id: I712bf82f3fb045e0e534165b68b1e65460d2c50f
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years agoMerge branch 'develop' 58/123558/1
ChangHyun Lee [Thu, 6 Apr 2017 05:50:15 +0000 (14:50 +0900)]
Merge branch 'develop'

Change-Id: I0a4de9d5c0cdc6cd07edeef066bf74bc28b045af
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Core] classification of building-block-category pkgs 94/123494/1
Chulwoo Shin [Thu, 6 Apr 2017 01:08:34 +0000 (10:08 +0900)]
[TIC-Core] classification of building-block-category pkgs

- Supports meta classification functions
- Tic-core can dynamically expand categories

Change-Id: I69157ba02bc4b91b73bbf4082c1f323c2183b98e
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] supports new recipe 53/123253/1
Chulwoo Shin [Wed, 5 Apr 2017 05:28:11 +0000 (14:28 +0900)]
[TIC-CORE] supports new recipe

- supports the recipe
- import/export recipe or kickstart file.

Change-Id: I20a7afbf6451da736034523d55121d33cd447144
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Merge remote-tracking branch 'origin/develop' 04/122004/1 v20170331
Chulwoo Shin [Thu, 30 Mar 2017 02:06:47 +0000 (11:06 +0900)]
[TIC-CORE] Merge remote-tracking branch 'origin/develop'

Change-Id: I0ac4cd472b5aa29c706c201437c9d5528fd1e42b
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] support local repository 14/119714/2
Chulwoo Shin [Mon, 20 Mar 2017 02:16:45 +0000 (11:16 +0900)]
[TIC-CORE] support local repository

- support local repository
- modify view name of meta-package in tic-web

Change-Id: I29002cabb41f440bc027fd7ed20daa92ada9c712
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Merge remote-tracking branch 'origin/develop' 50/119050/1 v20170316
Chulwoo Shin [Wed, 15 Mar 2017 08:45:41 +0000 (17:45 +0900)]
[TIC-CORE] Merge remote-tracking branch 'origin/develop'

Change-Id: I7ba5b0fec7976448699facb3d07b958f86be9ca2
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] support recommends tag 19/119019/1
Chulwoo Shin [Wed, 15 Mar 2017 07:00:41 +0000 (16:00 +0900)]
[TIC-CORE] support recommends tag

- support dedendency analysis for recommends tag
- support tic-core configurations

Change-Id: I7c9a7579a04726536721c9e4832773b27c609bef
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] support caching for analysis data 54/118354/1
Chulwoo Shin [Fri, 10 Mar 2017 05:50:33 +0000 (14:50 +0900)]
[TIC-CORE] support caching for analysis data

- support caching for analysis data
- fix result data for export commend

Change-Id: Ief7114e167bf0f91d3c1bcfadf18367f238ac759
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years agoMerge remote-tracking branch 'origin/develop' 22/117722/1
Chulwoo Shin [Tue, 7 Mar 2017 07:53:23 +0000 (16:53 +0900)]
Merge remote-tracking branch 'origin/develop'

Change-Id: Icd9a80523ecaaa11501cbacf89759626e25298dd

7 years ago[TIC-CORE] fix partitions info for default recipe 19/117719/1
Chulwoo Shin [Tue, 7 Mar 2017 07:44:10 +0000 (16:44 +0900)]
[TIC-CORE] fix partitions info for default recipe

fix partitions info for default recipe

Change-Id: I3a3f77eb4631b2be198a4d17cd5a89b2e2a276e2
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] fix partition for default recipe 04/117704/1
Chulwoo Shin [Tue, 7 Mar 2017 07:07:14 +0000 (16:07 +0900)]
[TIC-CORE] fix partition for default recipe

fix partition for default recipe

Change-Id: I8f91bba394b3186f869bdf6ef0c882f3007157a9
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years agoMerge remote-tracking branch 'origin/develop' 89/117689/1
Chulwoo Shin [Tue, 7 Mar 2017 06:17:54 +0000 (15:17 +0900)]
Merge remote-tracking branch 'origin/develop'

Change-Id: I3a47b78223538cec3ceaac2db79c9fda7b43c9f9

7 years ago[TIC-CORE] Support for multiple request processing 73/117673/3
Chulwoo Shin [Tue, 7 Mar 2017 05:35:06 +0000 (14:35 +0900)]
[TIC-CORE] Support for multiple request processing

- divide temp/cached directory
- Change libgrabber to urllib2 for multi-request support

Change-Id: I747f6db53d615c7b661668d83335ffe97df934be
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] fix the default package selection 07/117607/1
Chulwoo Shin [Tue, 7 Mar 2017 00:47:54 +0000 (09:47 +0900)]
[TIC-CORE] fix the default package selection

fix the default package selection
If the defulat package does not exist, ignore it.

Change-Id: I73891f7778c6bc2846c50654460be41656d51ebf
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Set the default installation packages 29/116629/1
Chulwoo Shin [Mon, 27 Feb 2017 18:51:13 +0000 (03:51 +0900)]
[TIC-CORE] Set the default installation packages

- Set the default installation packages (building-blocks-root-Headless)

Change-Id: I912304ce7758156fcc5d3e8d7db4f03db8d8088e
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] fixed default file name of kickstart 88/116588/3
Chulwoo Shin [Mon, 27 Feb 2017 15:34:55 +0000 (00:34 +0900)]
[TIC-CORE] fixed default file name of kickstart

- fixed default name of kickstart
- fixed repository url of default recipe

Change-Id: I3758fe641a3e210fdad74f6775fe0062eff75adb
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Support analysis of unified repositories 64/116564/1
Chulwoo Shin [Mon, 27 Feb 2017 14:19:29 +0000 (23:19 +0900)]
[TIC-CORE] Support analysis of unified repositories

- support analysis of unified repositories
- support dependency tag for recommends/suggest

Change-Id: I9b74ec52b9118f0853c9dbd626d821ca34f724d6
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] fix provide's version handling 15/113615/1
Chulwoo Shin [Wed, 8 Feb 2017 16:51:25 +0000 (01:51 +0900)]
[TIC-CORE] fix provide's version handling

If the provide tag does not hava a version, fix it to use version of
package

Change-Id: I57ab27779b57f60bf95780fb3c38d5c0ccc6ed69
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] provide conflict function 90/112690/1
Chulwoo Shin [Thu, 2 Feb 2017 17:05:24 +0000 (02:05 +0900)]
[TIC-CORE] provide conflict function

- If there is a matching package the package cannot be installed

Change-Id: I35127a889b667bff405a0c6cc5a6c9d6e6d11809
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Modify data structure with tic-web 19/111619/1
Chulwoo Shin [Mon, 23 Jan 2017 15:04:19 +0000 (00:04 +0900)]
[TIC-CORE] Modify data structure with tic-web

- Modify data structure with tic-web
- Analyze install-dependency for default packages
- Support rpm selection algorithm for version

Change-Id: Ic2809c268271ff37eaea7f2ed0b94dd63a65e20e
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] remove CORS tag in flask-server 85/107185/1
Chulwoo Shin [Tue, 27 Dec 2016 14:34:02 +0000 (23:34 +0900)]
[TIC-CORE] remove CORS tag in flask-server

removed direct access from client
No need for CORS support anymore

Change-Id: I23d8b923ee74fb8a2d1f6510998ac9477b54f4aa
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] change tic-core port from 59001 to 8082 64/106964/1
Chulwoo Shin [Mon, 26 Dec 2016 11:39:09 +0000 (20:39 +0900)]
[TIC-CORE] change tic-core port from 59001 to 8082

Change-Id: Id10abe4fd6234c8825078a97a58d5a19e3e650f0
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years agoMerge remote-tracking branch 'origin/develop' 94/105894/1
Chulwoo Shin [Tue, 20 Dec 2016 03:11:57 +0000 (12:11 +0900)]
Merge remote-tracking branch 'origin/develop'

Change-Id: I08838da397345ec0efdaeaf9e080ec9d0f2ca23f
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Bug-fix: remove invalid options 50/105750/1
Chulwoo Shin [Mon, 19 Dec 2016 10:42:03 +0000 (19:42 +0900)]
[TIC-CORE] Bug-fix: remove invalid options

removed invalid comma(,) in MIC2OPtions

Change-Id: I75f896dae8c7bcbd47d0a33c39bdc7f09bc722c7
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] write README.md file 77/105677/1
Chulwoo Shin [Mon, 19 Dec 2016 08:47:20 +0000 (17:47 +0900)]
[TIC-CORE] write README.md file

- write installation info and usage instructions.

Change-Id: I4bcea8fc8875bf61c2edb6ba101e1a144777548c
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] support cli commands 33/105333/1
Chulwoo Shin [Fri, 16 Dec 2016 08:23:08 +0000 (17:23 +0900)]
[TIC-CORE] support cli commands

- add export cli for creating images
- add createimage cli using mic

Change-Id: Id102b0c5e6a43781f4a9047230c7d35845bbd2d0
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Modify arguments of exports api 96/105096/1
Chulwoo Shin [Thu, 15 Dec 2016 10:49:15 +0000 (19:49 +0900)]
[TIC-CORE] Modify arguments of exports api

modify input argument - output directory
relative/user path support

Change-Id: Ibd8ead11774ce76122314323b630b3bdd6267264
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] support new api for exporting to specific format 94/104694/3
Chulwoo Shin [Wed, 14 Dec 2016 06:09:59 +0000 (15:09 +0900)]
[TIC-CORE] support new api for exporting to specific format

create kickstart(.ks) file using the kickstarter module.
add thread option for flask

Change-Id: Ib6d96e1179fa4750d9655cdd1346217b25a16282
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] provides default-recipe for 1st-release 55/104355/1
Chulwoo Shin [Tue, 13 Dec 2016 07:13:09 +0000 (16:13 +0900)]
[TIC-CORE] provides default-recipe for 1st-release

- provides default-recipe for creating image
- provides the 1st draft recipe parser
- modify response data of analysis

Change-Id: I30af364856a732af2f19076e6b1072287a4498f2
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Logger support and add test-cast for repodata 84/102384/1
Chulwoo Shin [Mon, 5 Dec 2016 12:39:53 +0000 (21:39 +0900)]
[TIC-CORE] Logger support and add test-cast for repodata

Supports python logger for debugging and operation.
Add a unit-test for local/remote repository's repodata

Change-Id: I1cb0856d90a171e25b227d336475ce68df6d1ad4
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-CORE] Initial Import 15/101415/1
Chulwoo Shin [Thu, 1 Dec 2016 06:23:39 +0000 (15:23 +0900)]
[TIC-CORE] Initial Import

Change-Id: I8f5554b9ff6abf4f3675a989dc545d94e7713597
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years agoInitial empty repository
Jong Jeong Kim [Mon, 21 Nov 2016 07:12:19 +0000 (23:12 -0800)]
Initial empty repository