Adrian Schröter [Wed, 19 Oct 2011 08:17:25 +0000 (10:17 +0200)]
[api] update default distribution list:
* added openSUSE 12.1 (will get created this week)
* added Mandriva 2011
* added Ubuntu 11.10
* remove discontinued Ubuntu 6.06 and 8.04
Adrian Schröter [Tue, 18 Oct 2011 12:34:27 +0000 (14:34 +0200)]
[appliance] revert last submissions, we fix it in appliance and packages instead
Adrian Schröter [Tue, 18 Oct 2011 12:19:51 +0000 (14:19 +0200)]
[appliance] apply mysql user id change on every start to be on the safe side
Adrian Schröter [Tue, 18 Oct 2011 12:14:06 +0000 (14:14 +0200)]
[appliance] enforce correct ownership of MySQL database files after 12.1 upgrade
Adrian Schröter [Tue, 18 Oct 2011 10:29:37 +0000 (12:29 +0200)]
[doc] add a hint about new scheduler triggering to release notes
Michael Schroeder [Tue, 18 Oct 2011 10:05:43 +0000 (12:05 +0200)]
[backend] use verifymd5 instead of srcmd5 in first line of the meta files
Adrian Schröter [Mon, 17 Oct 2011 12:15:40 +0000 (14:15 +0200)]
[backend] add mandriva hdlist2 repo format. 100% untested due to lack of running genhdlist2
Sascha Peilicke [Mon, 17 Oct 2011 19:10:17 +0000 (11:10 -0800)]
[api] Recently added StartTLS check needs '&&', not '?'.
Fixes commit
ea48b58c3b
Thomas Schmidt [Wed, 12 Oct 2011 14:16:16 +0000 (16:16 +0200)]
Fixed project code url
Michael Schroeder [Thu, 13 Oct 2011 16:51:42 +0000 (18:51 +0200)]
[backend] double the lastevents queue size, OBS builds too fast
Michael Schroeder [Thu, 13 Oct 2011 16:50:05 +0000 (18:50 +0200)]
Merge branch 'master' of gitorious.org:opensuse/build-service
Adrian Schröter [Fri, 7 Oct 2011 09:59:13 +0000 (11:59 +0200)]
[doc] document the arm architecture changes
Daniel Gollub [Fri, 30 Sep 2011 13:14:39 +0000 (15:14 +0200)]
[api] introduce LDAP StartTLS support
LDAP StartTLS is disabled by default.
Enable it with LDAP_START_TLS = :on
LDAP StartTLS default port is 389.
Adrian Schröter [Thu, 6 Oct 2011 04:41:02 +0000 (06:41 +0200)]
[backend] define armvXl architecture but keep armvXel and hl for compatibility
Adrian Schröter [Thu, 6 Oct 2011 04:39:58 +0000 (06:39 +0200)]
[backend] configure sync pool for arm
Adrian Schröter [Thu, 6 Oct 2011 04:23:09 +0000 (06:23 +0200)]
[api] make test suite silent again
Adrian Schröter [Thu, 6 Oct 2011 04:15:46 +0000 (06:15 +0200)]
[api] fix test case for read access protected branches
Adrian Schröter [Wed, 5 Oct 2011 15:02:00 +0000 (17:02 +0200)]
[api] SLES 9 is history
Adrian Schröter [Wed, 5 Oct 2011 14:48:40 +0000 (16:48 +0200)]
[backend] fix reference generation in updateinfo.xml files and extend test case for it
Adrian Schröter [Wed, 5 Oct 2011 12:56:38 +0000 (14:56 +0200)]
[backend] fix generation of bug url's into updateinfos. first set of predefined bugzilla hosts which can be referenced.
Adrian Schröter [Wed, 5 Oct 2011 08:45:09 +0000 (10:45 +0200)]
[api] add Factory ARM as default target
Adrian Schröter [Wed, 5 Oct 2011 08:43:18 +0000 (10:43 +0200)]
[dist] enable armv7l scheduler by default to have an example for cross build
Adrian Schröter [Wed, 5 Oct 2011 08:42:25 +0000 (10:42 +0200)]
[backend] add --parse-hdrmd5 to bs_admin
Adrian Schröter [Wed, 5 Oct 2011 08:36:03 +0000 (10:36 +0200)]
[api] add real life armvXl architectures
Stephan Kulow [Wed, 5 Oct 2011 05:47:34 +0000 (07:47 +0200)]
[api] fix syntax of rake task
Ruediger Oertel [Thu, 29 Sep 2011 14:56:58 +0000 (16:56 +0200)]
[backend] first version of bs_check_consistency, not for everyday use
but pretty useful after filesystem corruption
Sascha Peilicke [Thu, 29 Sep 2011 08:22:29 +0000 (10:22 +0200)]
[webui] Update workerstatus every 5 minutes rather than 15.
Thus, the worker status graph on the frontpage is updated more
frequently.
Adrian Schröter [Thu, 22 Sep 2011 12:01:36 +0000 (14:01 +0200)]
[dist] Documentation fixes as reported by Joop Boonen
Sascha Peilicke [Fri, 23 Sep 2011 10:09:16 +0000 (12:09 +0200)]
[webui] Catch exception in BsRequest#modifyReview if request isn't in
review state.
Michael Schroeder [Thu, 22 Sep 2011 09:04:52 +0000 (11:04 +0200)]
backend: grep for kiwi-.*: instead of just kiwi-, so that only substitutes get picked up
Sascha Peilicke [Tue, 20 Sep 2011 12:47:55 +0000 (14:47 +0200)]
[webui] Add user-provided delete request description to API request
Fixes bnc#714511
Thomas Schmidt [Mon, 19 Sep 2011 13:02:42 +0000 (15:02 +0200)]
[webui mobile] update jquery mobile to beta3
Thomas Schmidt [Mon, 19 Sep 2011 12:52:48 +0000 (14:52 +0200)]
[webui mobile] add files view
Thomas Schmidt [Mon, 19 Sep 2011 12:52:21 +0000 (14:52 +0200)]
[webui mobile] fix actions on requests
Stephan Kulow [Mon, 19 Sep 2011 07:26:28 +0000 (09:26 +0200)]
[api] add some watchlists to test
Stephan Kulow [Mon, 19 Sep 2011 07:25:05 +0000 (09:25 +0200)]
[webui] yet another try to get the watchlist correct outside home
controller
Stephan Kulow [Fri, 16 Sep 2011 11:04:56 +0000 (13:04 +0200)]
[webui] skip the cache for current user, hoping that this fixes
the watchlist
Sascha Peilicke [Fri, 16 Sep 2011 16:58:46 +0000 (08:58 -0800)]
[webui] Removed empty 'scripts/2.3.8', whatever that was.
Sascha Peilicke [Thu, 15 Sep 2011 22:26:32 +0000 (14:26 -0800)]
[api] Create user's home project after login if it doesn't exist yet.
Sascha Peilicke [Mon, 12 Sep 2011 11:24:37 +0000 (13:24 +0200)]
[webui] Fix some more executable bits that the Jenkins 'Copy Artifacts'
plugin likes to break.
Should fix Jenkins webui test run.
Adrian Schröter [Thu, 8 Sep 2011 14:46:10 +0000 (16:46 +0200)]
[backend] use local instead of direct
Adrian Schröter [Thu, 8 Sep 2011 12:00:23 +0000 (14:00 +0200)]
[backend] implement rebuild trigger flags for kiwi image and product
Michael Schroeder [Thu, 8 Sep 2011 09:43:22 +0000 (11:43 +0200)]
[backend] fix unlink calls (thanks Rudi!)
Sascha Peilicke [Wed, 7 Sep 2011 15:32:55 +0000 (17:32 +0200)]
[webui] More corrections for the request show view.
Changing the request status in the heading is more complex after Ajax
requests.
Sascha Peilicke [Wed, 7 Sep 2011 12:04:50 +0000 (14:04 +0200)]
[webui] Minor request show view improvements after accepting reviews.
Remove 'action' column in review table if there are no open reviews left
and change the request status in the heading to new request state.
Sascha Peilicke [Wed, 7 Sep 2011 09:42:53 +0000 (11:42 +0200)]
[webui] Remove fluid layout (aka Stretch Limo).
It is essentially untested and unmaintained, most users aren't aware of
it and you have to re-select it after every page load (at least in
Firefox).
Sascha Peilicke [Wed, 7 Sep 2011 08:05:39 +0000 (10:05 +0200)]
[webui] Include JQuery.Flot in main/index instead of partial.
The latter seems to work only with a local webui, whereas the former
also works on b.o.o.
Sascha Peilicke [Wed, 7 Sep 2011 07:51:20 +0000 (09:51 +0200)]
[webui] Another one of those "don't POST or PUT with Ajax"
Only a local webui seems to loose the session if POST/PUT is used in
Ajax requests. Looks like a bug elsewhere...
Dirk Mueller [Mon, 5 Sep 2011 15:49:45 +0000 (17:49 +0200)]
[api] fix for /status/bsrequest
- return the binary names, not the package names
- use &nometa for tremendeous speedup
Thomas Schmidt [Mon, 5 Sep 2011 15:32:19 +0000 (17:32 +0200)]
[webui mobile] remove some mock data
Stephan Kulow [Mon, 5 Sep 2011 08:59:57 +0000 (10:59 +0200)]
[api] fix the test case "broken" after recent change
Stephan Kulow [Mon, 5 Sep 2011 08:31:01 +0000 (10:31 +0200)]
[api] it's a completely reasonable use case to create a delete
request you can't accept before someone else deleted the devel package
link.
Stephan Kulow [Fri, 2 Sep 2011 12:39:57 +0000 (14:39 +0200)]
[webui] check the value of the scheduler parameter
Marcus Huewe [Fri, 2 Sep 2011 11:24:47 +0000 (13:24 +0200)]
[backend] added lsrcmd5 attribute to sourceinfo xml
This will be used by osc
Stephan Kulow [Fri, 2 Sep 2011 08:43:38 +0000 (10:43 +0200)]
[webui] fix set_remoteurl if no url existed
Adrian Schröter [Thu, 1 Sep 2011 14:15:14 +0000 (16:15 +0200)]
[deploy] fix username
Stephan Kulow [Thu, 1 Sep 2011 12:51:30 +0000 (14:51 +0200)]
[api] fix for ugly bug in find_flag_state that only looked at the order
of the flags and counted the last one as most significant
Only used by status request and source access (that doesn't have per-repo
flags, so it's not affected)
Sascha Peilicke [Thu, 1 Sep 2011 07:04:45 +0000 (09:04 +0200)]
[api] Fix testcase, declining a request in final state is not allowed.
Because it was already revoked after removing the source project.
Sascha Peilicke [Wed, 31 Aug 2011 12:29:17 +0000 (14:29 +0200)]
[webui] Catch more exceptions when project isn't found.
Needed, backend error causes Transport::Error, otherwise
Transport::NotFoundError. Also provide a less cryptic message.
Sascha Peilicke [Wed, 31 Aug 2011 11:59:54 +0000 (13:59 +0200)]
[webui] Show more meaningful error when adding a reviewer fails.
Sascha Peilicke [Wed, 31 Aug 2011 09:48:50 +0000 (11:48 +0200)]
[webui] Don't allow to remove source package when source project equals
target project.
This is the case for reverting to older revisions as the dialog is used
there too.
Sascha Peilicke [Wed, 31 Aug 2011 09:03:22 +0000 (11:03 +0200)]
[webui] Provide valid submit request target when reverting to old
revision.
Michael Schroeder [Tue, 30 Aug 2011 14:55:18 +0000 (16:55 +0200)]
[backend] do not delete unchanged deltas when publishing a prp
Sascha Peilicke [Mon, 29 Aug 2011 14:38:42 +0000 (16:38 +0200)]
[api] Revoking a request for a deleted package makes no sense anymore.
When a project is removed, all pending requests are declined
automatically (if it was target) or revoked (if it was source).
Sascha Peilicke [Mon, 29 Aug 2011 14:29:58 +0000 (16:29 +0200)]
[webui] Show a more meaningful message if submit request via dialog
failed
Sascha Peilicke [Mon, 29 Aug 2011 13:05:19 +0000 (15:05 +0200)]
[api] Fix dangling open requests after project/package removal.
When a project/package is removed, we have to revert requests where it
was source, decline requests where it was the target and remove all
by_project/by_package reviews from open requests. Removes several FIXMEs
and should solve bnc#676991.
Sascha Peilicke [Mon, 29 Aug 2011 13:04:30 +0000 (15:04 +0200)]
[api] Add methods to BsRequest to remove reviews or change state
Until now, this was (and still is) done in the RequestController.
Sascha Peilicke [Mon, 29 Aug 2011 10:54:31 +0000 (12:54 +0200)]
[api] Add two methods to DbProject/DbPackage which return open requests with
source/target or reviews.
The method 'open_requests_with_package_as_source_or_target' and
'open_requests_with_by_package_review' can be used to find requests
which have to be touched when the package is removed or otherwise
changed.
The DbProject methods also include matching requests for their (contained)
packages.
Thomas Schmidt [Mon, 29 Aug 2011 10:01:43 +0000 (12:01 +0200)]
[webui mobile gsoc] add flash messages and enable actions for requests
Sascha Peilicke [Fri, 26 Aug 2011 11:24:18 +0000 (13:24 +0200)]
[webui] Service#findAvailableParameters should return a hash in case or
error.
The view package/service_parameters expects a hash.
Sascha Peilicke [Fri, 26 Aug 2011 10:34:24 +0000 (12:34 +0200)]
[webui] Speedup perceived index page loading time by deferring system status.
Actually doesn't speed up anything, but at least the page appears after
1s (not 3s) so that users can start feeling the OBS awesomeness earlier.
Note: This leaves some room for fragment caching the rendered
'systemstatus' partial to speed up things even more...
Sascha Peilicke [Fri, 26 Aug 2011 08:56:57 +0000 (10:56 +0200)]
[webui] Corrected :all URL for Service modell.
Hopefully fixes 'Service.find_cached :all' returning nil.
Sascha Peilicke [Fri, 26 Aug 2011 08:39:09 +0000 (10:39 +0200)]
[webui] Don't choke if there aren't any services to execute.
Sascha Peilicke [Thu, 25 Aug 2011 10:25:05 +0000 (12:25 +0200)]
[dist/ci] Restructure CI jobs to allow to build several git branch.
The Jenkins git plugin isn't flexible enough to trigger build jobs
for several git branches, thus one has to create a job per branch to
test. Thus the obs_testsuite_api and obs_common jobs templates where
merged. Per default, the obs_testsuite_api job template tests the git
master branch. If you want to test the git 2.3 branch, copy this job
template and replace all occurences of 'master' with '2.3' :-)
Adrian Schröter [Thu, 25 Aug 2011 09:14:50 +0000 (11:14 +0200)]
[suse] we use the runlevel script for apidelayed jobs now
Adrian Schröter [Thu, 25 Aug 2011 08:51:11 +0000 (10:51 +0200)]
[dist] switch to copytruncate to circumvent a bug in apache&passenger calling abort
Sascha Peilicke [Thu, 25 Aug 2011 09:07:01 +0000 (11:07 +0200)]
[api,webui] Remove old delayed_job restart task.
Sascha Peilicke [Wed, 24 Aug 2011 12:59:25 +0000 (14:59 +0200)]
[webui] Rather trivial layout fix for Google Chrome.
Bento bummer! Fixes bnc#710193
Sascha Peilicke [Wed, 24 Aug 2011 09:25:12 +0000 (11:25 +0200)]
[webui] Change catch-all rescue statement.
Sascha Peilicke [Wed, 24 Aug 2011 09:04:14 +0000 (11:04 +0200)]
[webui] Fix repository flag table access check.
The value of @user_is_maintainer is nil during Ajax requests, as they
don't go through the 'repositories' action of either Project or Package
controller. Thus we have to redo the check each time...
Markus Lehtonen [Fri, 19 Aug 2011 07:53:27 +0000 (10:53 +0300)]
[backend] don't try to copy back directories in source service
Markus Lehtonen [Fri, 19 Aug 2011 07:45:54 +0000 (10:45 +0300)]
[backend] preserve files from previous source service
When running source service, move the (_service*) files generated in
previous service run to a separate directory instead of deleting them.
Sascha Peilicke [Tue, 23 Aug 2011 11:55:18 +0000 (13:55 +0200)]
[webui] Forgot to require 'ci_reporter' in Rakefile.
This is needed to have the task 'ci:setup:unittest' available.
Adrian Schröter [Tue, 23 Aug 2011 11:57:21 +0000 (13:57 +0200)]
[api] remove obsolete or wrong FIXME comments. Move some to 3.0 release.
Sascha Peilicke [Tue, 23 Aug 2011 08:47:05 +0000 (10:47 +0200)]
[webui] Aand another take on watchlists.
This time, the watched projects list moved into the Person model (with
caching) and the HomeController lost the responsibility for it. Even
modifying the watchlist in several browser windows at once doesn't break
it anymore ;-)
Sascha Peilicke [Tue, 23 Aug 2011 08:25:17 +0000 (10:25 +0200)]
[api,webui] Remove code to save scope (binding) of raised exceptions.
Hasn't brought a real debugging advantage, Ruby's global scope is way to messy
to be of use in exception mails. Let's look for better solutions...
Sascha Peilicke [Mon, 22 Aug 2011 14:09:54 +0000 (16:09 +0200)]
[dist/ci,webui] Update Jenkins job templates to recent discoveries.
Don't recommend discarding results anymore. Let all jobs archive their
artificats (Jenkins-speech for "allow other jobs to copy from job's
workingdir"). No need to change $bsdir in BSConfig.pm, testsuites do
that anyway. Fix more executable bits in obs_testsuite_api. The coverage
reports are found under src/{api,webui}/coverage/test. Remove logfiles
after test run, they only waste space.
Also let the webui require the 'ci_reporter' gem to generate test
reports.
Sascha Peilicke [Mon, 22 Aug 2011 13:43:46 +0000 (15:43 +0200)]
[webui] Declare 'target_project' variable in
ProjectController#new_incident.
Adrian Schröter [Mon, 22 Aug 2011 12:04:00 +0000 (14:04 +0200)]
[api] do not allow to delete a signkey, when the upper project (where the fallback key is hosted) does not belong to the user.
Adrian Schröter [Thu, 18 Aug 2011 12:24:22 +0000 (14:24 +0200)]
[webui] improve build state legend a bit
Sascha Peilicke [Mon, 22 Aug 2011 11:12:09 +0000 (13:12 +0200)]
[webui] Avoid adding repo paths twice. Fixes a MySQL double entry error.
Sascha Peilicke [Mon, 22 Aug 2011 08:50:16 +0000 (10:50 +0200)]
[webui] Add tooltip to request-related clickable icons.
Thanks to Andreas Jaeger for pointing this out.
Sascha Peilicke [Mon, 22 Aug 2011 08:49:16 +0000 (10:49 +0200)]
[webui] Change doubled 'alt' tag to 'title'.
Sascha Peilicke [Mon, 22 Aug 2011 08:27:34 +0000 (10:27 +0200)]
[webui] Catch exception for non-existing projects when adding to
maintenance
Sascha Peilicke [Mon, 22 Aug 2011 08:20:38 +0000 (10:20 +0200)]
[webui] Project#can_edit? should return false if 'user' is nil.
Sascha Peilicke [Fri, 19 Aug 2011 12:59:10 +0000 (14:59 +0200)]
[webui] Check if package has a source rev before branching
Packages w/o revisions shouldn't be brancheable. Fixes bnc#710200.
Sascha Peilicke [Fri, 19 Aug 2011 09:24:13 +0000 (11:24 +0200)]
[webui] Redirect to proper view in case of error.
The view 'new_branch_link' doesn't exist (any more). Fixes bnc#710197.
Adrian Schröter [Thu, 18 Aug 2011 08:22:21 +0000 (10:22 +0200)]
[backend] test removal of service generated files when service get skipped
Adrian Schröter [Thu, 18 Aug 2011 08:21:37 +0000 (10:21 +0200)]
[backend] export package and project name via environment to the service
Adrian Schröter [Thu, 18 Aug 2011 08:16:51 +0000 (10:16 +0200)]
[webui] minor improvement to explain "signing" state