Mailinglist Archive: opensuse-buildservice (227 mails)

< Previous Next >
Re: [opensuse-buildservice] Suggestion for Buildservice web interface
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Tue, 30 Jan 2007 11:27:42 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0701301116220.32373@xxxxxxxxxxxxxxxxx>
Hello,

> > I had a look. Althought it is pretty easy, it is nothing I can
> > develop blind. So as long as I cannot directly test the results of my
> > changes I need to leave it to you.
>
> Why can't you ?
>
> You know that you can run the web frontend on your local system, connected
> to api.opensuse.org ? Have a look in the README.devel file in the svn for
> details.

Ok, first results, please tell me how to proceed:

Fixes in README.devel:
a) gem install switchtower does not work. It seems this has been replaced
with Capistrano. At least I got a step further with "gem install
capistrano".
b) I think "gem install -y rails" should be replace by "install gem-rails"
package.

The deployment:
a) Why using named SVN access for the data download. Anonymous access
would also work for me and others. As I understand it it is only to get
data and not to make a real working copy. Anonymous SVN should be the best
option.

Everything else:
a) I got the webclient running. But it accepts any login/password
combination without error. At http://localhost:3000/ shows the start page
with user "dstoecker" logged in. Clicking on home project fails with
Error Details:
Errorcode: 500
Message: Failed to establish connection: Address family not supported by
protocol - socket(2)

Exception from Webclient:
ActiveXML::Transport::ConnectionError: Failed to establish connection:
Address family not supported by protocol - socket(2)
Stack Trace:
b) When doing rake deploy in webclient dir I get following:
- Why does it try to access /u/? Running the webclient as normal user
works, why accessing anything in /?.

stoecker@daneel:~/sources/buildservice/src/webclient> rake deploy
(in /home/stoecker/sources/buildservice/src/webclient)
* executing task deploy
* executing task update
** transaction: start
* executing task update_code
* querying latest revision...
* executing "if [[ ! -d /u/apps/releases/20070130101546 ]]; then\n
svn co -q -r1123 /u/apps/releases/20070130101546 &&\n (test
-e /u/apps//revisions.log || (touch /u/apps//revisions.log && chmod 666
/u/apps//revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 1123
20070130101546 >> /u/apps//revisions.log;\n fi"
*** [update_code] transaction: rollback
* [update_code] rolling back
* executing "rm -rf /u/apps/releases/20070130101546"
** [update_code] exception while rolling back: RuntimeError, The
update_code task is only run for servers matching {:desc=>"Update all
servers with the latest release of the source code. All this does\nis do a
checkout (as defined by the selected scm module).\n",
:except=>{:no_release=>true}}, but no servers matched
rake aborted!
The update_code task is only run for servers matching {:desc=>"Update all
servers with the latest release of the source code. All this does\nis do a
checkout (as defined by the selected scm module).\n",
:except=>{:no_release=>true}}, but no servers matched

(See full trace by running task with --trace)

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >