opensuse:build-service.git
7 years agoupdate shared to fix the http timeout
Stephan Kulow [Fri, 29 Jan 2010 09:52:35 +0000 (10:52 +0100)]
update shared to fix the http timeout

7 years agofix repos server path
Adrian Schröter [Thu, 28 Jan 2010 15:51:26 +0000 (16:51 +0100)]
fix repos server path

7 years agoadd ignore for sigpipe
Ruediger Oertel [Thu, 28 Jan 2010 14:41:22 +0000 (15:41 +0100)]
add ignore for sigpipe

7 years ago- use srcmd5 from linkinfo instead of expanded link
Michael Schroeder [Wed, 27 Jan 2010 14:23:45 +0000 (15:23 +0100)]
- use srcmd5 from linkinfo instead of expanded link

7 years ago- don't use linkrev=base as it might create broken links
Michael Schroeder [Wed, 27 Jan 2010 14:05:57 +0000 (15:05 +0100)]
- don't use linkrev=base as it might create broken links

7 years ago- fix deletion of files in branch/branch integration
Michael Schroeder [Wed, 27 Jan 2010 13:16:30 +0000 (14:16 +0100)]
- fix deletion of files in branch/branch integration

7 years ago* allow incomplete _patchinfo submissions
Adrian Schröter [Wed, 27 Jan 2010 12:41:02 +0000 (13:41 +0100)]
* allow incomplete _patchinfo submissions
* new verification function for validate a complete one

7 years ago- fix local kiwi product building
Michael Schroeder [Wed, 27 Jan 2010 10:03:22 +0000 (11:03 +0100)]
- fix local kiwi product building

7 years agowrite sourceserver attribute also in image build jobs
Adrian Schröter [Tue, 26 Jan 2010 16:35:54 +0000 (17:35 +0100)]
write sourceserver attribute also in image build jobs

7 years agofix xml generation for _patchinfo files
Adrian Schröter [Tue, 26 Jan 2010 16:08:12 +0000 (17:08 +0100)]
fix xml generation for _patchinfo files

7 years ago* Fix worker code download without SLP
Adrian Schröter [Tue, 26 Jan 2010 15:25:28 +0000 (16:25 +0100)]
* Fix worker code download without SLP

7 years agodon't alway pull from master
Thomas Schmidt [Tue, 26 Jan 2010 11:57:10 +0000 (12:57 +0100)]
don't alway pull from master

7 years ago[webui] package maintainers can handle requests
Thomas Schmidt [Thu, 21 Jan 2010 11:55:53 +0000 (12:55 +0100)]
[webui] package maintainers can handle requests

7 years ago* fix dependencies for deb building
Adrian Schröter [Tue, 26 Jan 2010 09:24:01 +0000 (10:24 +0100)]
* fix dependencies for deb building
* bs_worker support for autodetection of
  - OBS cache volume
  - kvm/xen support

7 years agoapi: do not make the function private that the delayed_job calls
Stephan Kulow [Tue, 26 Jan 2010 08:53:28 +0000 (09:53 +0100)]
api: do not make the function private that the delayed_job calls

7 years ago- add back --srcserver in hostcheck call so that autobuild works again
Michael Schroeder [Mon, 25 Jan 2010 17:12:45 +0000 (18:12 +0100)]
- add back --srcserver in hostcheck call so that autobuild works again

7 years ago- change srcserver handling to be backward compatible
Michael Schroeder [Mon, 25 Jan 2010 17:06:50 +0000 (18:06 +0100)]
- change srcserver handling to be backward compatible

7 years agofix script call for startproc, removing "env" hack
Adrian Schröter [Mon, 25 Jan 2010 15:37:11 +0000 (16:37 +0100)]
fix script call for startproc, removing "env" hack

7 years ago* use src server as specified in buildinfo to support multi OBS Servers
Adrian Schröter [Mon, 25 Jan 2010 15:01:14 +0000 (16:01 +0100)]
* use src server as specified in buildinfo to support multi OBS Servers
  with one pool of workers
* export srcserver as part of buildinfo
* further init script fixes

7 years agoMerge branch '1.7' of gitorious.org:opensuse/build-service into 1.7
Michael Schroeder [Mon, 25 Jan 2010 14:06:07 +0000 (15:06 +0100)]
Merge branch '1.7' of gitorious.org:opensuse/build-service into 1.7

7 years agobackport commit f7f36cd791b286f64fa7ff961d02a89de6255dbb from master:
Michael Schroeder [Mon, 25 Jan 2010 14:05:25 +0000 (15:05 +0100)]
backport commit f7f36cd791b286f64fa7ff961d02a89de6255dbb from master:
- do not set lsrcmd5 for unexpanded links
- do not die if the link is bad xml

7 years agoapi: only check if the project name is valid on put requests, a get
Stephan Kulow [Mon, 25 Jan 2010 11:30:26 +0000 (12:30 +0100)]
api: only check if the project name is valid on put requests, a get
will see 404 anyway

7 years agoapi: fix typo
Stephan Kulow [Mon, 25 Jan 2010 11:10:34 +0000 (12:10 +0100)]
api: fix typo

7 years agoapi: do not allow unknown users as maintainers
Stephan Kulow [Mon, 25 Jan 2010 11:00:37 +0000 (12:00 +0100)]
api: do not allow unknown users as maintainers

7 years agoapi: unbreak /public URLs because of rails 1.1 "support"
Stephan Kulow [Mon, 25 Jan 2010 10:48:17 +0000 (11:48 +0100)]
api: unbreak /public URLs because of rails 1.1 "support"

7 years agoapi: if there is nothing in cache, ask the backend about worker status
Stephan Kulow [Mon, 25 Jan 2010 10:14:53 +0000 (11:14 +0100)]
api: if there is nothing in cache, ask the backend about worker status

7 years agoPre-define OBS internally used attributes. They all will be used in
Adrian Schröter [Mon, 25 Jan 2010 10:38:46 +0000 (11:38 +0100)]
Pre-define OBS internally used attributes. They all will be used in
OBS namespace.

7 years ago* run setup scripts only when configured in sysconfig as well
Adrian Schröter [Mon, 25 Jan 2010 09:21:37 +0000 (10:21 +0100)]
* run setup scripts only when configured in sysconfig as well
* general cleanup of not needed stuff
* add runlevel script for source service

7 years agoapi: check for the existance of a request, if it does not exist, render 404
Stephan Kulow [Mon, 25 Jan 2010 09:11:52 +0000 (10:11 +0100)]
api: check for the existance of a request, if it does not exist, render 404

7 years ago[webui] fix flag status js for long repo lists
Thomas Schmidt [Fri, 22 Jan 2010 11:26:37 +0000 (12:26 +0100)]
[webui] fix flag status js for long repo lists

7 years agono more debian 4.0
Adrian Schröter [Thu, 21 Jan 2010 21:18:26 +0000 (22:18 +0100)]
no more debian 4.0

7 years ago* more update and setup informations for new services.
Adrian Schröter [Thu, 21 Jan 2010 19:53:48 +0000 (20:53 +0100)]
* more update and setup informations for new services.
* bugfixes in runlevel scripts
* new script for bs_service

7 years agono more screen zombies
Adrian Schröter [Thu, 21 Jan 2010 19:02:06 +0000 (20:02 +0100)]
no more screen zombies

7 years ago* support user notification about product upgrades as specified in
Adrian Schröter [Thu, 21 Jan 2010 15:13:44 +0000 (16:13 +0100)]
* support user notification about product upgrades as specified in
  http://en.opensuse.org/Product_Management/Code11/Upgrade
* migration product is build now via patchlevel + 1 instead of - 1 in new
  product.

7 years ago[webui] use local version of contentadd_style.css, include a change to diplay the...
Thomas Schmidt [Wed, 20 Jan 2010 17:18:41 +0000 (18:18 +0100)]
[webui] use local version of contentadd_style.css, include a change to diplay the scrollbar and all distributions on the monitor page

7 years agofix more of the attributes
Stephan Kulow [Tue, 19 Jan 2010 19:10:27 +0000 (20:10 +0100)]
fix more of the attributes

7 years agoapi: give an useful error to the caller if someone searches for attributes
Stephan Kulow [Wed, 20 Jan 2010 09:02:55 +0000 (10:02 +0100)]
api: give an useful error to the caller if someone searches for attributes
without :

7 years agouse secure gravatar link
Thomas Schmidt [Wed, 20 Jan 2010 14:13:39 +0000 (15:13 +0100)]
use secure gravatar link

7 years agobe more robust wrt unavailable buildresult
Thomas Schmidt [Wed, 20 Jan 2010 16:26:58 +0000 (17:26 +0100)]
be more robust wrt unavailable buildresult

7 years agouse 400 as error status code, ichain eats 500
Thomas Schmidt [Wed, 20 Jan 2010 09:47:25 +0000 (10:47 +0100)]
use 400 as error status code, ichain eats 500

7 years agocontinue testing and fixing attributes
Stephan Kulow [Tue, 19 Jan 2010 17:59:50 +0000 (18:59 +0100)]
continue testing and fixing attributes

7 years agotesting updating project attributes
Stephan Kulow [Tue, 19 Jan 2010 12:52:33 +0000 (13:52 +0100)]
testing updating project attributes

7 years agoon deployment copy the shared database.xml (already done in stage)
Stephan Kulow [Tue, 19 Jan 2010 09:50:38 +0000 (10:50 +0100)]
on deployment copy the shared database.xml (already done in stage)

7 years agoadd route for single attributes
Thomas Schmidt [Tue, 19 Jan 2010 13:00:45 +0000 (14:00 +0100)]
add route for single attributes

7 years agoadopt to api changes of attribute storage. Still does not work...
Thomas Schmidt [Tue, 19 Jan 2010 12:59:43 +0000 (13:59 +0100)]
adopt to api changes of attribute storage. Still does not work...

7 years agorestart failed build jobs, detected due to "bad host" again
Adrian Schröter [Thu, 21 Jan 2010 07:59:27 +0000 (08:59 +0100)]
restart failed build jobs, detected due to "bad host" again

7 years agofix undef warning
Adrian Schröter [Wed, 20 Jan 2010 13:50:21 +0000 (14:50 +0100)]
fix undef warning

7 years agoescape branch calls to backend correctly
Adrian Schröter [Wed, 20 Jan 2010 13:49:57 +0000 (14:49 +0100)]
escape branch calls to backend correctly

7 years agosilence in init script
Adrian Schröter [Tue, 19 Jan 2010 16:20:11 +0000 (17:20 +0100)]
silence in init script

7 years agoprune repocache from outdated entries
Ruediger Oertel [Tue, 19 Jan 2010 15:35:09 +0000 (16:35 +0100)]
prune repocache from outdated entries

7 years agomaster rudi reviewed my init scripts ... fixing ...
Adrian Schröter [Tue, 19 Jan 2010 14:04:44 +0000 (15:04 +0100)]
master rudi reviewed my init scripts ... fixing ...

7 years agospeed up patch
Adrian Schröter [Tue, 19 Jan 2010 13:11:57 +0000 (14:11 +0100)]
speed up patch

7 years agomake two not critical places a die to warn
Adrian Schröter [Tue, 19 Jan 2010 13:10:24 +0000 (14:10 +0100)]
make two not critical places a die to warn

7 years ago* make directory of backend code configurable
Adrian Schröter [Tue, 19 Jan 2010 12:57:15 +0000 (13:57 +0100)]
* make directory of backend code configurable
* shutdown command in runlevel script for clean shutdown of scheduler

7 years ago- move setting of 'linked' a few lines up so that the scheduler reevaluates fixed...
Michael Schroeder [Tue, 19 Jan 2010 12:56:50 +0000 (13:56 +0100)]
- move setting of 'linked' a few lines up so that the scheduler reevaluates fixed links

7 years agocosmetics
Adrian Schröter [Tue, 19 Jan 2010 12:28:10 +0000 (13:28 +0100)]
cosmetics

7 years agofix attribute handling in pattern meta
Adrian Schröter [Tue, 19 Jan 2010 11:10:50 +0000 (12:10 +0100)]
fix attribute handling in pattern meta

7 years agoadd missing declaration
Adrian Schröter [Mon, 18 Jan 2010 17:39:38 +0000 (18:39 +0100)]
add missing declaration

7 years ago- verify request ids
Michael Schroeder [Mon, 18 Jan 2010 17:09:09 +0000 (18:09 +0100)]
- verify request ids

7 years ago- do cmd=xxx switching in dispatcher
Michael Schroeder [Mon, 18 Jan 2010 16:55:43 +0000 (17:55 +0100)]
- do cmd=xxx switching in dispatcher
- clean up lsrev calls a bit, make lsrev die on all errors

7 years agouse current build code to get sha256 files
Adrian Schröter [Mon, 18 Jan 2010 16:43:13 +0000 (17:43 +0100)]
use current build code to get sha256 files

7 years agomissed one place
Adrian Schröter [Mon, 18 Jan 2010 16:19:05 +0000 (17:19 +0100)]
missed one place

7 years agoadapt find_attribute call to speerate namespace & name arguments
Adrian Schröter [Mon, 18 Jan 2010 16:13:53 +0000 (17:13 +0100)]
adapt find_attribute call to speerate namespace & name arguments

7 years agothe production.rb in git is no longer valid anymore, we need to copy
Stephan Kulow [Mon, 18 Jan 2010 15:56:18 +0000 (16:56 +0100)]
the production.rb in git is no longer valid anymore, we need to copy
verbatim copies

7 years agoyet another place where $rpm was used.
Adrian Schröter [Mon, 18 Jan 2010 15:53:54 +0000 (16:53 +0100)]
yet another place where $rpm was used.

7 years ago* switch from sha1 to sha256
Adrian Schröter [Mon, 18 Jan 2010 15:03:28 +0000 (16:03 +0100)]
* switch from sha1 to sha256
* sign sha256 files of kiwi image results
* publish sha256 files as well

7 years agofix creating submit request without target element (getting it via _link)
Adrian Schröter [Mon, 18 Jan 2010 12:23:44 +0000 (13:23 +0100)]
fix creating submit request without target element (getting it via _link)

7 years ago* fix hypervisor checks
Adrian Schröter [Mon, 18 Jan 2010 10:56:52 +0000 (11:56 +0100)]
* fix hypervisor checks
* use slp.reg.d files

7 years agoregister SLP via reg files, instead via slptool
Adrian Schröter [Mon, 18 Jan 2010 09:39:04 +0000 (10:39 +0100)]
register SLP via reg files, instead via slptool

7 years agoapi: if only project is given, look at all packages
Stephan Kulow [Mon, 18 Jan 2010 07:18:23 +0000 (08:18 +0100)]
api: if only project is given, look at all packages

7 years agoavoid accessing projects not found
Stephan Kulow [Mon, 18 Jan 2010 07:18:05 +0000 (08:18 +0100)]
avoid accessing projects not found

7 years ago* code cleanup in attribute area
Adrian Schröter [Sun, 17 Jan 2010 20:03:02 +0000 (21:03 +0100)]
* code cleanup in attribute area
* adjust attribute api, search via namespace and name instead concated string

7 years agoMerge branch 'master' of gitorious.org:opensuse/build-service
Adrian Schröter [Sun, 17 Jan 2010 16:31:31 +0000 (17:31 +0100)]
Merge branch 'master' of gitorious.org:opensuse/build-service

7 years agodo not crash in ExceptionNotifier on exception by default
Adrian Schröter [Sun, 17 Jan 2010 16:28:34 +0000 (17:28 +0100)]
do not crash in ExceptionNotifier on exception by default

7 years agodo not build on usb-stick in chroot mode
Adrian Schröter [Sun, 17 Jan 2010 16:28:09 +0000 (17:28 +0100)]
do not build on usb-stick in chroot mode

7 years agomake worker working via SLP
Adrian Schröter [Sun, 17 Jan 2010 15:06:39 +0000 (16:06 +0100)]
make worker working via SLP

7 years agorename frontend to api in all visible places
Adrian Schröter [Sun, 17 Jan 2010 12:45:05 +0000 (13:45 +0100)]
rename frontend to api in all visible places

7 years ago* write correct config
Adrian Schröter [Sun, 17 Jan 2010 12:37:00 +0000 (13:37 +0100)]
* write correct config
* write issue file to inform user how to access the server

7 years agouse current HEAD
Adrian Schröter [Sun, 17 Jan 2010 08:27:58 +0000 (09:27 +0100)]
use current HEAD

7 years ago- fixed osc call
Marcus Huewe [Sat, 16 Jan 2010 17:01:24 +0000 (18:01 +0100)]
- fixed osc call

7 years agodo not remove production.rb, it does no longer exist
Stephan Kulow [Sat, 16 Jan 2010 16:38:06 +0000 (17:38 +0100)]
do not remove production.rb, it does no longer exist

7 years agoinclude appliance runlevel scripts into package (they get not activated by default)
Adrian Schröter [Sat, 16 Jan 2010 16:32:48 +0000 (17:32 +0100)]
include appliance runlevel scripts into package (they get not activated by default)

7 years agoset run and log dir to correct permissions by default
Adrian Schröter [Sat, 16 Jan 2010 16:31:39 +0000 (17:31 +0100)]
set run and log dir to correct permissions by  default

7 years ago* fix creating /srv/obs/projects when creating the very first project
Adrian Schröter [Sat, 16 Jan 2010 15:58:32 +0000 (16:58 +0100)]
* fix creating /srv/obs/projects when creating the very first project
* pre-configure system to use /obs
*  no SSL for now, to be fixed later.

7 years ago* Switch to rails 2.3.5
Adrian Schröter [Sat, 16 Jan 2010 15:07:14 +0000 (16:07 +0100)]
* Switch to rails 2.3.5
* Extendend runlevel scripts for OBS Appliance.
  - Database gets automatically setup and updated
  - LVM VG named "OBS" is used automatically

7 years agomove the filtering into a generic function for easier changes
Stephan Kulow [Sat, 16 Jan 2010 12:09:17 +0000 (13:09 +0100)]
move the filtering into a generic function for easier changes

7 years agofix project flags if you're not maintainer
Stephan Kulow [Sat, 16 Jan 2010 09:52:29 +0000 (10:52 +0100)]
fix project flags if you're not maintainer

7 years agorelax schema to allow most projects and packages to pass
Stephan Kulow [Sat, 16 Jan 2010 07:45:00 +0000 (08:45 +0100)]
relax schema to allow most projects and packages to pass

7 years agofix the project schema - several attributes are required and remoteurl is
Stephan Kulow [Fri, 15 Jan 2010 18:41:15 +0000 (19:41 +0100)]
fix the project schema - several attributes are required and remoteurl is
optional. Good thing we do not validate XML since 2007

7 years agouse the exception_notification gem also in the api
Stephan Kulow [Fri, 15 Jan 2010 17:48:59 +0000 (18:48 +0100)]
use the exception_notification gem also in the api

7 years agosome very basic scripts to setup the OBS appliance automatically.
Adrian Schröter [Fri, 15 Jan 2010 16:12:59 +0000 (17:12 +0100)]
some very basic scripts to setup the OBS appliance automatically.

7 years agoSet defaults to work out-of-the-box
Adrian Schröter [Fri, 15 Jan 2010 15:39:54 +0000 (16:39 +0100)]
Set defaults to work out-of-the-box

7 years agoWhen creating a new project on package branch call, use the devel project
Adrian Schröter [Fri, 15 Jan 2010 10:38:16 +0000 (11:38 +0100)]
When creating a new project on package branch call, use the devel project
as template, not the origin.

7 years agowebui: knowing how the backend does the xpath helps to optimize a bit:
Stephan Kulow [Fri, 15 Jan 2010 10:52:48 +0000 (11:52 +0100)]
webui: knowing how the backend does the xpath helps to optimize a bit:
reducing the time required for "my requests" for coolo from
30.8 to 1.7 seconds

7 years ago- add branch xml workaround to baserev update code
Michael Schroeder [Thu, 14 Jan 2010 17:04:21 +0000 (18:04 +0100)]
- add branch xml workaround to baserev update code

7 years ago- allow rev=repository in sourcecopy
Michael Schroeder [Thu, 14 Jan 2010 11:57:53 +0000 (12:57 +0100)]
- allow rev=repository in sourcecopy

7 years agodocument regression
Adrian Schröter [Thu, 14 Jan 2010 10:49:40 +0000 (11:49 +0100)]
document regression

7 years agofix user name logging on "linktobranch" command
Adrian Schröter [Thu, 14 Jan 2010 10:42:41 +0000 (11:42 +0100)]
fix user name logging on "linktobranch" command

7 years agocatch errors caused by attribute API change
Stephan Kulow [Wed, 13 Jan 2010 20:15:39 +0000 (21:15 +0100)]
catch errors caused by attribute API change

7 years agofix xpath for devel/@project - and test that it at least gives a
Stephan Kulow [Wed, 13 Jan 2010 16:25:36 +0000 (17:25 +0100)]
fix xpath for devel/@project - and test that it at least gives a
meaningful return on our test data