tools/gbs.git
12 years agobump to gbs 0.6.4 release-0.6 0.6.4
Zhang Qiang [Sat, 9 Jun 2012 14:30:53 +0000 (22:30 +0800)]
bump to gbs 0.6.4

12 years agoUpdate build conf to align with OBS project config changes
Zhang Qiang [Mon, 11 Jun 2012 05:51:52 +0000 (13:51 +0800)]
Update build conf to align with OBS project config changes

12 years agorelease for gbs 0.6.3
Zhang Qiang [Sat, 9 Jun 2012 14:13:24 +0000 (22:13 +0800)]
release for gbs 0.6.3

12 years agoAdd binfmt-support for arm build support
Zhang Qiang [Mon, 4 Jun 2012 07:04:51 +0000 (15:04 +0800)]
Add binfmt-support for arm build support

12 years agoprint the detail path of binaries RPM packages
Zhang Qiang [Mon, 4 Jun 2012 06:59:03 +0000 (14:59 +0800)]
print the detail path of binaries RPM packages

12 years agouse os.system to fix command full path issue
Zhang Qiang [Mon, 4 Jun 2012 06:39:40 +0000 (14:39 +0800)]
use os.system to fix command full path issue

12 years agorelease for v0.6.2 0.6.2
Zhang Qiang [Sun, 3 Jun 2012 10:53:37 +0000 (18:53 +0800)]
release for v0.6.2

12 years agoTransfer local proxy env to build
Zhang Qiang [Sun, 3 Jun 2012 12:26:24 +0000 (20:26 +0800)]
Transfer local proxy env to build

12 years agocall sudo to set qemu arm build environment
Zhang Qiang [Sun, 3 Jun 2012 12:43:42 +0000 (20:43 +0800)]
call sudo to set qemu arm build environment

12 years agohandle all plaintext passwd keys in config
JF Ding [Sun, 3 Jun 2012 10:23:21 +0000 (18:23 +0800)]
handle all plaintext passwd keys in config

12 years agobugfix: run build command directly if user is root
hasan wan [Sun, 3 Jun 2012 10:08:05 +0000 (18:08 +0800)]
bugfix: run build command directly if user is root

12 years agounified the default values of all config keys
JF Ding [Sun, 3 Jun 2012 09:16:38 +0000 (17:16 +0800)]
unified the default values of all config keys

12 years agoenable repo authenticate
hasan wan [Sun, 3 Jun 2012 07:29:43 +0000 (15:29 +0800)]
enable repo authenticate

12 years agoSet default value for distconf to fix backtrace issue
Zhang Qiang [Sun, 3 Jun 2012 01:54:21 +0000 (09:54 +0800)]
Set default value for distconf to fix backtrace issue

12 years agodont need sudo before gbs build, use sudo as su-wrapper
Zhang Qiang [Sun, 3 Jun 2012 01:49:54 +0000 (09:49 +0800)]
dont need sudo before gbs build, use sudo as su-wrapper

12 years agoremove extra output info about build commands
Zhang Qiang [Sun, 3 Jun 2012 01:48:27 +0000 (09:48 +0800)]
remove extra output info about build commands

12 years agobump to version 0.6
Zhang Qiang [Mon, 14 May 2012 10:38:10 +0000 (18:38 +0800)]
bump to version 0.6

12 years agoClenup code of fetching dist conf from obs
Zhang Qiang [Mon, 14 May 2012 10:25:01 +0000 (18:25 +0800)]
Clenup code of fetching dist conf from obs

12 years agoAdd find_binary_path function
Zhang Qiang [Mon, 14 May 2012 10:16:22 +0000 (18:16 +0800)]
Add find_binary_path function

12 years agofix replacement issue after build->remotebuild
Hasan Wan [Mon, 14 May 2012 10:52:18 +0000 (18:52 +0800)]
fix replacement issue after build->remotebuild

12 years agoMore error handling while import sources
Zhang Qiang [Mon, 14 May 2012 07:12:29 +0000 (15:12 +0800)]
More error handling while import sources

12 years agofix un-assigned var issue
Zhang Qiang [Mon, 14 May 2012 05:41:18 +0000 (13:41 +0800)]
fix un-assigned var issue

12 years agofix get user from remotebuild section in config
Zhang Qiang [Mon, 14 May 2012 05:36:58 +0000 (13:36 +0800)]
fix get user from remotebuild section in config

12 years agoAdd error handle for permission of obs project
Zhang Qiang [Mon, 14 May 2012 02:56:54 +0000 (10:56 +0800)]
Add error handle for permission of obs project

12 years agoUpdate tizen-1.0.conf reference build.tizen.org OBS
Zhang Qiang [Sat, 12 May 2012 07:43:54 +0000 (15:43 +0800)]
Update tizen-1.0.conf reference build.tizen.org OBS

12 years agofix rst2man issue in README
Zhang Qiang [Sat, 12 May 2012 07:43:05 +0000 (15:43 +0800)]
fix rst2man issue in README

12 years agorename build->remotebuild, localbuild->build
Zhang Qiang [Thu, 10 May 2012 14:23:40 +0000 (22:23 +0800)]
rename build->remotebuild, localbuild->build

12 years agoIgnore ExcludeArch and BuildArch while parsing spec file
Zhang Qiang [Thu, 10 May 2012 07:03:48 +0000 (15:03 +0800)]
Ignore ExcludeArch and BuildArch while parsing spec file

12 years agofix git archive issue for zip format
Zhang Qiang [Thu, 10 May 2012 06:46:32 +0000 (14:46 +0800)]
fix git archive issue for zip format

12 years agoSet the defautl build server to api.tizen.org
Hasan Wan [Mon, 7 May 2012 03:06:41 +0000 (11:06 +0800)]
Set the defautl build server to api.tizen.org

12 years agoAdd --ccache and --incremental options
Zhang Qiang [Tue, 17 Apr 2012 21:58:09 +0000 (05:58 +0800)]
Add --ccache and --incremental options

12 years agocleanup _fall_to_shell related code
Zhang Qiang [Wed, 18 Apr 2012 07:11:47 +0000 (15:11 +0800)]
cleanup _fall_to_shell related code

12 years agoremove useless data/build.sh
Zhang Qiang [Wed, 18 Apr 2012 02:30:12 +0000 (10:30 +0800)]
remove useless data/build.sh

12 years agobump to version 0.5
Zhang Qiang [Fri, 13 Apr 2012 04:29:56 +0000 (12:29 +0800)]
bump to version 0.5

12 years agoupdate parse_spec to support normal user
hwangx [Fri, 13 Apr 2012 04:03:03 +0000 (12:03 +0800)]
update parse_spec to support normal user

12 years agoRoot permission required notification promote, if running in normal user
Zhang Qiang [Thu, 12 Apr 2012 01:05:37 +0000 (09:05 +0800)]
Root permission required notification promote, if running in normal user

12 years agoUpdate dist packaging files: add missing depends & build errors
Zhang Qiang [Tue, 10 Apr 2012 07:12:12 +0000 (15:12 +0800)]
Update dist packaging files: add missing depends & build errors

12 years agosetup qemu env for arm build
Zhang Qiang [Mon, 9 Apr 2012 15:50:16 +0000 (23:50 +0800)]
setup qemu env for arm build

12 years agobump to version 0.4 0.4
Zhang Qiang [Thu, 5 Apr 2012 13:42:40 +0000 (21:42 +0800)]
bump to version 0.4

12 years agoCorrect tar ball directory
Zhang Qiang [Thu, 5 Apr 2012 08:49:45 +0000 (16:49 +0800)]
Correct tar ball directory

12 years agorevert 'parse_spec function' patch
Zhang Qiang [Thu, 5 Apr 2012 08:34:50 +0000 (16:34 +0800)]
revert 'parse_spec function' patch

12 years agoSupport more tar ball format, tar.bz2, tar.gz, tar.xz, etc.
Zhang Qiang [Thu, 5 Apr 2012 07:55:32 +0000 (15:55 +0800)]
Support more tar ball format, tar.bz2, tar.gz, tar.xz, etc.

12 years agoread commit name/email from git config
Zhang Qiang [Sun, 1 Apr 2012 09:49:41 +0000 (17:49 +0800)]
read commit name/email from git config

12 years agogit module: add commits, commit_parse, and get_config founction
Hasan Wan [Sun, 1 Apr 2012 06:55:01 +0000 (14:55 +0800)]
git module: add commits, commit_parse, and get_config founction

12 years agoAdd general GBS error class
Hasan Wan [Sun, 1 Apr 2012 06:54:15 +0000 (14:54 +0800)]
Add general GBS error class

12 years agoAdd --author-name and --author-email support for gbs import
Zhang Qiang [Sat, 31 Mar 2012 06:13:45 +0000 (14:13 +0800)]
Add --author-name and --author-email support for gbs import

12 years agoAdd arch opts checking.
Zhang Qiang [Fri, 30 Mar 2012 10:17:35 +0000 (18:17 +0800)]
Add arch opts checking.

12 years agoRaise obs error if Base project is empty
Zhang Qiang [Fri, 30 Mar 2012 07:20:42 +0000 (15:20 +0800)]
Raise obs error if Base project is empty

12 years agoparse_spec unittest
hwangx [Thu, 29 Mar 2012 06:34:25 +0000 (14:34 +0800)]
parse_spec unittest

12 years agoparse_spec function
hwangx [Thu, 29 Mar 2012 06:35:11 +0000 (14:35 +0800)]
parse_spec function

12 years agoupdate unittest test case
Guan Junchun [Tue, 27 Mar 2012 10:22:47 +0000 (18:22 +0800)]
update unittest test case

    1. test .tar.xz .tar.lzma .tgz is supported or not

12 years agoadd unittest test case
Guan Junchun [Mon, 26 Mar 2012 10:14:01 +0000 (18:14 +0800)]
add unittest test case

1. test UpstreamTarball class in utils.py
    test tarball format is supported or not, .tar.bz2, .tar.gz, .tar.tgz, .zip

12 years agoStartup for unittest
Hasan Wan [Mon, 26 Mar 2012 02:01:28 +0000 (10:01 +0800)]
Startup for unittest

12 years agobump up version to 0.3 0.3
Zhang Qiang [Fri, 23 Mar 2012 06:48:07 +0000 (14:48 +0800)]
bump up version to 0.3

12 years agoCode cleanup and format adjust
Zhang Qiang [Fri, 23 Mar 2012 06:47:18 +0000 (14:47 +0800)]
Code cleanup and format adjust

Adjust the output information and make it more readable.

12 years agofix rst format issue
Zhang Qiang [Thu, 22 Mar 2012 13:01:06 +0000 (21:01 +0800)]
fix rst format issue

rst format need blank line after sections.

12 years agocreate tmp dir before importing packages
Zhang Qiang [Sun, 27 Nov 2011 21:54:29 +0000 (05:54 +0800)]
create tmp dir before importing packages

12 years agoupdate gbs import-orig
Yang Dawei [Thu, 22 Mar 2012 07:32:18 +0000 (15:32 +0800)]
update gbs import-orig

12 years agoadd supported tarball format
Zhang Qiang [Thu, 22 Mar 2012 06:17:25 +0000 (14:17 +0800)]
add supported tarball format

12 years agogbs import optimization
Yang Dawei [Thu, 22 Mar 2012 05:42:55 +0000 (13:42 +0800)]
gbs import optimization

12 years agoMerge "fix unpack execption when gbs import tarball"
Qiang Zhang [Thu, 22 Mar 2012 04:57:08 +0000 (12:57 +0800)]
Merge "fix unpack execption when gbs import tarball"

12 years agofix import-orig twice issue
Zhang Qiang [Thu, 22 Mar 2012 03:38:17 +0000 (11:38 +0800)]
fix import-orig twice issue

without this patch, all the commits and files would be removed
unexpectlly.

12 years agoUpdate README.rst:word-error handling
Yang Dawei [Wed, 21 Mar 2012 09:46:44 +0000 (17:46 +0800)]
Update README.rst:word-error handling

12 years agoCatch unpack exception if unpack fails
Zhang Qiang [Wed, 21 Mar 2012 09:42:15 +0000 (17:42 +0800)]
Catch unpack exception if unpack fails

12 years agofix unpack execption when gbs import tarball
Guan Junchun [Wed, 21 Mar 2012 09:40:18 +0000 (17:40 +0800)]
fix unpack execption when gbs import tarball

12 years agoUpdate README: Add localbuild and import sections
Zhang Qiang [Wed, 21 Mar 2012 08:02:55 +0000 (16:02 +0800)]
Update README: Add localbuild and import sections

12 years agoadd options --tag for creating tag.
Zhang Qiang [Wed, 21 Mar 2012 06:50:05 +0000 (14:50 +0800)]
add options --tag for creating tag.

12 years agodont need to checkout upstream branch again
Zhang Qiang [Wed, 21 Mar 2012 06:28:06 +0000 (14:28 +0800)]
dont need to checkout upstream branch again

12 years agofix bugs: gbs import XXX.spec error when the dir of spec file contains contents
Guan Junchun [Wed, 21 Mar 2012 05:55:34 +0000 (13:55 +0800)]
fix bugs: gbs import XXX.spec error when the dir of spec file contains contents

12 years agofix issue while importing src.rpm twice
Zhang Qiang [Sat, 26 Nov 2011 09:56:01 +0000 (17:56 +0800)]
fix issue while importing src.rpm twice

12 years agogbs import_orig support
Zhang Qiang [Tue, 20 Mar 2012 15:09:07 +0000 (23:09 +0800)]
gbs import_orig support

12 years agofix gbs localbuild log error
Zhang Qiang [Tue, 20 Mar 2012 04:02:56 +0000 (12:02 +0800)]
fix gbs localbuild log error

12 years agoadd --force-debian option for ubuntu while unpacking src.rpm
Zhang Qiang [Mon, 19 Mar 2012 02:17:46 +0000 (10:17 +0800)]
add --force-debian option for ubuntu while unpacking src.rpm

12 years agofix README.rst build issue
Zhang Qiang [Fri, 16 Mar 2012 09:14:08 +0000 (17:14 +0800)]
fix README.rst build issue

12 years agolocalbuild: refine error handling and use 'sudo' by default
Zhang Qiang [Fri, 16 Mar 2012 08:23:37 +0000 (16:23 +0800)]
localbuild: refine error handling and use 'sudo' by default

12 years agoadd find_tag and merge interface, and create upstream branch
Zhang Qiang [Fri, 16 Mar 2012 03:22:45 +0000 (11:22 +0800)]
add find_tag and merge interface, and create upstream branch

12 years agofirst version of gbs import
Zhang Qiang [Thu, 15 Mar 2012 15:26:03 +0000 (23:26 +0800)]
first version of gbs import

This version of gbs import support the following features:
1. import source rpm to git repository, with two commits, one is
upstream tar ball, another is packaging files, including patches and
spec file;
2. import sources, including tarball, patches and specfile. spec file
need to provide.

12 years agomove archive code after options check.
Zhang Qiang [Thu, 15 Mar 2012 14:54:47 +0000 (22:54 +0800)]
move archive code after options check.

12 years agoUpdate gbs build/localbuild document
Zhang Qiang [Thu, 15 Mar 2012 14:53:41 +0000 (22:53 +0800)]
Update gbs build/localbuild document

12 years agobe safe to catch all exception from osc.core
JF Ding [Wed, 22 Feb 2012 13:56:35 +0000 (21:56 +0800)]
be safe to catch all exception from osc.core

12 years agogbs local build support
Zhang Qiang [Wed, 22 Feb 2012 07:21:54 +0000 (15:21 +0800)]
gbs local build support

First version of localbuild support.
Design:
    As the quick start and first version, gbs-localbuild call build
    scripts directly, in other words, it's a wrapper of build scripts,
    Here's the basic work follow of gbs local build:
    1) Check options and generate command options transfer to 'build'
       i)   arch: build target arch
       ii)  repository: Specify package repositories to create build env
       iii) dist conf file: this can be specified from gbs.conf or
            command line
       iiii)buildroot: Specify build rootdir to setup chroot environment
    2) call linux32 to build 32bit packages if necessary
    3) change to root user to run rpmbuild
    4) call build scripts to all the build stuff.

12 years agoinject osc.core to handle empty server response
JF Ding [Mon, 20 Feb 2012 11:24:50 +0000 (19:24 +0800)]
inject osc.core to handle empty server response

12 years agofixed msger.PrintBufWrapper: proper handle of exceptions
JF Ding [Mon, 20 Feb 2012 11:21:48 +0000 (19:21 +0800)]
fixed msger.PrintBufWrapper: proper handle of exceptions

catch the exception, stop the wrapper and print out the err
message, then raise forward

12 years agodo not show waiting dots for obs proj checking
JF Ding [Mon, 20 Feb 2012 08:49:24 +0000 (16:49 +0800)]
do not show waiting dots for obs proj checking

12 years agoUpdate README and fix packaging issue.
Zhang Qiang [Tue, 14 Feb 2012 07:15:58 +0000 (15:15 +0800)]
Update README and fix packaging issue.

12 years agoshow simple progress message for long time operations
JF Ding [Mon, 13 Feb 2012 11:46:03 +0000 (19:46 +0800)]
show simple progress message for long time operations

new deccorator in msger.py, and wrapping the potential long-time
functions

12 years agoUpdate Readme for new release
Zhang Qiang [Mon, 13 Feb 2012 08:11:49 +0000 (16:11 +0800)]
Update Readme for new release

12 years agoUpdate distfiles with correct dependencies
Zhang Qiang [Mon, 13 Feb 2012 08:14:42 +0000 (16:14 +0800)]
Update distfiles with correct dependencies

12 years agoenable the global debug and verbose for osc
Hasan Wan [Mon, 13 Feb 2012 05:29:04 +0000 (13:29 +0800)]
enable the global debug and verbose for osc

12 years agofixed bug in runner for wildchar matching v0.2
JF Ding [Thu, 9 Feb 2012 12:10:33 +0000 (20:10 +0800)]
fixed bug in runner for wildchar matching

e.g. the old one cannot handle 'ls *' properly, we need the
'shell=True' option of subprocess module to handle wildchars
automatically.

12 years agomore generic git.archive implementation
JF Ding [Thu, 9 Feb 2012 11:45:09 +0000 (19:45 +0800)]
more generic git.archive implementation

12 years agoAdd git archive_tar API, and use git archive to gen tar ball
Zhang Qiang [Thu, 9 Feb 2012 11:27:16 +0000 (19:27 +0800)]
Add git archive_tar API, and use git archive to gen tar ball

12 years agogbs-build: enhancement and bug fix
Zhang Qiang [Thu, 9 Feb 2012 08:57:23 +0000 (16:57 +0800)]
gbs-build: enhancement and bug fix

* dont use keyring
* re-define tar ball format
* give details obs package url

12 years agoavoid to catch print msg in debug run mode
JF Ding [Thu, 9 Feb 2012 07:04:16 +0000 (15:04 +0800)]
avoid to catch print msg in debug run mode

12 years agocode format: shorten all 80+ long lines
JF Ding [Wed, 8 Feb 2012 11:37:46 +0000 (19:37 +0800)]
code format: shorten all 80+ long lines

12 years agomsger: sync the changes from mic.git
JF Ding [Wed, 8 Feb 2012 10:22:39 +0000 (18:22 +0800)]
msger: sync the changes from mic.git

12 years agochanges of git wrapper module
JF Ding [Wed, 8 Feb 2012 09:54:40 +0000 (17:54 +0800)]
changes of git wrapper module

12 years agogbs-build: support --base-obsprj and --target-obsprj
Zhang Qiang [Wed, 8 Feb 2012 10:15:25 +0000 (18:15 +0800)]
gbs-build: support --base-obsprj and --target-obsprj

12 years agoFix branch/checkout issue
Zhang Qiang [Wed, 8 Feb 2012 07:12:58 +0000 (15:12 +0800)]
Fix branch/checkout issue

12 years agoadd wrapper class to catch `print` in msger
JF Ding [Wed, 8 Feb 2012 06:41:33 +0000 (14:41 +0800)]
add wrapper class to catch `print` in msger