tools/gbs.git
12 years agotuned the output message for build cmd
Zhang Qiang [Tue, 7 Feb 2012 11:26:59 +0000 (19:26 +0800)]
tuned the output message for build cmd

12 years agocleanup git.py
Zhang Qiang [Tue, 7 Feb 2012 11:26:38 +0000 (19:26 +0800)]
cleanup git.py

12 years agouse utils.parse_spec to get name and version str
JF Ding [Tue, 7 Feb 2012 10:35:50 +0000 (18:35 +0800)]
use utils.parse_spec to get name and version str

12 years agonew utils func: parse_spec to get macro value
JF Ding [Tue, 7 Feb 2012 10:33:08 +0000 (18:33 +0800)]
new utils func: parse_spec to get macro value

12 years agoUpdate build scripts
Zhang Qiang [Tue, 7 Feb 2012 10:51:22 +0000 (18:51 +0800)]
Update build scripts

First vesion of useable gbs build out.

12 years agofixed several typos and updated obspkg.branch_from
JF Ding [Tue, 7 Feb 2012 09:53:58 +0000 (17:53 +0800)]
fixed several typos and updated obspkg.branch_from

12 years agoobspkg: fix the checkout path issue
JF Ding [Tue, 7 Feb 2012 09:07:13 +0000 (17:07 +0800)]
obspkg: fix the checkout path issue

12 years agoobspkg: new feature to create branch project
JF Ding [Tue, 7 Feb 2012 08:41:14 +0000 (16:41 +0800)]
obspkg: new feature to create branch project

12 years agoMerge "Update gbs build and build service code."
Zhang Qiang [Tue, 7 Feb 2012 06:56:46 +0000 (06:56 +0000)]
Merge "Update gbs build and build service code."

12 years agoUpdate gbs build and build service code.
Zhang Qiang [Tue, 7 Feb 2012 06:07:18 +0000 (14:07 +0800)]
Update gbs build and build service code.

gbs build can pack package, create project/package directory.

oscpkg.commit() has some issue need to be fixed.

12 years agoMerge "remove commented old lines in git.py"
Huaxu Wan [Tue, 7 Feb 2012 05:13:59 +0000 (05:13 +0000)]
Merge "remove commented old lines in git.py"

12 years agoMerge "conf: add general key 'tmpdir'"
Qiang Zhang [Tue, 7 Feb 2012 01:37:27 +0000 (01:37 +0000)]
Merge "conf: add general key 'tmpdir'"

12 years agoMerge "enhance configmgr for full support of defaults"
Qiang Zhang [Tue, 7 Feb 2012 01:36:44 +0000 (01:36 +0000)]
Merge "enhance configmgr for full support of defaults"

12 years agoMerge "new module obspkg as the wrapper of local obs pkg"
Qiang Zhang [Tue, 7 Feb 2012 01:36:27 +0000 (01:36 +0000)]
Merge "new module obspkg as the wrapper of local obs pkg"

12 years agoremove commented old lines in git.py
JF Ding [Mon, 6 Feb 2012 11:10:31 +0000 (19:10 +0800)]
remove commented old lines in git.py

and move the Exception definition to errors.py

12 years agoconf: add general key 'tmpdir'
JF Ding [Mon, 6 Feb 2012 11:05:54 +0000 (19:05 +0800)]
conf: add general key 'tmpdir'

12 years agoenhance configmgr for full support of defaults
JF Ding [Mon, 6 Feb 2012 10:46:02 +0000 (18:46 +0800)]
enhance configmgr for full support of defaults

and flexible handling for 'passwd' checkings

12 years agoprototype for gbs build implementation
Zhang Qiang [Mon, 6 Feb 2012 10:18:12 +0000 (18:18 +0800)]
prototype for gbs build implementation

12 years agonew module obspkg as the wrapper of local obs pkg
JF Ding [Mon, 6 Feb 2012 10:05:28 +0000 (18:05 +0800)]
new module obspkg as the wrapper of local obs pkg

From now, all operations around local obs pkg working dir should
be done by this module. And all server only related access should
be thru buildservice module.
And inside obspkg, all obs/osc callings are thru buildservice.

12 years agocleanup buildservice module
JF Ding [Mon, 6 Feb 2012 04:48:10 +0000 (12:48 +0800)]
cleanup buildservice module

12 years agogit module clean up
Hasan Wan [Mon, 6 Feb 2012 04:19:17 +0000 (12:19 +0800)]
git module clean up

12 years agoclean up deprecated stuff for old process
JF Ding [Mon, 6 Feb 2012 03:56:53 +0000 (11:56 +0800)]
clean up deprecated stuff for old process

12 years agoenhance conf module to support multiple conf files
JF Ding [Mon, 6 Feb 2012 03:39:51 +0000 (11:39 +0800)]
enhance conf module to support multiple conf files

12 years agoMerge "add new module for obs accessing"
JF Ding [Mon, 6 Feb 2012 03:08:10 +0000 (03:08 +0000)]
Merge "add new module for obs accessing"

12 years agoadd new module for obs accessing
JF Ding [Mon, 6 Feb 2012 03:10:34 +0000 (11:10 +0800)]
add new module for obs accessing

12 years agoadd new git module
Hasan Wan [Mon, 6 Feb 2012 02:15:23 +0000 (10:15 +0800)]
add new git module

12 years agonot keep *.origin copy in local v0.1
Hasan Wan [Wed, 18 Jan 2012 03:39:22 +0000 (11:39 +0800)]
not keep *.origin copy in local

12 years agofix bug# PTINF-43, get project name failure if not in remote.origin
Hasan Wan [Wed, 18 Jan 2012 03:29:52 +0000 (11:29 +0800)]
fix bug# PTINF-43, get project name failure if not in remote.origin

12 years agoSet gbs.conf file to 0600 permissions, fix bug# PTINF-156
Hasan Wan [Wed, 18 Jan 2012 02:18:48 +0000 (10:18 +0800)]
Set gbs.conf file to 0600 permissions, fix bug# PTINF-156

12 years agoadd missing import
Yan Yin [Wed, 4 Jan 2012 06:35:59 +0000 (14:35 +0800)]
add missing import

12 years agofix typo error
Yan Yin [Wed, 4 Jan 2012 02:15:59 +0000 (10:15 +0800)]
fix typo error

12 years agoMerge branch 'master' of dmz:gbs
Rolla Selbak [Fri, 30 Dec 2011 09:32:00 +0000 (01:32 -0800)]
Merge branch 'master' of dmz:gbs

12 years agoAdded build_server global conf. Added message on where developer can find remote...
Rolla Selbak [Fri, 30 Dec 2011 09:31:40 +0000 (01:31 -0800)]
Added build_server global conf.  Added message on where developer can find remote build log when performing 'gbs build'. Used correct default link in conf for now.

12 years agomore clear comments of _read() in conf.py
JF Ding [Fri, 30 Dec 2011 09:09:07 +0000 (17:09 +0800)]
more clear comments of _read() in conf.py

12 years agoFixed small wordings in warning and error message
Rolla Selbak [Fri, 30 Dec 2011 07:22:17 +0000 (23:22 -0800)]
Fixed small wordings in warning and error message

12 years agobug fix: path to tarball pattern mismatch
Hasan Wan [Mon, 26 Dec 2011 08:51:46 +0000 (16:51 +0800)]
bug fix: path to tarball pattern mismatch

12 years agocheck permission before upload tar ball
Hasan Wan [Tue, 27 Dec 2011 02:26:26 +0000 (10:26 +0800)]
check permission before upload tar ball

12 years agobug fix: typo, get nothing when probe the last patch number
Hasan Wan [Thu, 22 Dec 2011 09:27:51 +0000 (17:27 +0800)]
bug fix: typo, get nothing when probe the last patch number

12 years agoimport.sh: use -p to specify the target project, show upload progress by a progress bar
Hasan Wan [Thu, 22 Dec 2011 07:11:35 +0000 (15:11 +0800)]
import.sh: use -p to specify the target project, show upload progress by a progress bar

12 years agoadd tag as parameter to back-end service
Hasan Wan [Thu, 22 Dec 2011 06:06:49 +0000 (14:06 +0800)]
add tag as parameter to back-end service

12 years agoforce checking the user privilege when upload tar ball to source server
Hasan Wan [Wed, 21 Dec 2011 09:49:40 +0000 (17:49 +0800)]
force checking the user privilege when upload tar ball to source server

12 years agoNew feature: support local tag when make test build
Hasan Wan [Tue, 20 Dec 2011 09:18:00 +0000 (17:18 +0800)]
New feature: support local tag when make test build
             import.sh:show upload status

12 years agobug fix: sources file format
Hasan Wan [Mon, 19 Dec 2011 08:45:45 +0000 (16:45 +0800)]
bug fix: sources file format

12 years agobug fix: handle -d parameter
Hasan Wan [Mon, 19 Dec 2011 08:05:27 +0000 (16:05 +0800)]
bug fix: handle -d parameter

12 years agoinit support upload tarball to the source server
Hasan Wan [Mon, 19 Dec 2011 07:49:26 +0000 (15:49 +0800)]
init support upload tarball to the source server

12 years agofixed wording
Anas Nashif [Fri, 16 Dec 2011 23:48:27 +0000 (23:48 +0000)]
fixed wording

12 years agofix a bug about git add the wrong patch; might get the wrong line number
Huaxu Wan [Wed, 14 Dec 2011 07:26:45 +0000 (15:26 +0800)]
fix a bug about git add the wrong patch; might get the wrong line number

12 years agostart the skeleton of "import" subcmd
JF Ding [Tue, 13 Dec 2011 21:51:37 +0000 (13:51 -0800)]
start the skeleton of "import" subcmd

12 years agoadd -L option to curl cover 301 pages
JF Ding [Fri, 9 Dec 2011 01:09:27 +0000 (17:09 -0800)]
add -L option to curl cover 301 pages

12 years agoBypassing the SSL as a workaround temporarily
Huaxu Wan [Thu, 8 Dec 2011 02:55:56 +0000 (10:55 +0800)]
Bypassing the SSL as a workaround temporarily

12 years agorename project name to "gbs"
JF Ding [Tue, 6 Dec 2011 10:58:20 +0000 (18:58 +0800)]
rename project name to "gbs"

git-build-system

12 years agofix packaging issue while adding new patch
Zhang Qiang [Tue, 6 Dec 2011 04:49:48 +0000 (12:49 +0800)]
fix packaging issue while adding new patch

This scripts can't work if 'Patch' info contains in specfile, so we
should pattern 'Patch' from the beginning of lines.

Also sort patch number first, then select the last one.

12 years agofix a bug about sources line
Huaxu Wan [Mon, 5 Dec 2011 13:25:51 +0000 (21:25 +0800)]
fix a bug about sources line

12 years agoupdate output message of packaging.sh
JF Ding [Mon, 5 Dec 2011 12:00:38 +0000 (20:00 +0800)]
update output message of packaging.sh

12 years agogit rm/add when remove/add new patches
Huaxu Wan [Mon, 5 Dec 2011 10:21:34 +0000 (18:21 +0800)]
git rm/add when remove/add new patches

12 years agotransfer "-d" and "-v" opts to embedded shell scripts
JF Ding [Mon, 5 Dec 2011 09:30:28 +0000 (17:30 +0800)]
transfer "-d" and "-v" opts to embedded shell scripts

12 years agochange the default src_server value in config
JF Ding [Mon, 5 Dec 2011 08:52:28 +0000 (16:52 +0800)]
change the default src_server value in config

12 years agochange the proj name back to "tizenpkg"
JF Ding [Mon, 5 Dec 2011 03:56:44 +0000 (11:56 +0800)]
change the proj name back to "tizenpkg"

12 years agoappend dsc file for debian packaging to distfiles
JF Ding [Mon, 5 Dec 2011 03:20:25 +0000 (11:20 +0800)]
append dsc file for debian packaging to distfiles

12 years agoupdate output msg with new proj name
JF Ding [Mon, 5 Dec 2011 03:15:28 +0000 (11:15 +0800)]
update output msg with new proj name

12 years agoMerge remote branch 'origin/master'
JF Ding [Mon, 5 Dec 2011 03:13:57 +0000 (11:13 +0800)]
Merge remote branch 'origin/master'

12 years agorename proj name to 'pkghelper'
JF Ding [Mon, 5 Dec 2011 02:53:33 +0000 (10:53 +0800)]
rename proj name to 'pkghelper'

12 years agoreturn error if server unavailable
Huaxu Wan [Fri, 2 Dec 2011 08:30:50 +0000 (16:30 +0800)]
return error if server unavailable

12 years agodump server log when failed
Huaxu Wan [Fri, 2 Dec 2011 07:32:04 +0000 (15:32 +0800)]
dump server log when failed

12 years agobuild.sh: show queue info
Huaxu Wan [Fri, 2 Dec 2011 04:53:04 +0000 (12:53 +0800)]
build.sh: show queue info

12 years agosupport shortcut git curl
Huaxu Wan [Fri, 2 Dec 2011 02:45:48 +0000 (10:45 +0800)]
support shortcut git curl

12 years agoadded distfiles for rpm/deb packaging
JF Ding [Thu, 1 Dec 2011 10:27:31 +0000 (18:27 +0800)]
added distfiles for rpm/deb packaging

12 years agoupdate cmd_build according build.sh update
JF Ding [Thu, 1 Dec 2011 09:35:48 +0000 (17:35 +0800)]
update cmd_build according build.sh update

12 years agoimplement 'build' cmd using python
JF Ding [Thu, 1 Dec 2011 09:29:57 +0000 (17:29 +0800)]
implement 'build' cmd using python

12 years agoadd new modules to call git and curl
JF Ding [Thu, 1 Dec 2011 09:29:29 +0000 (17:29 +0800)]
add new modules to call git and curl

12 years agosupport auth OBS by userself on hudson
Huaxu Wan [Thu, 1 Dec 2011 08:40:32 +0000 (16:40 +0800)]
support auth OBS by userself on hudson

12 years agofix bug about last build id
Huaxu Wan [Thu, 1 Dec 2011 02:32:38 +0000 (10:32 +0800)]
fix bug about last build id

12 years agoqueue show to user
Huaxu Wan [Thu, 1 Dec 2011 02:16:14 +0000 (10:16 +0800)]
queue show to user

12 years agobuild.sh: only show output at verbose mode
Huaxu Wan [Wed, 30 Nov 2011 08:32:08 +0000 (16:32 +0800)]
build.sh: only show output at verbose mode

12 years agoclient support dynamic parameter
Huaxu Wan [Wed, 30 Nov 2011 07:56:35 +0000 (15:56 +0800)]
client support dynamic parameter

12 years agoadd parameter to specify spec file, with question to select one
Huaxu Wan [Wed, 30 Nov 2011 01:59:33 +0000 (09:59 +0800)]
add parameter to specify spec file, with question to select one

12 years agopackaging.sh: add parameter to specify the tag to archive as source tar ball
Huaxu Wan [Wed, 30 Nov 2011 01:22:37 +0000 (09:22 +0800)]
packaging.sh: add parameter to specify the tag to archive as source tar ball

12 years agoupdate Makefile for install --prefix value
JF Ding [Tue, 29 Nov 2011 04:03:31 +0000 (12:03 +0800)]
update Makefile for install --prefix value

12 years agoproper handling for replacing optkey
JF Ding [Tue, 29 Nov 2011 02:56:01 +0000 (10:56 +0800)]
proper handling for replacing optkey

12 years agoget user/name from tizenconf
Huaxu Wan [Tue, 29 Nov 2011 02:45:56 +0000 (10:45 +0800)]
get user/name from tizenconf

12 years agoremove all hudson related names
JF Ding [Tue, 29 Nov 2011 02:06:53 +0000 (10:06 +0800)]
remove all hudson related names

to be more generic

12 years agouse bash instead of sh to run scripts
JF Ding [Tue, 29 Nov 2011 01:46:33 +0000 (09:46 +0800)]
use bash instead of sh to run scripts

12 years agoremove arg0 before transfer argv to sh script
JF Ding [Tue, 29 Nov 2011 01:34:06 +0000 (09:34 +0800)]
remove arg0 before transfer argv to sh script

12 years agoraise exception for invalid opt key
JF Ding [Tue, 29 Nov 2011 01:07:22 +0000 (09:07 +0800)]
raise exception for invalid opt key

12 years agobuild.sh clean up
Huaxu Wan [Mon, 28 Nov 2011 14:29:53 +0000 (22:29 +0800)]
build.sh clean up

12 years agosubcommand parameter cleanup
Huaxu Wan [Mon, 28 Nov 2011 13:14:53 +0000 (21:14 +0800)]
subcommand parameter cleanup

12 years agoMerge "support submit testing build to a specific obs project"
Yang Lin [Mon, 28 Nov 2011 10:22:07 +0000 (18:22 +0800)]
Merge "support submit testing build to a specific obs project"

12 years agosupport submit testing build to a specific obs project
Yang Lin [Mon, 28 Nov 2011 10:22:54 +0000 (18:22 +0800)]
support submit testing build to a specific obs project

12 years agoadd empty cmd_build module
JF Ding [Mon, 28 Nov 2011 08:51:33 +0000 (16:51 +0800)]
add empty cmd_build module

12 years agobuild works
Huaxu Wan [Mon, 28 Nov 2011 08:37:04 +0000 (16:37 +0800)]
build works

12 years agonew subcmd getconfig to query config with pass special handling
JF Ding [Mon, 28 Nov 2011 08:11:22 +0000 (16:11 +0800)]
new subcmd getconfig to query config with pass special handling

12 years agonew subcmd 'import'
JF Ding [Mon, 28 Nov 2011 07:41:27 +0000 (15:41 +0800)]
new subcmd 'import'

12 years agoMerge remote branch 'origin/master'
JF Ding [Mon, 28 Nov 2011 07:38:30 +0000 (15:38 +0800)]
Merge remote branch 'origin/master'

12 years agoworks without rest-plugins on Jenkins
Huaxu Wan [Mon, 28 Nov 2011 07:39:34 +0000 (15:39 +0800)]
works without rest-plugins on Jenkins

12 years agosupport to replace old opt key in conf.py
JF Ding [Mon, 28 Nov 2011 07:37:41 +0000 (15:37 +0800)]
support to replace old opt key in conf.py

12 years agoadd password encoding protect in config file
JF Ding [Mon, 28 Nov 2011 07:32:15 +0000 (15:32 +0800)]
add password encoding protect in config file

12 years agohardcode arg0 in usage msg of packaging.sh
JF Ding [Mon, 28 Nov 2011 06:41:59 +0000 (14:41 +0800)]
hardcode arg0 in usage msg of packaging.sh

12 years agoMerge remote branch 'origin/master'
JF Ding [Mon, 28 Nov 2011 06:35:27 +0000 (14:35 +0800)]
Merge remote branch 'origin/master'

12 years agosmarter sh script wrapper
JF Ding [Mon, 28 Nov 2011 06:35:04 +0000 (14:35 +0800)]
smarter sh script wrapper

12 years agocolor info output
Huaxu Wan [Mon, 28 Nov 2011 05:37:11 +0000 (13:37 +0800)]
color info output