tools/depanneur.git
5 years agoUpdate to 0.16.4 release-20180831
jingui.ren [Tue, 28 Aug 2018 08:13:38 +0000 (16:13 +0800)]
Update to 0.16.4

Change-Id: I8706e62fe818e63a79217e3971d602571a7fcf99

5 years agoremove mount info check after build finished
jingui.ren [Tue, 21 Aug 2018 11:05:34 +0000 (19:05 +0800)]
remove mount info check after build finished

Change-Id: I66bc53dc0345350eacd378a9d849cc5808f9e246

5 years agoadd --style=tar feature, which can build with gbs export source
jingui.ren [Thu, 9 Aug 2018 12:16:48 +0000 (20:16 +0800)]
add --style=tar feature, which can build with gbs export source

Change-Id: Ib7a0764b29af886e9f611b8cbee77a1c9b7af397

5 years agoMerge "Remove redundant sudo call from unmount procedure" into devel
Ren Jingui [Tue, 14 Aug 2018 08:15:50 +0000 (08:15 +0000)]
Merge "Remove redundant sudo call from unmount procedure" into devel

5 years agoRemove redundant sudo call from unmount procedure 32/185532/7
Slava Barinov [Tue, 31 Jul 2018 09:20:03 +0000 (12:20 +0300)]
Remove redundant sudo call from unmount procedure

sudo is not needed to get mount list.

Change-Id: I9e7557f1112752ca339778702650e548c4782e32
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
5 years agofix tempdir() bug for over 1000 calls
jingui.ren [Mon, 13 Aug 2018 07:51:36 +0000 (15:51 +0800)]
fix tempdir() bug for over 1000 calls

Change-Id: I6accb3ef32624dc7552e91d301a0090f2e51fa6e

5 years agoMerge "Update to 0.16.3" into devel
jingui.ren [Tue, 7 Aug 2018 05:29:32 +0000 (05:29 +0000)]
Merge "Update to 0.16.3" into devel

5 years agoRevert "add --repo-cache parameter to deliver"
jingui.ren [Tue, 7 Aug 2018 03:42:23 +0000 (11:42 +0800)]
Revert "add --repo-cache parameter to deliver"

This reverts commit 65a657dc849829252637f7b5f1bede7a490973c9.

Change-Id: Ie951a6dea81adca9250886b23154164b7d87a490

5 years agoUpdate to 0.16.3
jingui.ren [Tue, 31 Jul 2018 11:23:30 +0000 (19:23 +0800)]
Update to 0.16.3

Change-Id: Iea923eb7a9773d29a4e418f697df1138a2eb3fa5

5 years agoadd --repo-cache parameter to deliver
jingui.ren [Thu, 26 Jul 2018 06:01:43 +0000 (14:01 +0800)]
add --repo-cache parameter to deliver

Change-Id: I7813e88fbba9a62f06be298c817fc7b80b5d85a8

5 years agoremove DATA_LOOP flag and format the code style
jingui.ren [Wed, 25 Jul 2018 11:52:32 +0000 (19:52 +0800)]
remove DATA_LOOP flag and format the code style

Change-Id: Idccfc64dc79bcc2399806e528a6b803259443d1d

5 years agoRevert "change scratch_dir, threads use one dir"
jingui.ren [Wed, 4 Jul 2018 03:50:49 +0000 (11:50 +0800)]
Revert "change scratch_dir, threads use one dir"

This reverts commit 24a8b94174d718a39f1d43aa6ff07a9e2db93ff5.

Change-Id: Ib726c8b41a6d1556e5dd6a825d7a82f96007676b
Signed-off-by: jingui.ren <jingui.ren@samsung.com>
5 years agochange scratch_dir, threads use one dir
jingui.ren [Wed, 27 Jun 2018 06:29:58 +0000 (14:29 +0800)]
change scratch_dir, threads use one dir

Change-Id: Iba891b95330f21d32541b59ada735077ab5694e8

6 years agoUpgrade to 0.16.2 release-20180511
jingui.ren [Wed, 2 May 2018 06:57:59 +0000 (14:57 +0800)]
Upgrade to 0.16.2

Change-Id: Icaaafd2910863d73fda49c3cb39e5c0a6034a5db

6 years agoUmount directories inside build root after build is finished 56/176456/6
Slava Barinov [Thu, 19 Apr 2018 09:45:31 +0000 (12:45 +0300)]
Umount directories inside build root after build is finished

Sometimes (e.g. during ASan build) some directories left mounted after gbs
build is finished and error "there're mounted directories to build root"
appears.

To prevent that this patch forces check of mounted directories and unmounting
them.

Change-Id: Ic22d4baf386bd0f2bd3a3f2d7baccb485e06b7de
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
6 years agoUpgrade to 0.16.1 release-20180323
jingui.ren [Wed, 21 Mar 2018 09:21:34 +0000 (17:21 +0800)]
Upgrade to 0.16.1

Change-Id: Ica8ad8683f14bafe6e3fd913aa49822d774db184

6 years agoMerge "fix bugs about linux path which includes abnormal character" into devel
jingui.ren [Thu, 15 Mar 2018 08:50:44 +0000 (08:50 +0000)]
Merge "fix bugs about linux path which includes abnormal character" into devel

6 years agofix bugs about linux path which includes abnormal character
jingui.ren [Wed, 28 Feb 2018 09:36:19 +0000 (17:36 +0800)]
fix bugs about linux path which includes abnormal character

Change-Id: I4e4d2f09b6c73e973568d19cc78fcd0f81a34d45

6 years agoFix build_json_report issue for openSUSE_42.3 Must specify the value for allow_nonref... release-20180126
jiankang.fan [Wed, 7 Feb 2018 09:22:03 +0000 (17:22 +0800)]
Fix build_json_report issue for openSUSE_42.3 Must specify the value for allow_nonref parameter when call to_json interface

Change-Id: I1380657489a6653cd16d6247c112cd59f94e7853
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
6 years agoUpgrade to 0.16.0
Jun Wang [Fri, 26 Jan 2018 11:16:18 +0000 (19:16 +0800)]
Upgrade to 0.16.0

Change-Id: I8daa26f7de93eef1b470098df57b49389469e85a

6 years agoIntroduce perl-BSSolv module to analyse the package's reverse dependency
y0169.zhang [Thu, 25 Jan 2018 11:00:19 +0000 (19:00 +0800)]
Introduce perl-BSSolv module to analyse the package's reverse dependency

Use the function 'depsort' in perl-BSSolv to get the sorted packages
and traverse the sorted packages to output each package's reverse dependency

Change-Id: I196ad5181ff0f471067087d48d078d3603dd7189

6 years agoAdd the function to output each package's reverse dependency
y0169.zhang [Wed, 10 Jan 2018 02:34:00 +0000 (10:34 +0800)]
Add the function to output each package's reverse dependency

Change-Id: I0f06ed6c8ab1d60985989e24a7f999d1eee5be45

6 years agoFix bugs when using --rdeps or --deps get wrong dependency
Jun Wang [Fri, 5 Jan 2018 01:44:57 +0000 (09:44 +0800)]
Fix bugs when using --rdeps or --deps get wrong dependency

Change-Id: Idf5085aa6faf5b2d4a7c0290548a05e42dac56f7

6 years agoPass the export directory to gbs export which could
y0169.zhang [Wed, 6 Dec 2017 11:31:51 +0000 (19:31 +0800)]
Pass the export directory to gbs export which could
get the correct macros used in spec

Change-Id: I5c7bdc7c82228e4beeb8216b3a13fa214b442809

6 years agoAdd disable-debuginfo option which disable to generate debuginfo packages
Jun Wang [Mon, 27 Nov 2017 03:04:49 +0000 (11:04 +0800)]
Add disable-debuginfo option which disable to generate debuginfo packages

Change-Id: I956c177bc61956069ffcbcb1f2d686ce366063c9

6 years agoUpgrade to 0.15.9 release-20171013
jingui.ren [Fri, 13 Oct 2017 03:39:20 +0000 (11:39 +0800)]
Upgrade to 0.15.9

Change-Id: Ia9eb55c4c0c7452437b053f0e5c9659b1aaf386a

6 years agoPrevent shell interpolation of gbs configuration variables
Łukasz Stelmach [Tue, 26 Sep 2017 11:03:26 +0000 (13:03 +0200)]
Prevent shell interpolation of gbs configuration variables

Change-Id: I25cce8ec04f88e15202a712fff1a45e450342dca
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 years agoUpgrade to 0.15.8 release-20170915
Jun Wang [Fri, 15 Sep 2017 07:42:21 +0000 (15:42 +0800)]
Upgrade to 0.15.8

Change-Id: I383a542f192c70c4b00c7d2483dda24ad636c479

6 years agoFix not export source option error
y0169.zhang [Fri, 15 Sep 2017 07:42:00 +0000 (15:42 +0800)]
Fix not export source option error

Change-Id: I24a612417486ce207849be28f73ad0a7c0a06ff6

6 years agoFix lack of src rpm
y0169.zhang [Tue, 12 Sep 2017 07:29:36 +0000 (15:29 +0800)]
Fix lack of src rpm

Change-Id: Ib59f18be149d96d7600b749d6f4f7356278e256e

6 years agoFix spec name error with incremental case
y0169.zhang [Tue, 12 Sep 2017 03:18:50 +0000 (11:18 +0800)]
Fix spec name error with incremental case

Change-Id: Idecceee55a3884bb933177f1fe11476420fcaafa

6 years agoAdapt to forkmanager module to export sources
y0169.zhang [Mon, 17 Jul 2017 09:17:48 +0000 (17:17 +0800)]
Adapt to forkmanager module to export sources

Change-Id: Ie94204e0408a65833321959dbb2251672f7380d9

6 years agoFix build error with --baselibs option
y0169.zhang [Fri, 4 Aug 2017 02:14:14 +0000 (10:14 +0800)]
Fix build error with --baselibs option

Change-Id: Iad6097925cf844900260aec1680f88638dff2209

6 years agoUpgrade to 0.15.7 spin-release-20170630
y0169.zhang [Wed, 28 Jun 2017 02:50:03 +0000 (10:50 +0800)]
Upgrade to 0.15.7

Change-Id: I82661cb62fd344e20c8f6d0ef3b939c155cc80d7

6 years agoAdd lock for multi spec export
yang.zhang [Tue, 23 May 2017 10:01:04 +0000 (18:01 +0800)]
Add lock for multi spec export

Change-Id: Idd9f236ad68e79c6330a839b8449adc1d89476b7

7 years agoFix error when using fail_fast
Jun Wang [Fri, 28 Apr 2017 06:40:12 +0000 (14:40 +0800)]
Fix error when using fail_fast

Change-Id: Ie0da50465b0b05afa1947cabb8ac1effe19f2bb1

7 years agoUpgrade to 0.15.6
y0169.zhang [Sat, 15 Apr 2017 07:32:58 +0000 (16:32 +0900)]
Upgrade to 0.15.6

Change-Id: I7f50467479d08cf30e8b7caaf3488cf52182aa0a

7 years agoFix not to input sudo password at the end of gbs build Add /bin/ln operation to ...
SoonKyu Park [Tue, 4 Apr 2017 10:07:06 +0000 (19:07 +0900)]
Fix not to input sudo password at the end of gbs build Add /bin/ln operation to /etc/sudoers.d/gbs

Change-Id: Id8600d32f290c381d22fb3927fb7e89c0873d033

Signed-off-by: Jun Wang <junbill.wang@samsung.com>
7 years agoUpdate version to 0.15.5
Jun Wang [Wed, 12 Apr 2017 07:49:03 +0000 (15:49 +0800)]
Update version to 0.15.5

7 years agoSupport use some configuration in package own gbs.conf
y0169.zhang [Sat, 11 Mar 2017 09:55:47 +0000 (18:55 +0900)]
Support use some configuration in package own gbs.conf

Change-Id: I04a95bfb18950bc91931b35024aa31d22c15c47e

7 years agoUpdate version to 0.15.4
y0169.zhang [Sat, 14 Jan 2017 06:23:30 +0000 (15:23 +0900)]
Update version to 0.15.4

Change-Id: Ib67f18d7c6c4759231754e326c89f80ad9d684b6

7 years agoAdd not export source option
y0169.zhang [Sat, 11 Feb 2017 03:07:18 +0000 (12:07 +0900)]
Add not export source option

Change-Id: I31d227254aa5901451ee09114e0b93280e6bd8e3

7 years agoFix run ln error:operation not permitted in some OS
y0169.zhang [Sat, 11 Feb 2017 09:33:46 +0000 (18:33 +0900)]
Fix run ln error:operation not permitted in some OS

Change-Id: I43b3c26b6177a1582b5cdb16aaabb4099c8c0474

7 years agoReplace rpm packages inside buildroot mv action to ln
y0169.zhang [Sat, 11 Feb 2017 01:53:27 +0000 (10:53 +0900)]
Replace rpm packages inside buildroot mv action to ln

Change-Id: Ibbde49e91779b13285e0c3552476d3d283e3dc66

7 years agoSupport "Recommends" RPM dependencies
MyungJoo Ham [Fri, 28 Oct 2016 01:11:57 +0000 (10:11 +0900)]
Support "Recommends" RPM dependencies

This requires updates of obs-build (for GBS/OBS):
https://github.com/openSUSE/obs-build/pull/303

and Perl-BSSolv (for OBS):
https://github.com/openSUSE/perl-BSSolv/pull/7

and RPM > 4.12.0 or "Recommends" backported (for OBS/GBS):
https://review.tizen.org/gerrit/#/c/93958/

The issue that we are trying to resolve with these is:
https://github.com/openSUSE/obs-build/issues/302

Change-Id: I579f402a3502c57ca3b2cacfc12a5a3a975aac34
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix debchange warning
MyungJoo Ham [Wed, 25 Jan 2017 05:23:52 +0000 (14:23 +0900)]
Fix debchange warning

The warning prevents from pushing into launchpad.

Change-Id: If78b303b3b831a555aaed6ed568ffef9313379e9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoUpgrade version to 0.15.3
SoonKyu Park [Mon, 26 Dec 2016 12:32:06 +0000 (21:32 +0900)]
Upgrade version to 0.15.3

Change-Id: I4b4987189659e564724f8636c005465939230a25

7 years agoFix lack of OTHER directory cause rpmlint error
y0169.zhang [Tue, 20 Dec 2016 03:37:20 +0000 (12:37 +0900)]
Fix lack of OTHER directory cause rpmlint error

Change-Id: I8f31220be793510b2ff55421a8c36906216abce5

7 years agoAdd openSUSE 42.1 check action for build-initvm-i586
y0169.zhang [Mon, 14 Nov 2016 02:15:53 +0000 (11:15 +0900)]
Add openSUSE 42.1 check action for build-initvm-i586

Change-Id: Ibd19007929d3f929c0c676410cf174d6419d4efe

Conflicts:
packaging/depanneur.spec

7 years agoModify kvm build logpath to keep same with normal
y0169.zhang@samsung [Wed, 14 Sep 2016 02:23:21 +0000 (10:23 +0800)]
Modify kvm build logpath to keep same with normal

Change-Id: Ibf8453d928348b92595d89850d698cb0c6af0192

7 years agoFix bugs that when using --incremental and --skip-srcrpm can not del old *src.rpms
Jun Wang [Tue, 13 Sep 2016 08:53:04 +0000 (16:53 +0800)]
Fix bugs that when using --incremental and --skip-srcrpm  can not del old *src.rpms

Change-Id: I989b9d2baaa1d88e16609bdb2e1c8e6207c084ec

7 years agoAdd new operation(/bin/mv) with sudo permission
Jun Wang [Mon, 12 Sep 2016 02:04:36 +0000 (10:04 +0800)]
Add new operation(/bin/mv) with sudo permission

Change-Id: Ide1bba602d1830603d48cdf84236992c585c4487

7 years agoFix var declare
y0169.zhang@samsung [Fri, 9 Sep 2016 02:59:43 +0000 (10:59 +0800)]
Fix  var declare

Change-Id: I4909076d1e15d78d55ad36b91e11c5865d21fc13

7 years agoEnable kvm build function
y0169.zhang@samsung [Tue, 6 Sep 2016 02:12:20 +0000 (10:12 +0800)]
Enable kvm build function

Change-Id: I332e9d07a8f34e46f4c24a3726b03ff19982c246

7 years agoAdd config to make some packages not export sources for accel
y0169.zhang@samsung [Thu, 1 Sep 2016 01:38:29 +0000 (09:38 +0800)]
Add config to make some packages not export sources for accel

Change-Id: Ie1cd0d70c10cfa11ccfaa1c3eb93b99b175e6d0a

Conflicts:
depanneur

7 years ago1.Improve build order for multiple building
Jun Wang [Mon, 22 Aug 2016 02:37:08 +0000 (10:37 +0800)]
1.Improve build order for multiple building
2.Reduce copy files for rpm packages,using mv instead

Change-Id: I39800d669ad5ffc777e583e5d6895d1ce6e4bb47

7 years ago1.Add funciton update_expansion_errors to check tmp_expansion_errors every time.
jun.wang [Tue, 19 Jul 2016 01:47:20 +0000 (09:47 +0800)]
1.Add funciton update_expansion_errors to check tmp_expansion_errors every time.
2.Not use update_pkgdeps()& update_pkgddeps() when some packages finish building and reduce the local full build time.

Change-Id: Ib6106294a7faf7f1f0f4b2108ed8a18a7832bfe7

7 years agoFix bugs when using --rdeps and --deps
jun.wang [Mon, 4 Jul 2016 12:38:31 +0000 (20:38 +0800)]
Fix bugs when using --rdeps and --deps

Change-Id: I39478bf02c734064546672dbd619e8f36b810d2a

7 years agoReorder the building dependence:
jun.wang [Mon, 4 Jul 2016 05:45:41 +0000 (13:45 +0800)]
Reorder the building dependence:
1.The packages which are been depended most ,build them first.
2.The packages which have no dependence ,build them later.

These ways can imporve the building speed for multiple packages.

Change-Id: I5165c41016c301064d0f6746be947632863daaaf

7 years agoModify version to 0.15.2
SoonKyu Park [Mon, 26 Sep 2016 02:38:09 +0000 (11:38 +0900)]
Modify version to 0.15.2

Change-Id: I81b628a1cefefd823dff67978802378bd32e0eb9

7 years agoAdd --use-higher-deps option, which repo provides higher version deps, use it 94/89294/1
y0169.zhang [Thu, 18 Aug 2016 03:37:48 +0000 (12:37 +0900)]
Add --use-higher-deps option, which repo provides higher version deps, use it

Change-Id: I127bc0a55dc59a9b4f737d41a02c1b37532fa030

7 years agoMerge branch 'master' into devel
SoonKyu Park [Wed, 27 Jul 2016 00:55:34 +0000 (09:55 +0900)]
Merge branch 'master' into devel

Change-Id: I3aa658af3571025de6f295aec7f92e7dd4449b11

7 years agoadd author
yang.zhang [Fri, 4 Mar 2016 07:05:41 +0000 (15:05 +0800)]
add author

Change-Id: I2170033d4f009007cd8b22ea29f79a6699682e8a

7 years agomodify version to 0.15
yang.zhang [Fri, 4 Mar 2016 06:44:24 +0000 (14:44 +0800)]
modify version to 0.15

Change-Id: Ic8ec185bf113343eec2890e46071e7aa6af89a49

7 years agofix CentOS 7 require
Rong Jinhui [Thu, 10 Sep 2015 02:49:32 +0000 (10:49 +0800)]
fix CentOS 7 require

1.add fail fast option
2.fix CentOS 7 require

Change-Id: Ieefcd8c748fe6a7708ade54f5d1c06dd0fa39504

Conflicts:
depanneur

7 years agoFix bugs in bugs.tizen.org
Jun Wang [Fri, 26 Feb 2016 15:58:17 +0000 (23:58 +0800)]
Fix bugs in bugs.tizen.org
URL:https://bugs.tizen.org/jira/browse/TINF-1298

Change-Id: I9173c0809d03b1ff477016f2181149455c7844ca

7 years agoModify version to 0.15.1 release-20160531 release-20160615
yang.zhang [Thu, 26 May 2016 01:25:23 +0000 (09:25 +0800)]
Modify version to 0.15.1

Change-Id: I13d66b72c40e87ac57bcb16946352d0321ec281f

8 years agoadapt to new build
yang.zhang [Tue, 8 Mar 2016 05:50:26 +0000 (13:50 +0800)]
adapt to new build

Change-Id: Ie022d738c8247747e5821250f4aadacda39c4cdb

8 years agoadd author release-20160315 release-20160411
yang.zhang [Fri, 4 Mar 2016 07:05:41 +0000 (15:05 +0800)]
add author

Change-Id: I2170033d4f009007cd8b22ea29f79a6699682e8a

8 years agomodify version to 0.15
yang.zhang [Fri, 4 Mar 2016 06:44:24 +0000 (14:44 +0800)]
modify version to 0.15

Change-Id: Ic8ec185bf113343eec2890e46071e7aa6af89a49

8 years agoMerge "fix CentOS 7 require" into devel
zhangy [Mon, 29 Feb 2016 16:45:10 +0000 (16:45 +0000)]
Merge "fix CentOS 7 require" into devel

8 years agofix CentOS 7 require
Rong Jinhui [Thu, 10 Sep 2015 02:49:32 +0000 (10:49 +0800)]
fix CentOS 7 require

1.add fail fast option
2.fix CentOS 7 require

Change-Id: Ieefcd8c748fe6a7708ade54f5d1c06dd0fa39504

8 years agoFix bugs in bugs.tizen.org
Jun Wang [Fri, 26 Feb 2016 15:58:17 +0000 (23:58 +0800)]
Fix bugs in bugs.tizen.org
URL:https://bugs.tizen.org/jira/browse/TINF-1298

Change-Id: I9173c0809d03b1ff477016f2181149455c7844ca

8 years agoMerge "Add --export-thread option" into devel
Gyeoungmin Kim [Fri, 27 Nov 2015 03:16:28 +0000 (19:16 -0800)]
Merge "Add --export-thread option" into devel

8 years agoAdd --export-thread option 87/52087/1
Gyeoungmin Kim [Mon, 5 Oct 2015 01:05:09 +0000 (10:05 +0900)]
Add --export-thread option

Export source code by gbs use threads. Create a number of threads as host's CPU

Change-Id: I9c7ee62f38a8fae5ae5f837dc839d4adbdfc51fb

8 years agoMerge "Reduce nprocessors. This option is assigning excessive cpu core. In server...
park [Tue, 20 Oct 2015 05:06:10 +0000 (22:06 -0700)]
Merge "Reduce nprocessors. This option is assigning excessive cpu core. In server case, It stop build task" into devel

8 years agomodify --keepgoing option 81/48381/1
jieun15park [Mon, 21 Sep 2015 04:53:15 +0000 (13:53 +0900)]
modify --keepgoing option

Change-Id: I2886f9b13aff9ffaf75f0b74301d5e831d08c558
Signed-off-by: jieun15park <jieun15.park@samsung.com>
8 years agoAdd --fail-fast option 17/47817/1
SoonKyu Park [Wed, 9 Sep 2015 06:34:45 +0000 (15:34 +0900)]
Add --fail-fast option

Change-Id: I7ae746caf649045571d5c2ca1498572204273bc8

8 years agoReduce nprocessors. This option is assigning excessive cpu core. In server case,... 46/40546/1
Gyeoungmin Kim [Fri, 5 Jun 2015 05:02:05 +0000 (14:02 +0900)]
Reduce nprocessors. This option is assigning excessive cpu core. In server case, It stop build task

Change-Id: I36c48cd1e3817645594c2a447a72abbbd9aadcf0

9 years agoAvoid perl msg in depanneur
Li Jinjing [Tue, 9 Dec 2014 12:40:31 +0000 (20:40 +0800)]
Avoid perl msg in depanneur

During gbs build ,depanneur always says:
Argument "" isn't numeric in numeric eq (==) at /usr/bin/depanneur line 642

Change-Id: I7876d28f2e39c50875cfde5332b9bc0ee6a72c40
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agobump to version 0.14 for gbs 0.23 release-0.14 0.14
Li Jinjing [Wed, 15 Oct 2014 05:29:06 +0000 (13:29 +0800)]
bump to version 0.14 for gbs 0.23

Change-Id: I6e2036bd262bee10b34286557468fb0b701486a2
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agoRename '--no-source-rpm' to '--skip-srcrpm'
Li Jinjing [Mon, 13 Oct 2014 07:50:34 +0000 (15:50 +0800)]
Rename '--no-source-rpm' to '--skip-srcrpm'

Change-Id: I3d916e4dc9e9bf6c0f908ceeddca2dc8694ccb0a
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agoSupport new option '--no-source-rpm'
Li Jinjing [Sun, 28 Sep 2014 08:07:42 +0000 (16:07 +0800)]
Support new option '--no-source-rpm'

Change-Id: If2503bca7eea0e2227d1b4a03e2616e8a194d986
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agoAdd mips and mipsel support 84/24984/3
Andrii Boichuk [Thu, 24 Jul 2014 14:48:11 +0000 (17:48 +0300)]
Add mips and mipsel support

Change-Id: I18cc6d30cb56bca3508ef276390d8fce9dd5b0ef
Bug-Tizen: TC-1690
Signed-off-by: Andrii Boichuk <andrii.boichuk@globallogic.com>
9 years agoMerge "added support for icecream" into devel
Jian-feng Ding [Thu, 9 Oct 2014 10:58:52 +0000 (13:58 +0300)]
Merge "added support for icecream" into devel

9 years agoadded support for icecream
Stephane Desneux [Thu, 13 Mar 2014 14:24:18 +0000 (15:24 +0100)]
added support for icecream

Change-Id: I17aee4c0240d53a1a6f65b7c7fe767a79c873325
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agopackaging: add rpm changelog
Markus Lehtonen [Wed, 8 Oct 2014 10:43:41 +0000 (13:43 +0300)]
packaging: add rpm changelog

Change-Id: I6ef4a1bff3e49be8357a287b78af16bd290ec624
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoSupport --fallback-to-native option of gbs
Markus Lehtonen [Mon, 29 Sep 2014 09:41:05 +0000 (12:41 +0300)]
Support --fallback-to-native option of gbs

Change-Id: I2d350df091fdbb7572285c2ffccd99173abf4a2a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoFix --include-all when --spec-commit is defined
Markus Lehtonen [Thu, 4 Sep 2014 13:50:25 +0000 (16:50 +0300)]
Fix --include-all when --spec-commit is defined

Always find(use spec file(s) from the commit(ish) defined by
--spec-commit - even if --include-all is defined.

Fixes: DEVT-199

Change-Id: I9365b8af8ee2960cd1430d0bb6756da71d875447
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agofill_packs_from_git: fix leaking of temporary files
Olev Kartau [Thu, 10 Jul 2014 14:15:32 +0000 (17:15 +0300)]
fill_packs_from_git: fix leaking of temporary files

In this function, all opened temporary files were left
undeleted and became garbage in /tmp.
CLEANUP is not valid flag for tempfile().
For tempfile, the flag would be UNLINK, but it can't be used
when OPEN is set to zero (which is the case).
Perl will not automatically delete such files,
so we have to close and delete them.

Change-Id: Id05ffa5c41f9d7522faa370fb8816ebb64740be6

9 years agoAdding more comments for core builder code
Zhang Qiang [Tue, 24 Jun 2014 03:07:19 +0000 (11:07 +0800)]
Adding more comments for core builder code

Change-Id: I5a0f28ac19c0e06343982bf8a0e04548f8ef038b

9 years agobump to version 0.13.1 for gbs hotfix release 0.22.1
Zhang Qiang [Wed, 11 Jun 2014 23:14:34 +0000 (07:14 +0800)]
bump to version 0.13.1 for gbs hotfix release 0.22.1

Change-Id: Ieb26378d7ec44eb0843718e6173f6b92557773d1
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
9 years agofix: resolve skipped packages after %to_build ready
Zhang Qiang [Sun, 22 Jun 2014 10:42:27 +0000 (18:42 +0800)]
fix: resolve skipped packages after %to_build ready

Change-Id: I85421f68c156f8dd62faf19f2f83506d2f2a1c01
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
9 years agoAdd gbs version info in final build report
Zhang Qiang [Sun, 22 Jun 2014 00:54:41 +0000 (08:54 +0800)]
Add gbs version info in final build report

Change-Id: Icf294d782d54a204adc363839ffe18cbb5911044

9 years agoresolving skipped pacakge in advance
Zhang Qiang [Sat, 21 Jun 2014 07:28:13 +0000 (15:28 +0800)]
resolving skipped pacakge in advance

skipped pacakges should be caculated more earlier, which may
avoid detect usless circles for building

Change-Id: Ibc540df62bb7416b7e4c84d0a610de70dd508f6a
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
9 years agodon't check dependencies of packages already done
Zhang Qiang [Fri, 20 Jun 2014 12:53:11 +0000 (20:53 +0800)]
don't check dependencies of packages already done

This can avoid detecting circle during building

Change-Id: I2d60299014551081a071eb69c408e2510c3e7aae
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
9 years agobump to 0.13 for gbs 0.22
Zhang Qiang [Wed, 21 May 2014 03:29:07 +0000 (11:29 +0800)]
bump to 0.13 for gbs 0.22

Change-Id: I674c3a30ae4290a720f318c6a22dd1e02c8754d0

10 years agoapply pattern.xml in the end of build
Yigang Wen [Thu, 15 May 2014 10:43:15 +0000 (18:43 +0800)]
apply pattern.xml in the end of build

Fixes: #1879

Change-Id: Ifa5abae0a1cbd659633c877616c0e6ccbd2b3f6f
Signed-off-by: Yigang Wen <yigangx.wen@intel.com>
10 years agosudoers.d/gbs modified to handle gbs chroot --mount param. 80/19480/2
Tomasz Olszak [Sun, 13 Apr 2014 21:47:47 +0000 (23:47 +0200)]
sudoers.d/gbs modified to handle gbs chroot --mount param.

Change-Id: I2737acbfab70c2e9c2398cfc5822c9fb4cb7b9c5
Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
10 years agoRudimentary support for the new orphan-packaging development model
Markus Lehtonen [Fri, 28 Mar 2014 06:35:17 +0000 (08:35 +0200)]
Rudimentary support for the new orphan-packaging development model

Add a new --spec-commit command line option in order to support the new
package maintenance model of using separate packaging and devel
branches. In this model the packaging files (i.e. spec et al) must be
taken from other branch if the current branch is a development branch
(which only contains source code).

Change-Id: Ia8eb916dafd5bdc74c9b2d22591a8a36f6c11e95
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>