Mailinglist Archive: opensuse-buildservice (137 mails)

< Previous Next >
Re: [opensuse-buildservice] Fedora 23 interconnect error
On Montag, 9. November 2015, 11:42:33 CET wrote Adrian Schröter:
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?

Needed one more change, the attached one is working. Will be part of OBS 2.6.7
release.


--

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

commit f81d7b5db66623083e88d18f5c150999ff6e500c
Author: Adrian Schröter <adrian@xxxxxxx>
Date: Mon Nov 9 11:47:41 2015 +0100

[backend] compability support with Download-on-Demand definitions from OBS
2.7

diff --git a/ReleaseNotes-2.6.7 b/ReleaseNotes-2.6.7
index 8fb9a0f..ff125ce 100644
--- a/ReleaseNotes-2.6.7
+++ b/ReleaseNotes-2.6.7
@@ -14,7 +14,7 @@ Feature backports:
Changes:
========

-* none
+* [backend] compability support with Download-on-Demand definitions from OBS
2.7

Bugfixes:
=========
diff --git a/src/backend/BSXML.pm b/src/backend/BSXML.pm
index a1d8540..2e99359 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 $obs27download = [
+ 'download' =>
+ 'arch',
+ 'repotype',
+ 'url',
+ [],
+ 'archfilter',
+ [ 'master' =>
+ 'url',
+ 'sslfingerprint',
+ ],
+ 'pubkey',
+];
+
our $repo = [
'repository' =>
'name',
'rebuild',
'block',
'linkedbuild',
+ [ $obs27download ], # OBS 2.7 DoD support. We do not support it, but
accept it from interconnect
[[ 'releasetarget' =>
'project',
'repository',
< Previous Next >