Mailinglist Archive: opensuse-buildservice (137 mails)

< Previous Next >
Re: [opensuse-buildservice] Fedora 23 interconnect error
On Montag, 9. November 2015, 11:36:35 CET wrote Adrian Schröter:
On Samstag, 7. November 2015, 07:49:37 CET wrote Dmitry Kolin:
Hello,

I'm using standalone OBS instance to build my packages, everything works
fine!

But recently I added Fedora 23 repository, which now displays "broken"
status.

From logs I found the following error message:

2015-11-07 06:25:48 [27857]: POST
/notify/REPO_PUBLISH_STATEproject=myproject&repo=Fedora_23&state=publishing2015-11-07
06:25:48 [27858]: GET
/getprojpack?withrepos&expandedrepos&withsrcmd5nopackages&project=myproject&repository=Fedora_23
fetching remote project data for openSUSE.org:Fedora:23
127.0.0.1: interconnect error: unknown element: download


Is it a known issue? Maybe I could help you with debugging?

it is a new functionality of upcoming OBS 2.7 ....

We need to make OBS 2.6 compatible... will take care.

Can you please test the attached patch?

It modifies BSXML.pm, after a restart of the backend it should accept
such project defintions. It won't download itself, but uses the interconnect
to download the rpms as before.

--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg
Germany

diff --git a/src/backend/BSXML.pm b/src/backend/BSXML.pm
index a1d8540..72c57e1 100644
--- a/src/backend/BSXML.pm
+++ b/src/backend/BSXML.pm
@@ -43,12 +43,28 @@ use strict;
# [ $repo ], refers to the repository construct and allows again
any number of them (0-X)
#]; closes the <package> child with </package>

+
+our $download = [
+ 'download' =>
+ 'arch',
+ 'repotype',
+ 'url',
+ [],
+ 'archfilter',
+ [ 'master' =>
+ 'url',
+ 'sslfingerprint',
+ ],
+ 'pubkey',
+];
+
our $repo = [
'repository' =>
'name',
'rebuild',
'block',
'linkedbuild',
+ [ $download ], # OBS 2.7 DoD support. We do not support it, but accept
it from interconnect
[[ 'releasetarget' =>
'project',
'repository',
< Previous Next >
Follow Ups