SoonKyu Park [Tue, 3 May 2016 08:37:17 +0000 (17:37 +0900)]
Upgrade dependency on depanneur and update RELEASE NOTES for more details
Change-Id: Ia76ea1280da8cc2868e284ef4d6da08d8dd600bd
Jun Wang [Mon, 18 Apr 2016 07:54:31 +0000 (15:54 +0800)]
Change docs/RELEASE_NOTES for new release infomation
Change-Id: I2c9a7482841e3f5ececaa8c837d11962936c25e5
Conflicts:
docs/RELEASE_NOTES
SoonKyu Park [Mon, 11 Apr 2016 05:22:33 +0000 (14:22 +0900)]
Handle conflict from git merge release-
20160315
Jun Wang [Fri, 18 Mar 2016 09:05:48 +0000 (17:05 +0800)]
Suit test file with git-buildpackage changes from 'packing' to 'vendor'
Change-Id: I1548465f01eee43062399592bd0d3bc25cfbe01e
Jun Wang [Mon, 7 Mar 2016 14:47:57 +0000 (22:47 +0800)]
change tizen-gbp-rpm to
20140828
Change-Id: If2353c14bfdf91fbf4bd9c6ade1a6de9819ff871
Jun Wang [Mon, 7 Mar 2016 11:11:18 +0000 (19:11 +0800)]
Change the gbs version
Change-Id: Ib5a0ea1fceb9a4b80732272c0d48bbbf907c31f8
Jun Wang [Fri, 4 Mar 2016 16:37:19 +0000 (00:37 +0800)]
change log
Change-Id: I9fcf11d886122c5a7e38bc79483dc1ade7780a31
Jun Wang [Fri, 4 Mar 2016 14:28:55 +0000 (22:28 +0800)]
Upgrade gbs version to 0.24
gbs (0.24):
* upgrade to gbs v0.24, which contains the following bug fixing & features:
* bug fix:
- fix Security issues that normal user can gain root permission with gbs chroot
- fix git-build-package bugs and imporve some performance
*Add --fail-fast option.
Change-Id: Ia8e7eace05e29cf9193f8dfc975ff5f306fe5768
Rong Jinhui [Thu, 10 Sep 2015 02:29:59 +0000 (10:29 +0800)]
Add --fail-fast option.
Change-Id: I213086f8668cc24ad431763d5a916c2af0a18def
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
Jun Wang [Thu, 18 Feb 2016 16:04:02 +0000 (00:04 +0800)]
fix osc require version to 0.132.6
Change-Id: Ibdc00255706994ed56e0cc58728b9df330708b00
Rong Jinhui [Thu, 21 Jan 2016 08:25:12 +0000 (16:25 +0800)]
Change version number of osc which required by GBS
Change version number of osc from '>=0.139.0' to '>=0.132.6'.
We want to use osc of official website instead of our local.
Package Release Version
osc Ubuntu_12.04 0.132.6
osc Debian_7 0.134.1
osc Others >= 0.132.6
Change-Id: Icadeea42e17261b61c70b04d70b0a67daff4b46b
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
Conflicts:
debian/control
packaging/gbs.spec
Rong Jinhui [Mon, 12 Oct 2015 08:00:48 +0000 (16:00 +0800)]
Modify unit test case 'test_new_changes' in 'tests/test_changelog'
file to adapt CentOS_6.
Change-Id: Ib3833b98001a059a16b247e7c29a3726634f0dc3
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
Rong Jinhui [Fri, 19 Jun 2015 09:33:08 +0000 (17:33 +0800)]
Test patchset on "devel" branch
Change-Id: I3909bc369fc1b98622d9add18fdaa3c06233d468
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
Rong Jinhui [Fri, 8 May 2015 10:34:33 +0000 (18:34 +0800)]
Delete unused module of file cmd_devel.py
Change-Id: I131876b5939fd17f9656545195809e4849d24ad7
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
kangjie [Thu, 30 Apr 2015 07:41:10 +0000 (15:41 +0800)]
Signed-off-by: kangjie <kangjie.li@samsung.com>
tool-release test
Change-Id: If2274786fc5fdffa337568c4299bf34c85bf9a54
Rong Jinhui [Thu, 30 Apr 2015 04:46:04 +0000 (12:46 +0800)]
Fix pylint C(onvention).
Change-Id: I131374defa85a6ac619475b85858b7aed848708b
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
Li Jinjing [Mon, 22 Dec 2014 10:38:13 +0000 (18:38 +0800)]
Fix bad indentation from pylint checking
Change-Id: If2fd77167e37d029de392b88c755878c285e3b0d
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Junchun Guan [Fri, 14 Nov 2014 03:22:35 +0000 (11:22 +0800)]
Keep root user ownership of jenkins job and script
Fixes: #2223
Change-Id: I837f3b3275d194f4411b8d87465b60830afd29b4
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Li Jinjing [Thu, 13 Nov 2014 06:49:54 +0000 (14:49 +0800)]
Checking whether local prebuilt could support the correct necessary binaries.
For gbs build, current local prebuilt repos are:
toolchain-x86 for arch i586
toolchian-arm for arch armv7l
toolchian-x86_64 for arch x86_64
Fixes: #2208
Change-Id: Ia42d40fcbd220ea2fb5b03fe58c53a6139a0f1a1
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Conflicts:
gitbuildsys/cmd_build.py
Rong Jinhui [Thu, 6 Aug 2015 10:01:17 +0000 (18:01 +0800)]
Change spec and control to adapt version of gbp(0.6.25-tizen20150804)
Change-Id: I9064864ec34b757a0fb4792429d9474d46308a10
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
Li Jinjing [Mon, 20 Apr 2015 10:30:31 +0000 (18:30 +0800)]
bump to 0.23.3 release
Change-Id: I9091b6950db1d9e9c1db10c95cc8554669e3f828
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Li Jinjing [Wed, 22 Apr 2015 11:30:51 +0000 (19:30 +0800)]
Revert "Modify tag mode in test_import script based on gbp update."
This reverts commit
a004850a365ab597f35b389ea2e87c3ad161e690.
Change-Id: I36a3a749c01b928db03e43c41daab67282696fd3
Dai Lang [Mon, 2 Feb 2015 02:50:35 +0000 (10:50 +0800)]
bump to 0.23.2 release
Change-Id: I8d199b589946eaba31fbf8e0a2d264d9ed4926b4
Segned-off-by: Dai Lang <langx.dai@intel.com>
Junchun Guan [Fri, 14 Nov 2014 03:22:35 +0000 (11:22 +0800)]
Create jenkins user in preinstall step
Change-Id: Ief1d33a7c773eb6fb4367cd49542d03bfd72d385
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Li Jinjing [Tue, 20 Jan 2015 11:50:43 +0000 (19:50 +0800)]
bump to 0.23.1 release
Change-Id: I1d7ccfb977211079070920be82cb4042ee96224d
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Li Jinjing [Tue, 9 Dec 2014 09:49:21 +0000 (17:49 +0800)]
Get value of "fallback_to_native" from gbs configuration
With command "gbs -c <configuration> lb -A arch", if name of configration isn't
.gbs.conf, gbs will fail to get the value of "fallback_to_native" from the
configuration.
Fixes: #2263
Change-Id: I158f0aaef830942d278fcdf6f3d639afb0378a7f
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Junchun Guan [Thu, 15 Jan 2015 03:46:39 +0000 (11:46 +0800)]
Fix jenkins user not exist issue when installing gbs jenkins jobs and scripts
Make gbs-jenkins-jobs and gbs-jenkins-scritps depend on jenkins
Install jenkins from extra repo, this package will create jenkins user
Modify packages files owner to jenkins user
Fixes: #2311
Change-Id: I784306e66613cabe54e92276863834f452dd5749
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Li Jinjing [Mon, 22 Dec 2014 10:38:13 +0000 (18:38 +0800)]
Fix bad indentation from pylint checking
Fix Conflicts:
gitbuildsys/cmd_build.py
Change-Id: If2fd77167e37d029de392b88c755878c285e3b0d
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Signed-off-by: Dai Lang <langx.dai@intel.com>
Li Jinjing [Mon, 19 Jan 2015 08:33:25 +0000 (10:33 +0200)]
Merge "Modify tag mode in test_import script based on gbp update." into release-0.23
Junchun Guan [Fri, 14 Nov 2014 03:22:35 +0000 (11:22 +0800)]
Keep root user ownership of jenkins job and script
Fixes: #2223
Change-Id: I837f3b3275d194f4411b8d87465b60830afd29b4
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Li Jinjing [Wed, 10 Dec 2014 15:51:18 +0000 (23:51 +0800)]
Modify tag mode in test_import script based on gbp update.
Fixes: #2275
Change-Id: Ie28c5a0f0c47f83e1400383075a1475a7442e3b7
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Gui Chen [Wed, 15 Oct 2014 04:41:56 +0000 (04:41 +0000)]
dummy commit to trigger gbp service
Signed-off-by: Gui Chen <gui.chen@intel.com>
Li Jinjing [Wed, 15 Oct 2014 17:07:25 +0000 (13:07 -0400)]
bump to official release 0.23
Change-Id: I428653b542033e84445819ac20be20db3db150f0
Gui Chen [Tue, 2 Sep 2014 07:54:18 +0000 (03:54 -0400)]
Revert "export: change VCS tag in spec to sha1 of commitish"
This reverts commit
704ab3f733e7d06cd87dd1b38112b5de285e202a.
Gui Chen [Wed, 15 Oct 2014 02:18:41 +0000 (05:18 +0300)]
Merge "Implement 'native' config option" into devel
Li Jinjing [Mon, 13 Oct 2014 07:31:44 +0000 (15:31 +0800)]
Rename '--no-source-rpm' to '--skip-srcrpm'
Fixes: #2048
Jira : DEVT-193
Change-Id: I1008131d1c1dadb0a5e4691a6d4cb1aa858d23b4
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Markus Lehtonen [Wed, 8 Oct 2014 14:07:33 +0000 (17:07 +0300)]
Implement 'native' config option
Add new 'native' configuration file option. The new option explicitly
sets the "nativity" of the package and no guessing based on existing
branches is done.
It is recommended to have this option set in the package-specific (i.e.
committed in the Git tree) .gbs.conf for every package. In the config
file, values 'yes', 'on', '1', 'true' and 'enabled' are interpreted as
True, all other non-empty values are interpreted as False.
Change-Id: Ie7474c04287124fd928e7b8b43d64392dc68ca3c
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Li Jinjing [Mon, 29 Sep 2014 11:21:27 +0000 (19:21 +0800)]
Add new option:--no-source-rpm
The new option supports gbs doesn't build src.rpm file, to speed up building
procedure of some big source git trees in development process.
JIRA:DEVT-193
Change-Id: Ic9d77f9c3d69a7ea28ba15738160d0d679672a4d
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Andrii Boichuk [Thu, 24 Jul 2014 14:46:09 +0000 (17:46 +0300)]
Add mips and mipsel support
Change-Id: I2a536b67212526ebdd3cd583666921bcbbad2057
Signed-off-by: Andrii Boichuk <andrii.boichuk@globallogic.com>
Jian-feng Ding [Thu, 9 Oct 2014 11:01:05 +0000 (14:01 +0300)]
Merge "option: add icecream support" into devel
Li Jinjing [Thu, 9 Oct 2014 05:16:17 +0000 (13:16 +0800)]
expicitly value force_native=False in create_gbp_export_args.
Change-Id: If21e03f8352add2f2213737e0ece161c143a2c91
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Julien Isorce [Wed, 13 Aug 2014 13:53:54 +0000 (14:53 +0100)]
option: add icecream support
The icecream N option is forwarded to depanneur
which one forwards it to the build script
Change-Id: I43e84a4b483093e2919d74575d55c756307ea423
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Markus Lehtonen [Mon, 29 Sep 2014 09:32:42 +0000 (12:32 +0300)]
Implement 'fallback-to-native' option
Add a new '--fallback-to-native' command line option and a corresponding
'fallback_to_native' configuration option. This option re-introducs the
old behaviour (removed in v0.17) of falling back to to native packaging
mode if upstream tarball or patch generation fails. That is gbs will
simply create the source tarball from the exported commit (instead of
upstream tag or pristine-tar) and doesn't generate any patches.
Change-Id: Iee44872c095fa5e50435e4c57ba17ef27c114aeb
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Mon, 29 Sep 2014 08:45:54 +0000 (11:45 +0300)]
export: add force_native argument to create_gbp_export_args()
Re-introduce this argument to make it possible to fallback to native
packaging mode.
Gui Chen [Tue, 16 Sep 2014 07:31:10 +0000 (03:31 -0400)]
Revert "Avoid importing packaging dir to upstream branch by adding it as default filter."
This reverts commit
ae19cc8ac293e137901d840f90240b26dedd119d.
Li Jinjing [Sun, 14 Sep 2014 16:15:09 +0000 (00:15 +0800)]
Avoid importing packaging dir to upstream branch by adding it as default filter.
When a source rpm package is generated from a native source git tree, gbs will
import source to upstream branch together with packaging directory.
But packaging dir shouldn't exist in upstream branch.
Readmine issue:2114
Change-Id: I7442bc5ef8b5db4f7a5db1b95c530d605b0dc4a0
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Junchun Guan [Wed, 13 Aug 2014 09:04:30 +0000 (17:04 +0800)]
Remove jenkins depended by gbs-jenkins-jobs
gbs-jenkins-jobs's dependency jenkins doesn't exist in
offical repoistory, which block the tester script to install
all binaries.
Change-Id: Ibc0306fa4a8955b215c2227f08d2175dd18060b1
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Markus Lehtonen [Fri, 11 Jul 2014 13:09:26 +0000 (16:09 +0300)]
log: prepare for the upcoming API change in gbp.log
Change-Id: I1a1e88722db8946647f748e0710df19bdbb96c58
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 11 Jul 2014 17:26:43 +0000 (20:26 +0300)]
log: disable some invalid pylint errors
Change-Id: Ie2200956be73814accf088109ccd02bef0780437
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Zhang Qiang [Fri, 13 Jun 2014 02:54:33 +0000 (10:54 +0800)]
bump to 0.22.1 release
Change-Id: I800b58a4d21ce0f011f5cca80175e78473a19147
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Markus Lehtonen [Fri, 30 May 2014 11:11:10 +0000 (14:11 +0300)]
export: disable desktop notifications
Desktop notifications are really not needed and are just one potential
source of problems.
Closes: DEVT-178
Change-Id: If0005312cc4dce63ae829fbb3f1b4208f0c05d8f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Mon, 2 Jun 2014 09:08:18 +0000 (12:08 +0300)]
export: change VCS tag in spec to sha1 of commitish
Do not resolve to the sha1 of the commit object anymore. That is, the
VCS tag will contain the sha1 of the tag object if an (annotated) tag is
exported (previously, it would contain the sha1 of the commit the tag,
or the chain of tags, pointed to) (previously, it would contain the sha1
of the commit the tag, or the chain of tags, pointed to).
Change-Id: I5b8d164cf1f4e910740d75df825cd506ffb9437c
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 30 May 2014 11:11:10 +0000 (14:11 +0300)]
export: disable desktop notifications
Desktop notifications are really not needed and are just one potential
source of problems.
Closes: DEVT-178
Change-Id: If0005312cc4dce63ae829fbb3f1b4208f0c05d8f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Zhang Qiang [Thu, 22 May 2014 12:43:23 +0000 (20:43 +0800)]
bump to official release 0.22
Change-Id: Ib0ea4be1694300abc72d621816b83b7029d06345
Zhang Qiang [Wed, 21 May 2014 15:27:44 +0000 (23:27 +0800)]
Update Release Notes
- add new distributions support list
- update required dependencies
Change-Id: I18c25f218842df396eeed1e03638b4c748f91475
Zhang Qiang [Wed, 21 May 2014 14:18:21 +0000 (22:18 +0800)]
bump to 0.22~rc1
Change-Id: Iaef7fa7e5caa65c27b657d3d950e62ab84b696dd
Zhang Qiang [Wed, 21 May 2014 14:22:58 +0000 (22:22 +0800)]
Update dependency for new release
depanneur: 0.13
git-buildpackage:
20140521
Change-Id: Ic840c08ce686567338a2f2536f12d4a223f7dab9
Markus Lehtonen [Wed, 21 May 2014 07:46:41 +0000 (10:46 +0300)]
changelog: fix import of the gbp changelog module
After it was renamed in gbp.
Change-Id: Ic66e16c672ec1ba42ab660c20225a87975fb9b0d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Rui Lv [Tue, 20 May 2014 07:19:01 +0000 (03:19 -0400)]
Rename "Maintenance Models" section to better reflect the theme
Change-Id: Ib119d538d4e104bff5e5304583a9eb6f46ba08d6
Zhang Qiang [Thu, 15 May 2014 15:56:30 +0000 (23:56 +0800)]
Supporting new profile key 'exclude_packages'
Tizen packages always have dependencies circles, and current gbs
does not support building multiple packages with circles. so
developer have to use --exclude option to exclude them every build
time.
This patch introduce exclude_packages to make user can configure
it in profile section.
Fixes: #1882
Change-Id: I3ab52fe2e405e0ebc009d14d230af8d3a638a4a7
Markus Lehtonen [Fri, 16 May 2014 12:12:01 +0000 (15:12 +0300)]
changelog: implement '--all' cmdline option
For using all commits from the Git history. Overrides the '--since'
option, in case both are defined.
Fixes: #1829
Change-Id: I5ebfcb2e14396725067b64d6756f97af5928c22b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 16 May 2014 13:42:46 +0000 (16:42 +0300)]
docs: update section about package maintenance models
Especially, improve documentation regarding the orphan-packaging model.
Change-Id: I11b320d1b1cea6a683377fd23b1a35fdead9118f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 25 Apr 2014 07:18:09 +0000 (10:18 +0300)]
docs: documention for the new orphan-packaging maintenance model
Document the new 'devel' subcommand and the related package maintenance
model and Git branching layout.
Change-Id: I8ee145cbe96efea86b588ece561218425eca3bf5
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 24 Apr 2014 06:27:53 +0000 (09:27 +0300)]
submit: refuse to submit from development branch
The submit command now detects if the submission is done from the
development branch of an orphan packaging branch and fails in this case.
Submissions must be done from the packaging branch if the package is
maintained using the orphan-packaging model.
Change-Id: I8fdfe9c64f1e71b1d8e1a5cdfa1ad63e93378b75
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 23 Apr 2014 10:31:07 +0000 (13:31 +0300)]
export: fix bug in generation of gbp cmdline options
Always give '--git-export' option to git-buildpackage-rpm. This bug was
introduced when enabling the support for development branches.
Change-Id: I48daf69723979b04dbb6f12304e5dcb20666b44a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Li Jinjing [Fri, 25 Apr 2014 11:54:44 +0000 (07:54 -0400)]
Add the missed 'cmd_devel.py' in gbs/debian/gbs.install
Change-Id: I5d66b93c4d7580173605db17b8f56cbd3ea38a80
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Markus Lehtonen [Thu, 27 Mar 2014 09:20:43 +0000 (11:20 +0200)]
changelog: utilize rpm-ch from git-buildpackage
Start to use the gbp changelog tool as backend as it is more
feature-rich. For example, it automatically parses bug-tracking-system
meta-tags from the commit messages (i.e. "Closes: XYZ" etc) and has a
lot more intelligent start-commit guessing.
Later on, additional features from gbp can be enabled in gbs, too.
Creating a new changelog from scratch now requires giving the --since
option. Previously gbs would take the whole git history to the changelog
which is problematic - e.g. creating a new changelog for linux kernel
would take every commit from the linux git history which is *very* long.
Also, the order of entries (i.e. commits) in the new changelog section
is now reversed: the oldest commit will be first (topmost) in the list
and the newest commit will be at the bottom of the list. This should
make the changelog a better chronological read.
Change-Id: Ib4f02f9be95f869b2161d16f8b68f828c5c1deda
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 10 Apr 2014 12:30:18 +0000 (15:30 +0300)]
packaging: drop unneeded build requirement
Change-Id: I89aad41d263af14f21736622bce0105e63c9e9bd
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Markus Lehtonen [Thu, 10 Apr 2014 12:23:09 +0000 (15:23 +0300)]
devel: implement --retain-history option
With this option defined gbs tries to preserve the history of the
changes (since upstream) doing a convert. Basically, for each commit in
the old branch a corresponding commit in the new orphan packaging branch
is created. This works by dumping packaging files and updating patches
for each commit. However, empty commits are not generated - these are
caused e.g. by changes files that are ignored by patch-generation like
.gbs.conf.
NOTE! Only valid for the 'convert' action.
Change-Id: I669fa6732bea7940561f5c99820d6d97d14b0658
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 20 Mar 2014 08:16:59 +0000 (10:16 +0200)]
import: add --orphan-packaging option
This option causes packaging files to be imported into an orphan branch
which has no common history with the upstream branch. Patches are not
applied either, but, packaging files are imported "as is". The new
options is for supporting the new package maintenance model which has
separate branches for packaging files and source code development. After
importing a source package with this option, a development branch can be
created with "gbs devel start".
NOTE! The new option is only valid for implementing source rpms - no
effect when importing upstream tarballs.
Change-Id: Ib7004ccacf8bc15a9935ade60910a74c577893cb
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 20 Mar 2014 08:16:59 +0000 (10:16 +0200)]
build: support for the new development/* branches
The build now detects the package maintenance model (separate packaging
and devel branches or the old single packaging branch).
Change-Id: I2e2d22a7582e1c9e70182eea6ce2c3f1f6b97ad5
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 20 Mar 2014 08:16:59 +0000 (10:16 +0200)]
export: support for the new development/* branches
Export now detects the package maintenance model (separate packaging and
devel branches or the old single packaging branch) from the local
.gbs.conf and available branches. If an orphan branch (no common history
with the upstream branch) patch export is disabled and packaging files
are taken as is from the branch. If gbs detects from the local .gbs.conf
that the current branch is a development branch the packaging files are
taken from the packaging branch, but, patches are generated from the
development branch.
Change-Id: Ic7b782480a36792ae5ae55f8159a6850d894799a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Tue, 25 Mar 2014 11:54:30 +0000 (13:54 +0200)]
export: drop one unused internal function argument
The force_native argument of create_gbp_export_args() is not used
anywhere, anymore.
Change-Id: I1c5659904caf5b0dd22c55fac4e5122f4e76c0f7
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Sat, 8 Feb 2014 08:58:49 +0000 (10:58 +0200)]
Implement 'devel' subcommand
This command is to support another development model where packaging
files are maintained in a separate branch and source code changes in
separate development branch(es). The devel command is designed for
managing these development branches.
The subcommand provides the following actions:
1. gbs devel start: initialize development branch
2. gbs devel export: export patches from development branch back onto
the packaging branch
3. gbs devel drop: delete the development branch
4. gbs devel switch: switch between packaging and development branches
5. gbs devel convert: convert a package from the "old single branch"
development model to the new model
Change-Id: I2eec2b2ed73f50e03a9f7a2e5f6d24fc765c3a5b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Tue, 25 Mar 2014 10:19:16 +0000 (12:19 +0200)]
conf: make it possible to update an empty conf file
Change-Id: Ifdc0fc88424a10500749d74fa1784eeea7012031
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Mon, 24 Mar 2014 13:01:46 +0000 (15:01 +0200)]
conf: make it possible to add new sections
Change the set_into_file() method so that a new section is added if the
desired section is not found in the config.
Change-Id: Ic4c513bd07b0b7ce8a82b921faba35ed36befef5
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Zhang Qiang [Tue, 11 Mar 2014 03:27:15 +0000 (11:27 +0800)]
Fix Pylint Error
C0301: Line too long
C0326: No space allowed around keyword argument assignment
C0326: Exactly one space allowed before assignment
Change-Id: Ie40818628a51c0d52ec6b9bd3ad062c0caee9209
Zhang Qiang [Wed, 12 Mar 2014 09:13:31 +0000 (17:13 +0800)]
bump to official version 0.21
Change-Id: I28314c306d70f29cc47a031d6c71b5f62b095a24
Zhang Qiang [Wed, 12 Mar 2014 03:06:54 +0000 (11:06 +0800)]
Update document to add some fixed bugs info
Change-Id: I5ff7d75802d29b5202303e812178f5e80895c66a
Zhang Qiang [Wed, 12 Mar 2014 09:58:12 +0000 (17:58 +0800)]
bugfix: check the existance of specified package dir
Change-Id: I367fb10aa4cad247711ea797a2c6c5c398f03555
Ed Bartosh [Tue, 11 Mar 2014 18:42:50 +0000 (20:42 +0200)]
Fixed xml.etree future warning
New distros come with new xml.etree API, which produces this warning
when using oscapi:
/usr/lib/python2.7/site-packages/gitbuildsys/oscapi.py:105:
FutureWarning: The behavior of this method will change in future
versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if element:
This is also mentioned in the python documentation for xml.etree.find API:
Caution: Elements with no subelements will test as False. This behavior
will change in future versions. Use specific len(elem) or elem is None
test instead.
Fixes: #1706
Change-Id: I84c4a947125a8d96584fef609dc5266b97447c0e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Zhang Qiang [Tue, 11 Mar 2014 08:50:57 +0000 (16:50 +0800)]
Upgrade rpm packaging version to 0.21.rc1
Change-Id: If2a6cd12150dbb50a96b5727b76d084f73b060e5
Zhang Qiang [Tue, 11 Mar 2014 07:25:46 +0000 (15:25 +0800)]
Add Release notes for gbs 0.21
Change-Id: Iaba15abd1521fd977e6766d7983324a506401f40
Zhang Qiang [Tue, 11 Mar 2014 08:31:48 +0000 (16:31 +0800)]
Update gbs version to 0.21
Change-Id: Ifd75c69d3a75c59deff4eb7e554fe856ec0ec957
Junchun Guan [Tue, 11 Mar 2014 06:42:40 +0000 (14:42 +0800)]
Update jenkins jobs configuration
Change-Id: I40b16621ec3390cf78e55e44af2b11dc71140364
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Zhang Qiang [Tue, 11 Mar 2014 07:46:34 +0000 (15:46 +0800)]
Checking REMOTE_REPOS parameter
REMOTE_REPOS parameter must be specified for job_build_package_list job.
Change-Id: I5e8e89be531599ab3da27acb6a064f48970b7a98
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Zhang Qiang [Tue, 11 Mar 2014 07:30:28 +0000 (15:30 +0800)]
Remove BUILD_ID generation from common_funtion module
BUILD_ID is only necessary for job_build_packagelist job
Change-Id: I33f9877764a33ab51c4bb75bf9174f60669a0389
Zhang Qiang [Tue, 11 Mar 2014 06:42:39 +0000 (14:42 +0800)]
bump to gbs 0.21 rc1
Change-Id: I7de47a61bfd32c1ba97ebf06c17e7e1abd9c18c0
Zhang Qiang [Tue, 11 Mar 2014 06:08:34 +0000 (14:08 +0800)]
depend on new version of git-buildpackage and depanneur
Prepare for gbs 0.21
Change-Id: Icc572d51a8b8cdc1b82929f2e2f39f38a359d02f
Junchun Guan [Mon, 10 Mar 2014 09:27:50 +0000 (17:27 +0800)]
Filter image-configurations debug packages
Just search image-configuration.rpm, exclude debug packages
Change-Id: I5b494b217339183225c0c02689684057df66fc70
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Junchun Guan [Thu, 6 Mar 2014 07:38:37 +0000 (15:38 +0800)]
Uncomment the line about repo sync
Change-Id: I86dc1fc0d88c392f0d32156cf9db4508331355c9
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Zhang Qiang [Thu, 6 Mar 2014 05:18:40 +0000 (13:18 +0800)]
Removed tracked upstream/pristine-tar branches in time
If no local upstream/pristine-tar branches, but exist in remote
branches, gbs should track it for export packages usage in gbp.
The tracked local branches is temp branch should be removed after
finishing export packages.
Change-Id: Iff5ba8a86b0b21b72f279eaadf6441a7178ce882
Zhang Qiang [Wed, 5 Mar 2014 06:03:37 +0000 (14:03 +0800)]
Skip image creation if No KS files generated or found
Change-Id: Ice3d6bd4b988c8153cd5f797ef7760ab99da90f2
Qiang Z Zhang [Wed, 5 Mar 2014 09:20:16 +0000 (11:20 +0200)]
Merge "Fix gbs build fails if packaging/ is a symlink" into devel
Qiang Z Zhang [Wed, 5 Mar 2014 08:56:39 +0000 (10:56 +0200)]
Merge "Use python2.6 compatible method of parsing xml" into devel
Junchun Guan [Mon, 3 Mar 2014 04:04:15 +0000 (12:04 +0800)]
Fix gbs build fails if packaging/ is a symlink
gbs run `git ls-tree --name-only HEAD packaging` to search specs.
If packaging directory is a symlink, spec files cannot be found.
Fixes: #1630
Change-Id: I0b6262a0197de2c922a19e85687035111c92de0b
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Junchun Guan [Thu, 27 Feb 2014 08:13:35 +0000 (16:13 +0800)]
Add jenkins jobs and jenkins scripts for GBS local full build
Two sub-packages introduced:
- gbs-jenkins-jobs: jenkins job configuation files
- gbs-jenkins-scripts: scripts used by jenkins jobs
gbs-jenkins-jobs should be installed on jenkins master, and
jenkisn script should be installed on jenkins slave nodes.
Fixes: #1565
Change-Id: I879d238a82739c7cea62a371edf9e8ee7f4fdbb9
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Junchun Guan [Fri, 28 Feb 2014 08:16:28 +0000 (16:16 +0800)]
Use python2.6 compatible method of parsing xml
Change-Id: I9785815f63beba5ef7210939222b1f7b78ed84c4
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
Zhang Qiang [Tue, 25 Feb 2014 06:02:37 +0000 (14:02 +0800)]
Enhance exception caused by proxy
Add http_code 503 as proxy issue, and print system proxy environment
if encounter error.
Fixes: #1383
Change-Id: Ide3daefa57dc16241891fd4cd205e5444ff9a30b
Zhang Qiang [Wed, 19 Feb 2014 08:15:59 +0000 (16:15 +0800)]
Update README.rst
Full document is docs/GBS.rst, so the README file only contains the
the basic info of gbs
Change-Id: I22dba1d0b37935b3571a0605fcf93fd9fd71b6a8
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>