tools/gbs.git
12 years agoAdd --spec option and add guess_spec fuc to select correct spec file
Zhang Qiang [Tue, 29 May 2012 09:20:54 +0000 (17:20 +0800)]
Add --spec option and add guess_spec fuc to select correct spec file

12 years agoMerge "Add export sub command"
Qiang Z Zhang [Mon, 28 May 2012 22:41:16 +0000 (15:41 -0700)]
Merge "Add export sub command"

12 years agoAdd export sub command
Anas Nashif [Mon, 28 May 2012 10:26:55 +0000 (11:26 +0100)]
Add export sub command

Export packaging files to a directory out of the git tree or
create archive in packaging without building.

Change-Id: I942c3e643ac90028158d83b79abd61456ba4782d

12 years agochangelog: Use EDITOR environment variable
Ed Bartosh [Mon, 28 May 2012 12:09:48 +0000 (15:09 +0300)]
changelog: Use EDITOR environment variable

Change-Id: Ic21f01c94a06fdd0d64e959eaff3b590dc149f52

12 years agoprovide a callback function to check the validation of OBS project name
Dawei Yang [Sun, 29 Jan 2012 17:08:52 +0000 (01:08 +0800)]
provide a callback function to check the validation of OBS project name

12 years agohandle gbs remotebuild build server connection timeout error
Guan Junchun [Wed, 23 May 2012 08:29:56 +0000 (16:29 +0800)]
handle gbs remotebuild build server connection timeout error

12 years agocheck git dir before gbs remotebuild
Guan Junchun [Tue, 22 May 2012 08:19:14 +0000 (16:19 +0800)]
check git dir before gbs remotebuild

12 years agocheck repository option with callback function
Zhang Qiang [Fri, 18 May 2012 05:28:02 +0000 (13:28 +0800)]
check repository option with callback function

12 years agoUpdate usage of configmgr to adjust new format of gbs config
Zhang Qiang [Fri, 18 May 2012 05:22:54 +0000 (13:22 +0800)]
Update usage of configmgr to adjust new format of gbs config

12 years agofix gbs import use undefined variable issue
Guan Junchun [Tue, 22 May 2012 02:39:51 +0000 (10:39 +0800)]
fix gbs import use undefined variable issue

12 years agobump to version 0.6 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

Change-Id: I855049823f247f99067a5ce3fe79391c65f5968a

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

Change-Id: Ifd9788b7d4e73bda371287ed44a64fb568f89e49

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

Change-Id: Id85145e09165a25efe69898534b64b977908914c

12 years agorename build->remotebuild, localbuild->build
Ed Bartosh [Wed, 16 May 2012 15:32:48 +0000 (18:32 +0300)]
rename build->remotebuild, localbuild->build

Change-Id: Ida27a695bc6650b130b74d1a7e8b5f193350cb46

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

Change-Id: I2ea1d17d4421cd3ac4a07809537e83d2e25d15ac

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

Change-Id: If958ab4f45fe0bc5d4288b66abc999027fed23bc

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 0.5
Zhang Qiang [Fri, 13 Apr 2012 04:29:56 +0000 (12:29 +0800)]
bump to version 0.5

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 agoProperly determine compression type of orig tarball
Ed Bartosh [Mon, 14 May 2012 08:41:59 +0000 (11:41 +0300)]
Properly determine compression type of orig tarball

Change-Id: If70b2baad0c2f50ee0c55b8372c0e015d6aa92e9

12 years agoConsider workdir argument in build mode
Ed Bartosh [Fri, 11 May 2012 12:06:22 +0000 (15:06 +0300)]
Consider workdir argument in build mode

Change-Id: I45db75729ea6cd696ed138e1327acaac0b5dfb70

12 years agoGet rid of deprecated option --tag in import mode
Ed Bartosh [Thu, 10 May 2012 11:21:20 +0000 (14:21 +0300)]
Get rid of deprecated option --tag in import mode

Change-Id: I80ca97d165d7e734df8034b41331a28b0b292c4a

12 years agoFixed crashes 'Revision xxx not found' in changelog mode
Ed Bartosh [Thu, 10 May 2012 11:18:22 +0000 (14:18 +0300)]
Fixed crashes 'Revision xxx not found' in changelog mode

Change-Id: I6de270201e86cb98d3b605b575c56dd2fd4d8ca0

12 years agoUsed --upstream_branch option in import mode
Ed Bartosh [Thu, 10 May 2012 10:46:23 +0000 (13:46 +0300)]
Used --upstream_branch option in import mode

Change-Id: Ia8986aeb2d991e894eea2f7af03ac17d9343b425

12 years agosupport git repository localbuild
Zhang Qiang [Wed, 9 May 2012 12:54:11 +0000 (20:54 +0800)]
support git repository localbuild

12 years agopylinted cmd_build.py
Ed Bartosh [Tue, 8 May 2012 10:46:03 +0000 (13:46 +0300)]
pylinted cmd_build.py

Change-Id: Ia6bb7585ca1b16864433e00b35a3708df169bb34

12 years agoUsed spec parser from git-buildpackage
Ed Bartosh [Mon, 23 Apr 2012 08:10:05 +0000 (11:10 +0300)]
Used spec parser from git-buildpackage

Change-Id: I7f6fa4a40afa004639029e9ccd84838c0b0fb0f6

12 years agoConsider --author-name and --author-email options in import mode
Ed Bartosh [Tue, 1 May 2012 11:07:09 +0000 (14:07 +0300)]
Consider --author-name and --author-email options in import mode

Change-Id: I91ed7b1ec516787677d01da9b7bb6ba9abb243f8

12 years agoUpdated usage output of changelog mode
Ed Bartosh [Tue, 1 May 2012 10:33:20 +0000 (13:33 +0300)]
Updated usage output of changelog mode

Change-Id: I9048850a7ae17cd0aaa1f9fb658f5bdbfcb3a7fe

12 years agoConsider --no-merge when importing original tarball
Ed Bartosh [Tue, 1 May 2012 10:18:27 +0000 (13:18 +0300)]
Consider --no-merge when importing original tarball

Change-Id: I450f9c71e91c97cc7d9f732c6a953ce3f2ecddb4

12 years agoUnified logging between gbs and gbp
Ed Bartosh [Tue, 1 May 2012 09:59:49 +0000 (12:59 +0300)]
Unified logging between gbs and gbp

Change-Id: Ic46d60fdd1e1dc5186ebc1e85b581d49f11301a4

12 years agoPylinted from rate 5.66 to 7.57
Ed Bartosh [Tue, 1 May 2012 07:35:24 +0000 (10:35 +0300)]
Pylinted from rate 5.66 to 7.57

Change-Id: Id7c0a1a4408427045a5e046ef3d9f5839379f00c

12 years agoMerged import-orig and import
Ed Bartosh [Tue, 1 May 2012 06:33:30 +0000 (09:33 +0300)]
Merged import-orig and import

Change-Id: I07e969c56a2616a990e4184700525aabf9d59f53

12 years agochangelog mode: Removed confusing and not used opts --author, --version and --full
Ed Bartosh [Tue, 1 May 2012 05:59:20 +0000 (08:59 +0300)]
changelog mode: Removed confusing and not used opts --author, --version and --full

Change-Id: I35a3e06dd71d7fb8e96d0c41bcc7a7f5dc154fdc

12 years agoImplemented creation of new .changes file
Ed Bartosh [Tue, 1 May 2012 05:51:29 +0000 (08:51 +0300)]
Implemented creation of new .changes file

Change-Id: Ie89a4617c1c9f998a3ab995a1002846d1adaa27f

12 years agoPylinted cmd_changelog.py
Ed Bartosh [Mon, 30 Apr 2012 18:05:12 +0000 (21:05 +0300)]
Pylinted cmd_changelog.py

Change-Id: I2378a7c476cf7daf5df10cc8c165c17e603e5e6d

12 years agoRemoved unused imports
Ed Bartosh [Mon, 30 Apr 2012 18:01:10 +0000 (21:01 +0300)]
Removed unused imports

Change-Id: I299aa15e3440d155de9f9170a31d3f464454e987

12 years agoUpdate changelog inplace
Ed Bartosh [Mon, 30 Apr 2012 17:58:16 +0000 (20:58 +0300)]
Update changelog inplace

Change-Id: I96a3aac0704a09e3a53b509e28c11bf200950ebd

12 years agoreplaced class Changes with functions
Ed Bartosh [Mon, 30 Apr 2012 17:53:44 +0000 (20:53 +0300)]
replaced class Changes with functions

Change-Id: Icfcb7c3f141705c6a283597cc73d52f51dbe68b9

12 years agoReworked changelog mode
Ed Bartosh [Mon, 30 Apr 2012 17:34:29 +0000 (20:34 +0300)]
Reworked changelog mode

Change-Id: If34efb4cd3ebb239bbf1ed3158f4e32d5dfb71b0

12 years agofixed regexp for changelog parsing
Ed Bartosh [Mon, 30 Apr 2012 09:42:30 +0000 (12:42 +0300)]
fixed regexp for changelog parsing

Change-Id: I4fe88c17a86bf15e00ad368ceda0262c4ddeb573

12 years agoFixed whitespaces, tabs, etc
Ed Bartosh [Mon, 30 Apr 2012 09:23:05 +0000 (12:23 +0300)]
Fixed whitespaces, tabs, etc

Change-Id: I29145afe3ecb8b8f234a1beae79f8061980e7815

12 years agopylinting: fixed and reorganized imports
Ed Bartosh [Fri, 20 Apr 2012 11:00:43 +0000 (14:00 +0300)]
pylinting: fixed and reorganized imports

Change-Id: I269640a28ebbaa6d843fc2477ec2b68f558340c4

12 years agopylinting: fixed "string statement has no effect" warnings
Ed Bartosh [Fri, 20 Apr 2012 10:58:09 +0000 (13:58 +0300)]
pylinting: fixed "string statement has no effect" warnings

Change-Id: I277becc908d586a5c075594d660556d34a9810d2

12 years agopylinting: fixed variable names, unused variables, etc
Ed Bartosh [Fri, 20 Apr 2012 10:53:05 +0000 (13:53 +0300)]
pylinting: fixed variable names, unused variables, etc

Change-Id: Ia51bc870a007af7674b95cbef0cae071eac8bdaf

12 years agopylinting: fixed whitespaces
Ed Bartosh [Fri, 20 Apr 2012 10:38:33 +0000 (13:38 +0300)]
pylinting: fixed whitespaces

Change-Id: I7b0416da1d3f6f9b6f92c413c2b466884f6633c3

12 years agopylinting: removed long lines
Ed Bartosh [Fri, 20 Apr 2012 10:35:33 +0000 (13:35 +0300)]
pylinting: removed long lines

Change-Id: Ic24be92e7dc9d8fcbb9776e703fae0fcfe569bd3

12 years agoRemoved git.py
Ed Bartosh [Fri, 20 Apr 2012 10:19:38 +0000 (13:19 +0300)]
Removed git.py

Change-Id: Id9733c952ca0d531a065df73656a57c86224ad56

12 years agoUsed git-buildpackage API RpmGitRepository in gbs changelog mode
Ed Bartosh [Fri, 20 Apr 2012 10:18:13 +0000 (13:18 +0300)]
Used git-buildpackage API RpmGitRepository in gbs changelog mode

Change-Id: Ifc0b9b1548f091895926b2e5fefefddabeff7614

12 years agoUsed git-buildpackage API RpmGitRepository in gbs localbuild mode
Ed Bartosh [Fri, 20 Apr 2012 07:20:01 +0000 (10:20 +0300)]
Used git-buildpackage API RpmGitRepository in gbs localbuild mode

Change-Id: I2e2f4cbabdc95751a00b6c94277ffdec288c5a8a

12 years agoUsed git-buildpackage in gbs import-orig mode
Ed Bartosh [Fri, 20 Apr 2012 03:11:36 +0000 (06:11 +0300)]
Used git-buildpackage in gbs import-orig mode

Change-Id: I732552d86ae20e8ed8b18618af7169cfaeebe1b3

12 years agoUsed git-buildpackage in gbs import mode for specs and srpms
Ed Bartosh [Fri, 20 Apr 2012 02:16:19 +0000 (05:16 +0300)]
Used git-buildpackage in gbs import mode for specs and srpms

Change-Id: Ic60b81a9eff7e97593e4a0f7e3cbb886632018c9

12 years agopylinted cmd_build.py
Ed Bartosh [Thu, 19 Apr 2012 03:40:51 +0000 (06:40 +0300)]
pylinted cmd_build.py

Change-Id: If0b063cb482b37388381800825e18e1d11a6dc62

12 years agoFixed rpm build
Ed Bartosh [Thu, 19 Apr 2012 02:48:16 +0000 (05:48 +0300)]
Fixed rpm build

Change-Id: Ief24f47e38b752e34d2a6f3cb0176c0a3a2d61a3

12 years agoUsed git-buildpackage in gbs build mode
Ed Bartosh [Thu, 19 Apr 2012 02:46:59 +0000 (05:46 +0300)]
Used git-buildpackage in gbs build mode

Change-Id: I79e0be3209c007f3d161fbe64968ba257c3089de

12 years agoSymlinked gbs.spec to packaging/
Ed Bartosh [Wed, 18 Apr 2012 07:18:55 +0000 (10:18 +0300)]
Symlinked gbs.spec to packaging/

Change-Id: Icf0f909907f4a529090fdcbcbfdf77d931b62819

12 years agosub-command: changelog
Hasan Wan [Wed, 11 Apr 2012 06:17:19 +0000 (14:17 +0800)]
sub-command: changelog

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