SoonKyu Park [Tue, 4 Apr 2017 10:14:22 +0000 (19:14 +0900)]
Update version to 0.15.5
Change-Id: I69d9d0fd5a76fdbd407e95fe1db373fb75b66250
Conflicts:
packaging/depanneur.spec
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
Conflicts:
data/gbs
y0169.zhang [Mon, 16 Jan 2017 03:33:55 +0000 (12:33 +0900)]
Update version to 0.15.4
Change-Id: I6861d20def05e0e79327ef62fe48ec95213c4f3f
y0169.zhang [Sat, 11 Feb 2017 03:52:58 +0000 (12:52 +0900)]
Add not export source option
Change-Id: Ic07a89948ca32684dd3659b5e2f1296b4619c41f
y0169.zhang [Sat, 11 Feb 2017 03:42:08 +0000 (12:42 +0900)]
Replace rpm packages inside buildroot mv action to ln
Change-Id: I7e23b980fc8910e92ba5eb42edb12e3438b9898a
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>
y0169.zhang [Tue, 20 Dec 2016 03:48:54 +0000 (12:48 +0900)]
Fix lack of OTHER directory cause rpmlint error
Change-Id: I1cff903d3ef39563eaf573afd29aa3182e1e0fc0
Jiankang Fan [Mon, 24 Oct 2016 07:27:23 +0000 (15:27 +0800)]
Upgrade to 0.15.3
Change-Id: Ic04de7a458ab91c8b9d77edbdaf5b69df4f58ab4
yang.zhang [Fri, 23 Sep 2016 02:00:25 +0000 (10:00 +0800)]
Modify build require to
20160923
Change-Id: Ib9c17860cdd5a5375b8b365a9e85d5c04ef00d7e
yang.zhang [Wed, 21 Sep 2016 02:51:00 +0000 (10:51 +0800)]
Bump version to 0.15.2
Change-Id: I09509b6b17614bd9c36e4a66900d00e2369e5d09
y0169.zhang@samsung [Wed, 14 Sep 2016 01:59:26 +0000 (09:59 +0800)]
Modify kvm build logpath to keep same with normal
Change-Id: Ifb76ddce9b2d0903d0eb8a3e18332730a287e725
Jun Wang [Wed, 14 Sep 2016 01:41:04 +0000 (09:41 +0800)]
Fix logic error and keep same with devel branch
Change-Id: I6943bdb3a7a1c3cf42224dc6c5dc5a78e30a461e
Jun Wang [Tue, 13 Sep 2016 08:51:54 +0000 (16:51 +0800)]
Fix bugs that when using --incremental and --skip-srcrpm can not del old *src.rpms
Change-Id: I1d3f068de4f37e434088fd9ec77dd08e55f661fe
Jun Wang [Mon, 12 Sep 2016 02:05:53 +0000 (10:05 +0800)]
Add new operation(/bin/mv) with sudo permission
Change-Id: I316493cb9e782af6f67dd068cb30b08ca26a4823
y0169.zhang@samsung [Fri, 9 Sep 2016 02:53:49 +0000 (10:53 +0800)]
Fix var declare
Change-Id: I8cefe2ce750c9bf6bec8406a11937541271aada6
y0169.zhang@samsung [Wed, 7 Sep 2016 03:37:02 +0000 (11:37 +0800)]
Enable kvm build function
Change-Id: I67426e6fe85b312afc40abf110f6916d7e22d96b
y0169.zhang@samsung [Mon, 5 Sep 2016 08:02:42 +0000 (16:02 +0800)]
Add --use-higher-deps option, which repo provides higher version deps, use it
Change-Id: Iaa83662cc72989959bfed3b4bc5a5e2a8234575d
y0169.zhang@samsung [Thu, 1 Sep 2016 06:21:06 +0000 (14:21 +0800)]
Add config to make some packages not export sources for accel
Change-Id: Ia990dc54b0cd77f3549f990f39988e7414b078a4
Jun Wang [Thu, 1 Sep 2016 06:04:21 +0000 (14:04 +0800)]
1.Improve build order for multiple building
2.Reduce copy files for rpm packages,using mv instead
Change-Id: I8244130d0ef436bbe7868e542499904201d765b7
Jun Wang [Thu, 1 Sep 2016 05:54:44 +0000 (13:54 +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.
Y
Change-Id: I80ae423b93d45027a53a44ac7b286a93c272e542
Jun Wang [Thu, 1 Sep 2016 05:52:59 +0000 (13:52 +0800)]
Export source code by gbs use threads. Create a number of threads as host's CPU
Path form review.tizen.org ,commitID:
ece9d874772d291b3091f051adc346b1133cbb3e
Change-Id: I16df8ccdddf4129541fa6e5b5dedc1c10042ade4
Jun Wang [Thu, 1 Sep 2016 05:51:51 +0000 (13:51 +0800)]
Fix bugs when using --rdeps and --deps
Change-Id: I7bb4c76c19aac230a5a2460ede5d043a2a207f9c
Jun Wang [Thu, 1 Sep 2016 05:48:44 +0000 (13:48 +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: I96c7af363e3fa630615e9e3c0290858516ec254d
yang.zhang [Fri, 4 Mar 2016 07:05:41 +0000 (15:05 +0800)]
add author
Change-Id: I2170033d4f009007cd8b22ea29f79a6699682e8a
yang.zhang [Fri, 4 Mar 2016 06:44:24 +0000 (14:44 +0800)]
modify version to 0.15
Change-Id: Ic8ec185bf113343eec2890e46071e7aa6af89a49
zhangy [Mon, 29 Feb 2016 16:45:10 +0000 (16:45 +0000)]
Merge "fix CentOS 7 require" into devel
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
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
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>
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>
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>
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>
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>
Jian-feng Ding [Thu, 9 Oct 2014 10:58:52 +0000 (13:58 +0300)]
Merge "added support for icecream" into devel
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>
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>
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>
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>
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
Zhang Qiang [Tue, 24 Jun 2014 03:07:19 +0000 (11:07 +0800)]
Adding more comments for core builder code
Change-Id: I5a0f28ac19c0e06343982bf8a0e04548f8ef038b
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>
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>
Zhang Qiang [Sun, 22 Jun 2014 00:54:41 +0000 (08:54 +0800)]
Add gbs version info in final build report
Change-Id: Icf294d782d54a204adc363839ffe18cbb5911044
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>
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>
Zhang Qiang [Wed, 21 May 2014 03:29:07 +0000 (11:29 +0800)]
bump to 0.13 for gbs 0.22
Change-Id: I674c3a30ae4290a720f318c6a22dd1e02c8754d0
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>
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>
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>
Zhang Qiang [Fri, 7 Mar 2014 10:30:39 +0000 (18:30 +0800)]
bump to version 0.12 for gbs 0.21
Change-Id: If38717d7d7995436ce57347aa3023f175e436554
Zhang Qiang [Fri, 7 Mar 2014 05:51:46 +0000 (13:51 +0800)]
packaging: use gbp packaging service
Change-Id: I79930cbfea24dd2b7b7faba2cffd38afca1883ab
Zhang Qiang [Fri, 7 Mar 2014 03:02:53 +0000 (11:02 +0800)]
depend on new version of build
Change-Id: I42d002b551d7ffc0ba70c599c31d4fe9d018a8c3
Yigang Wen [Tue, 4 Mar 2014 09:47:09 +0000 (17:47 +0800)]
Fix gbs build fails if packaging/ is a symlink
judge whether packaging dir is a symbolic link when search spec file
with git show commit:packaging_dir
Change-Id: I4f43271543fc22ed01f411d61b813c2b7cd56c9d
Signed-off-by: Yigang Wen <yigangx.wen@intel.com>
Yigang Wen [Tue, 4 Mar 2014 05:37:22 +0000 (13:37 +0800)]
Refactor find spec part at beginning
Parse base dir in find spec before prepare_git
Change-Id: Iff91ecceed2d34af4c5f1c9a588f74ff5de63de1
Signed-off-by: Yigang Wen <yigangx.wen@intel.com>
Yigang Wen [Fri, 28 Feb 2014 02:12:50 +0000 (10:12 +0800)]
Fix return fail when package skipped
Change-Id: I155aeccf4069011d79f93cad9f4f9ce5034cdfd9
Signed-off-by: Yigang Wen <yigangx.wen@intel.com>
Yigang Wen [Tue, 25 Feb 2014 06:21:15 +0000 (14:21 +0800)]
Fix return true if build arch is not compatible
Fixes: #1494
Change-Id: Ieb6fc8dd0e9a2b001e9ded5f4ccc12a00fea13ff
Signed-off-by: Yigang Wen <yigangx.wen@intel.com>
Zhang Qiang [Fri, 10 Jan 2014 04:58:05 +0000 (12:58 +0800)]
Export more build output dir info to json meta data
With these extra data, third party tools can get these data more easier.
Change-Id: Id25876e8440c689c8d1c8769873e7c7b4c708568
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Zhang Qiang [Mon, 16 Dec 2013 08:03:46 +0000 (16:03 +0800)]
only create pipe if command output needed
This will make my_system more safe via avoid using pipe.
Change-Id: I386913ad4ee6be908004351628a47b370e96eae4
Yigang Wen [Fri, 13 Dec 2013 09:00:22 +0000 (17:00 +0800)]
add start time in build-report
Change-Id: I8f7757e72500674ed058be8c38f43e6e6ef5e0f5
Zhang Qiang [Fri, 13 Dec 2013 06:31:47 +0000 (14:31 +0800)]
Add suffix .txt in build log
Adding .txt suffix can make build log opened directly from all browser
Change-Id: I7996b0efb8248932d33ed1466954959c9436bf2d
Zhang Qiang [Tue, 10 Dec 2013 13:21:17 +0000 (21:21 +0800)]
update dependency: adjust build provide info
Change-Id: I472cc19da1f6bc9754f2f7a32e95bafdd658a3f0
Zhang Qiang [Tue, 10 Dec 2013 09:28:46 +0000 (17:28 +0800)]
depend on tizen special initvm
for the tizen-initvm, we have made changes:
always register handler and don't check the existance of static binary.
In this way, it can does not depend on host qemu and only use qemu from
repos.
Change-Id: I063bf2c1f434a3464403f4f0853b064629a26684
Zhang Qiang [Tue, 10 Dec 2013 01:12:00 +0000 (09:12 +0800)]
bump version 0.11 for gbs 0.20
Change-Id: I06ac749348d988ff3e6bc7c63a5b3fcee03faddd
Zhang Qiang [Wed, 4 Dec 2013 05:51:49 +0000 (13:51 +0800)]
Add aarch64 support
Change-Id: Ic5afb7d18e7d4a052a0251e9bec2c669423f14b2
Zhang Qiang [Wed, 4 Dec 2013 05:51:23 +0000 (13:51 +0800)]
add succeeded pacakges summary
Change-Id: If1cc4c1723fa6d67b296c0c08d1d8ad6845658b9
Zhang Qiang [Mon, 2 Dec 2013 01:21:27 +0000 (09:21 +0800)]
remove BuildArch:noarch to build out correct target arch
%ifarch Conditional does not work with BuildArch:noarch, which should
be removed to make depanneur generated different arch on different arch
system, then %ifarch can work well.
Change-Id: I05e80a28d4aa6073b89ba12be45b1744757d64a3
Zhang Qiang [Fri, 29 Nov 2013 03:52:02 +0000 (11:52 +0800)]
bump to minor version 0.10.1
Change-Id: I8303f32fc0b99fc3b4c5ecf92f0f79f15735ce40
Zhang Qiang [Thu, 28 Nov 2013 05:34:13 +0000 (13:34 +0800)]
depend on upstream version of initvm
Change-Id: Iaa934db405e24c61730cbd21becafe1d82b298d8
Zhang Qiang [Thu, 28 Nov 2013 05:20:51 +0000 (13:20 +0800)]
Adjust output of final report
- always print dirs of rpm/srpm/build roots, even if some packages failed
- print build log dir
Change-Id: I55ecfe70880753b90d61e5a67fbd0de07fdd571c
Fixes: #1466
Zhang Qiang [Mon, 25 Nov 2013 06:33:29 +0000 (14:33 +0800)]
update dependency: build
For spec file add one more initvm, which is the only way for cross arm
build.
Change-Id: I60016c00e36ebc047027ef7cf0676825357f849c
Zhang Qiang [Fri, 15 Nov 2013 05:54:31 +0000 (13:54 +0800)]
show html format report path
User can use browser to open it directly, or user has to find it manually.
Change-Id: I57c9d8f12f2701bcb95fc04d966a5ac2a4c0f934
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Zhang Qiang [Fri, 15 Nov 2013 05:02:31 +0000 (13:02 +0800)]
Always generate build report
In the following cases, build report will also be generated:
- all packages build succeeded
- all packages failed with export error
Change-Id: I9cf8c3e66445079fb8d87a99450b50c3c26bb442
Zhang Qiang [Fri, 15 Nov 2013 01:44:59 +0000 (09:44 +0800)]
Save export error info to final report
Change-Id: I58b9c0b6d35547ad92357219dfe23661a980e036
Yigang Wen [Thu, 7 Nov 2013 06:17:26 +0000 (14:17 +0800)]
update func my_system to get the output if needed
update function my_system to return the output of child process
according to the context.
Change-Id: I49d7adba181e3f31ee254c8f808672656eda6d10
Guan Junchun [Fri, 25 Oct 2013 07:28:41 +0000 (15:28 +0800)]
Skip building package for excluded arch
ExcludeArch: %arm is defined in cross-arm-binutils.spec
gbs build should skip building this package if building for arm
Change-Id: I5aa76b84fe5bc0c6e761d825df4cd065db7eebd6
Zhang Qiang [Tue, 5 Nov 2013 02:34:10 +0000 (10:34 +0800)]
Update dependencies
depend on perl(JSON) and perl(HTML::Template)
Change-Id: Ic664754114c17372ea5b3caea3f1b14df772529e
Zhang Qiang [Tue, 5 Nov 2013 02:29:54 +0000 (10:29 +0800)]
generate html format report
Change-Id: I14d2aae84e8179cb1715fd657ad942766370c156
Zhang Qiang [Fri, 1 Nov 2013 03:35:01 +0000 (11:35 +0800)]
save build report data as json data
The json data including:
build profile:
build arch:
Summary: total packages, succeeded packages, failed packages
export error packages expansion error pkgs.
export error details:
expansion error details
build error/success details and logs.
Change-Id: I321783e11ce0529acfac78fc7d9b9a70bc7cb71d
Zhang Qiang [Wed, 16 Oct 2013 09:19:40 +0000 (17:19 +0800)]
bump to version 0.10 for gbs 0.19
Change-Id: Id5fc3743bb19e92da3758978ce71279c576781d8
Zhang Qiang [Wed, 16 Oct 2013 09:19:55 +0000 (17:19 +0800)]
fix using incorrect srpm and rpm hash to remove duplicated binary
Change-Id: I0cc3119bcb045f7bc1416d4454ab27e844edbbb1
Yigang Wen [Wed, 16 Oct 2013 03:00:44 +0000 (11:00 +0800)]
remove previous rpm and srpm after build
Fixes: #1274
Change-Id: Ifeed295bac851e91d783a85fcf8edc8fcd27189e
Zhang Qiang [Fri, 11 Oct 2013 03:16:49 +0000 (11:16 +0800)]
skip comment out binary rpm
If packages are commented out using '#', depanneur will skip them.
Change-Id: Id9ab480526bd434edc721b23fbb8041597860c32
yuanhao [Tue, 17 Sep 2013 06:31:20 +0000 (02:31 -0400)]
Check the real RPMs/SRPMs dir in chroot, instead of hardcode
For root user, the output dir of RPMs in chroot is /usr/src/packages/RPMS, not
/home/abuild/rpmbuild.
Get the output dir of RPMs/SRPMs using the following command
RPMs: sudo chroot $BUILD_ROOT rpm --eval "%{_rpmdir}"
SRPMs: sudo chroot $BUILD_ROOT rpm --eval "%{_srcrpmdir}"
Fixes: #1326
Change-Id: I8fd79e2b67d9bb2e04274d8d563ed49038e820fa
Zhang Qiang [Fri, 13 Sep 2013 03:46:14 +0000 (11:46 +0800)]
Support ExportFilter
Take packages, which target arch compatiable with build system arch
into resolve packages pool, and make it can be found by dependency resolver.
Fixes: #1131
Change-Id: I2289bcf255bea2ff2ed96687d9cc67689ef7a248
Zhang Qiang [Thu, 12 Sep 2013 14:47:59 +0000 (22:47 +0800)]
fix packaging dir detect issue
packaging dir can contains multiple level directory, so use packaging_dir
to resolve package git dir is the correct way
Fixes: #1315
Change-Id: I1a0d894102e0e66c2fdff65bbbb1bdd3fe11b3e2
Zhang Qiang [Tue, 20 Aug 2013 14:06:15 +0000 (22:06 +0800)]
bump to version 0.9 for gbs 0.18
Change-Id: I29e90c52fdbc7a618b003d47ba41d670729c7110
Markus Lehtonen [Fri, 2 Aug 2013 08:35:22 +0000 (11:35 +0300)]
packaging: switch to noarch
Depanneur doesn't contain anything arch-specific.
Change-Id: I900ca50c551c55e8b1f084860219379793d0d355
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 2 Aug 2013 07:47:18 +0000 (10:47 +0300)]
Define the de-facto %opensuse_bs macro from OBS to be zero
The %opensuse_bs macro is virtually always defined in OBS prjconf.
Define this macro to be 0 in depanneur so that it can be used in spec
file to distinguish between local (e.g. "gbs build" or "rpmbuild") and
OBS server builds.
Change-Id: Iffdd917a7bc2a460d76f2e973498896cc9fd7b2a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 2 Aug 2013 07:54:01 +0000 (10:54 +0300)]
Add .gbp.conf
Change-Id: I7a77fa7a58dd96778162ae8864506fdd0bdc0930
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Zhang Qiang [Mon, 29 Jul 2013 04:24:36 +0000 (12:24 +0800)]
extract dist name if .guessed_dist contails conf path
Change-Id: I9ee1300527b46771720a23fa232e0a01dca65c4a
Zhang Qiang [Wed, 24 Jul 2013 05:15:59 +0000 (13:15 +0800)]
Use dist conf file path instead of dist name
'--dist tizen --configdir=/tmp' is equivalent to '--dist=/tmp/tizen.conf',
which works well for qemu-kvm mode.
We plan to enable qemu-kvm mode in future.
Change-Id: I0b035e8a4d8c3851dba0b3e63620301653590d49
Zhang Qiang [Mon, 1 Jul 2013 05:30:58 +0000 (13:30 +0800)]
bump to version 0.8 for gbs 0.17
Change-Id: I6dffefa0d5af3c3242f492dbae3b3361953d4f94
Anas Nashif [Wed, 19 Jun 2013 17:16:49 +0000 (10:16 -0700)]
Create debug packages by default
Always create debuginfo packages to align with the build system
and how it is configured. Packages that might build fine in gbs
right now will fail in OBS because of the different build options
and not being able to generate debug packages with gbs.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Zhang Qiang [Tue, 18 Jun 2013 05:09:38 +0000 (13:09 +0800)]
get target arch from build conf if target is set
This fix the bug that different arch packages generated from gbs
and obs if 'Target:' set in build conf, eg:
%ifarch i586
Target: i686-tizen-linux
%endif
%ifarch armv7hl
Target: armv7hl-tizen-linux
%endif
%ifarch armv7l
Target: armv7l-tizen-linux
%endif
In that case, obs will generated i686 package, but gbs will generated i586.
Change-Id: If879f364ba12db737714172e57c5566f7f7633d8
Yigang Wen [Wed, 19 Jun 2013 03:30:00 +0000 (11:30 +0800)]
fix using high version pkg in different repo
Change-Id: I7ec16dc6ef420cd32fb0f3217034b85634fba48b
Zhang Qiang [Mon, 17 Jun 2013 05:43:41 +0000 (13:43 +0800)]
optimization: load dependency data in refresh_repo
Change-Id: I8be3dbcc1b3ff538fb7caeee69541c999c185169
Zhang Qiang [Fri, 14 Jun 2013 02:13:57 +0000 (10:13 +0800)]
bugfix: exit unexpectedly if circle exist
- clean %expansion_errors before assign with %tmp_expansion_errors
- exist only if @order is empty
Change-Id: Ibe99208be4128f1f56e8c291712031f855e3d0eb
Zhang Qiang [Sun, 9 Jun 2013 07:03:46 +0000 (15:03 +0800)]
Update semantic meaning of %pkgddeps to report circle in time
In the old design, %pkgddeps only contains package already ready to
be built, that means all it's build dependencies already there.
In that case, some circle will not be reportted earlier.
Now, we changed it, all packages will go into %pkgddeps, and find as
many dependencies as possible.
Change-Id: I766f6c8bef710a22f4906ffa9e8695161985bea1
Zhang Qiang [Tue, 14 May 2013 05:24:38 +0000 (13:24 +0800)]
bump to version 0.7 for gbs 0.16
Change-Id: I467e35697df650a58914aec06499b0879a6dce34
Zhang Qiang [Mon, 13 May 2013 06:59:57 +0000 (14:59 +0800)]
avoid export multiple times for same package
Change-Id: I90cea9d29d220cc15e53497dc883717adef5c710