DoD - multiple base URLs for the same architecture

Hey there,

I’m trying to configure DoD (Download on Demand) on my OBS v2.4.3-6.1 running on a SLES 11 SP2 (x86_64).

The DoD itself works just fine, though I got the problem when defining multiple base URLs for the same architecture: OBS seems to use only the first given URL and ignore alle the others.

While debuging I came across the entries in the database. They appear to be ok and multiple URLs are actually linkt to the same arch. Strangely though OBS checks only the first software repository when resolving the dependencies.

This comes to be a problem when building packages which have dependencies to more than one repository.

Can anyone tell me how to configure DoD to have multiple base URLs for the same architecture?

Here is a example of one of my meta files:

<project name=“SLES:11:SP2”><title>SUSE Linux Enterprise Server 11 SP2</title>
<description>Build target repository for SLES11 SP2</description>
<person userid=“user” role=“maintainer”/>
<person userid=“user” role=“bugowner”/>

&lt;download baseurl="http://my.repo.tld/sles11sp2sdk_64/" metafile="sdk_primary.xml" mtype="rpmmd" arch="x86_64"/&gt;
&lt;download baseurl="http://my.repo.tld/sles11sp2_64/" metafile="primary.xml" mtype="rpmmd" arch="x86_64"/&gt;

&lt;repository name="standard"&gt;

[INDENT=2]<arch>x86_64</arch>[/INDENT]
</repository>

</project>

NOTE: Don’t bother the urls or the metafiles, I changed them, they are correct on my instance. (yes, I tested them)