Zhang Qiang [Thu, 22 Mar 2012 13:01:06 +0000 (21:01 +0800)]
fix rst format issue
rst format need blank line after sections.
Zhang Qiang [Sun, 27 Nov 2011 21:54:29 +0000 (05:54 +0800)]
create tmp dir before importing packages
Yang Dawei [Thu, 22 Mar 2012 07:32:18 +0000 (15:32 +0800)]
update gbs import-orig
Zhang Qiang [Thu, 22 Mar 2012 06:17:25 +0000 (14:17 +0800)]
add supported tarball format
Yang Dawei [Thu, 22 Mar 2012 05:42:55 +0000 (13:42 +0800)]
gbs import optimization
Qiang Zhang [Thu, 22 Mar 2012 04:57:08 +0000 (12:57 +0800)]
Merge "fix unpack execption when gbs import tarball"
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.
Yang Dawei [Wed, 21 Mar 2012 09:46:44 +0000 (17:46 +0800)]
Update README.rst:word-error handling
Zhang Qiang [Wed, 21 Mar 2012 09:42:15 +0000 (17:42 +0800)]
Catch unpack exception if unpack fails
Guan Junchun [Wed, 21 Mar 2012 09:40:18 +0000 (17:40 +0800)]
fix unpack execption when gbs import tarball
Zhang Qiang [Wed, 21 Mar 2012 08:02:55 +0000 (16:02 +0800)]
Update README: Add localbuild and import sections
Zhang Qiang [Wed, 21 Mar 2012 06:50:05 +0000 (14:50 +0800)]
add options --tag for creating tag.
Zhang Qiang [Wed, 21 Mar 2012 06:28:06 +0000 (14:28 +0800)]
dont need to checkout upstream branch again
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
Zhang Qiang [Sat, 26 Nov 2011 09:56:01 +0000 (17:56 +0800)]
fix issue while importing src.rpm twice
Zhang Qiang [Tue, 20 Mar 2012 15:09:07 +0000 (23:09 +0800)]
gbs import_orig support
Zhang Qiang [Tue, 20 Mar 2012 04:02:56 +0000 (12:02 +0800)]
fix gbs localbuild log error
Zhang Qiang [Mon, 19 Mar 2012 02:17:46 +0000 (10:17 +0800)]
add --force-debian option for ubuntu while unpacking src.rpm
Zhang Qiang [Fri, 16 Mar 2012 09:14:08 +0000 (17:14 +0800)]
fix README.rst build issue
Zhang Qiang [Fri, 16 Mar 2012 08:23:37 +0000 (16:23 +0800)]
localbuild: refine error handling and use 'sudo' by default
Zhang Qiang [Fri, 16 Mar 2012 03:22:45 +0000 (11:22 +0800)]
add find_tag and merge interface, and create upstream branch
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.
Zhang Qiang [Thu, 15 Mar 2012 14:54:47 +0000 (22:54 +0800)]
move archive code after options check.
Zhang Qiang [Thu, 15 Mar 2012 14:53:41 +0000 (22:53 +0800)]
Update gbs build/localbuild document
JF Ding [Wed, 22 Feb 2012 13:56:35 +0000 (21:56 +0800)]
be safe to catch all exception from osc.core
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.
JF Ding [Mon, 20 Feb 2012 11:24:50 +0000 (19:24 +0800)]
inject osc.core to handle empty server response
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
JF Ding [Mon, 20 Feb 2012 08:49:24 +0000 (16:49 +0800)]
do not show waiting dots for obs proj checking
Zhang Qiang [Tue, 14 Feb 2012 07:15:58 +0000 (15:15 +0800)]
Update README and fix packaging issue.
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
Zhang Qiang [Mon, 13 Feb 2012 08:11:49 +0000 (16:11 +0800)]
Update Readme for new release
Zhang Qiang [Mon, 13 Feb 2012 08:14:42 +0000 (16:14 +0800)]
Update distfiles with correct dependencies
Hasan Wan [Mon, 13 Feb 2012 05:29:04 +0000 (13:29 +0800)]
enable the global debug and verbose for osc
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.
JF Ding [Thu, 9 Feb 2012 11:45:09 +0000 (19:45 +0800)]
more generic git.archive implementation
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
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
JF Ding [Thu, 9 Feb 2012 07:04:16 +0000 (15:04 +0800)]
avoid to catch print msg in debug run mode
JF Ding [Wed, 8 Feb 2012 11:37:46 +0000 (19:37 +0800)]
code format: shorten all 80+ long lines
JF Ding [Wed, 8 Feb 2012 10:22:39 +0000 (18:22 +0800)]
msger: sync the changes from mic.git
JF Ding [Wed, 8 Feb 2012 09:54:40 +0000 (17:54 +0800)]
changes of git wrapper module
Zhang Qiang [Wed, 8 Feb 2012 10:15:25 +0000 (18:15 +0800)]
gbs-build: support --base-obsprj and --target-obsprj
Zhang Qiang [Wed, 8 Feb 2012 07:12:58 +0000 (15:12 +0800)]
Fix branch/checkout issue
JF Ding [Wed, 8 Feb 2012 06:41:33 +0000 (14:41 +0800)]
add wrapper class to catch `print` in msger
JF Ding [Wed, 8 Feb 2012 05:22:39 +0000 (13:22 +0800)]
add 'plaintext_passwd=0' in tmp oscrc
Zhang Qiang [Tue, 7 Feb 2012 11:00:43 +0000 (11:00 +0000)]
Merge "tuned 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
Zhang Qiang [Tue, 7 Feb 2012 11:26:38 +0000 (19:26 +0800)]
cleanup git.py
Zhang Qiang [Tue, 7 Feb 2012 11:00:26 +0000 (11:00 +0000)]
Merge "cleanup git.py"
JF Ding [Tue, 7 Feb 2012 10:44:33 +0000 (18:44 +0800)]
failed case for invalid spec file w/ warn msg
JF Ding [Tue, 7 Feb 2012 10:35:50 +0000 (18:35 +0800)]
use utils.parse_spec to get name and version str
JF Ding [Tue, 7 Feb 2012 10:33:08 +0000 (18:33 +0800)]
new utils func: parse_spec to get macro value
Zhang Qiang [Tue, 7 Feb 2012 10:51:22 +0000 (18:51 +0800)]
Update build scripts
First vesion of useable gbs build out.
JF Ding [Tue, 7 Feb 2012 09:53:58 +0000 (17:53 +0800)]
fixed several typos and updated obspkg.branch_from
JF Ding [Tue, 7 Feb 2012 09:07:13 +0000 (17:07 +0800)]
obspkg: fix the checkout path issue
JF Ding [Tue, 7 Feb 2012 08:41:14 +0000 (16:41 +0800)]
obspkg: new feature to create branch project
Zhang Qiang [Tue, 7 Feb 2012 06:56:46 +0000 (06:56 +0000)]
Merge "Update 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.
Huaxu Wan [Tue, 7 Feb 2012 05:13:59 +0000 (05:13 +0000)]
Merge "remove commented old lines in git.py"
Qiang Zhang [Tue, 7 Feb 2012 01:37:27 +0000 (01:37 +0000)]
Merge "conf: add general key 'tmpdir'"
Qiang Zhang [Tue, 7 Feb 2012 01:36:44 +0000 (01:36 +0000)]
Merge "enhance configmgr for full support of defaults"
Qiang Zhang [Tue, 7 Feb 2012 01:36:27 +0000 (01:36 +0000)]
Merge "new module obspkg as the wrapper of local obs pkg"
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
JF Ding [Mon, 6 Feb 2012 11:05:54 +0000 (19:05 +0800)]
conf: add general key 'tmpdir'
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
Zhang Qiang [Mon, 6 Feb 2012 10:18:12 +0000 (18:18 +0800)]
prototype for gbs build implementation
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.
JF Ding [Mon, 6 Feb 2012 04:48:10 +0000 (12:48 +0800)]
cleanup buildservice module
Hasan Wan [Mon, 6 Feb 2012 04:19:17 +0000 (12:19 +0800)]
git module clean up
JF Ding [Mon, 6 Feb 2012 03:56:53 +0000 (11:56 +0800)]
clean up deprecated stuff for old process
JF Ding [Mon, 6 Feb 2012 03:39:51 +0000 (11:39 +0800)]
enhance conf module to support multiple conf files
JF Ding [Mon, 6 Feb 2012 03:08:10 +0000 (03:08 +0000)]
Merge "add new module for obs accessing"
JF Ding [Mon, 6 Feb 2012 03:10:34 +0000 (11:10 +0800)]
add new module for obs accessing
Hasan Wan [Mon, 6 Feb 2012 02:15:23 +0000 (10:15 +0800)]
add new git module
Hasan Wan [Wed, 18 Jan 2012 03:39:22 +0000 (11:39 +0800)]
not keep *.origin copy in local
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
Hasan Wan [Wed, 18 Jan 2012 02:18:48 +0000 (10:18 +0800)]
Set gbs.conf file to 0600 permissions, fix bug# PTINF-156
Yan Yin [Wed, 4 Jan 2012 06:35:59 +0000 (14:35 +0800)]
add missing import
Yan Yin [Wed, 4 Jan 2012 02:15:59 +0000 (10:15 +0800)]
fix typo error
Rolla Selbak [Fri, 30 Dec 2011 09:32:00 +0000 (01:32 -0800)]
Merge branch 'master' of dmz:gbs
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.
JF Ding [Fri, 30 Dec 2011 09:09:07 +0000 (17:09 +0800)]
more clear comments of _read() in conf.py
Rolla Selbak [Fri, 30 Dec 2011 07:22:17 +0000 (23:22 -0800)]
Fixed small wordings in warning and error message
Hasan Wan [Mon, 26 Dec 2011 08:51:46 +0000 (16:51 +0800)]
bug fix: path to tarball pattern mismatch
Hasan Wan [Tue, 27 Dec 2011 02:26:26 +0000 (10:26 +0800)]
check permission before upload tar ball
Hasan Wan [Thu, 22 Dec 2011 09:27:51 +0000 (17:27 +0800)]
bug fix: typo, get nothing when probe the last patch number
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
Hasan Wan [Thu, 22 Dec 2011 06:06:49 +0000 (14:06 +0800)]
add tag as parameter to back-end service
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
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
Hasan Wan [Mon, 19 Dec 2011 08:45:45 +0000 (16:45 +0800)]
bug fix: sources file format
Hasan Wan [Mon, 19 Dec 2011 08:05:27 +0000 (16:05 +0800)]
bug fix: handle -d parameter
Hasan Wan [Mon, 19 Dec 2011 07:49:26 +0000 (15:49 +0800)]
init support upload tarball to the source server
Anas Nashif [Fri, 16 Dec 2011 23:48:27 +0000 (23:48 +0000)]
fixed wording
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
JF Ding [Tue, 13 Dec 2011 21:51:37 +0000 (13:51 -0800)]
start the skeleton of "import" subcmd
JF Ding [Fri, 9 Dec 2011 01:09:27 +0000 (17:09 -0800)]
add -L option to curl cover 301 pages
Huaxu Wan [Thu, 8 Dec 2011 02:55:56 +0000 (10:55 +0800)]
Bypassing the SSL as a workaround temporarily
JF Ding [Tue, 6 Dec 2011 10:58:20 +0000 (18:58 +0800)]
rename project name to "gbs"
git-build-system