On Sat, Nov 05, 2016 at 03:15:45PM +0100, Stefan Seyfried wrote:
It started with 384(?) packages to download, but will not go below 20.
I added the exact xml snippets and dodtestimage.kiwi here:
https://gist.github.com/seife/dc649e061c96c6c0b9f24b818ee5bc9f
In order to not introduce bugs by my own patches (and because obs-server
does not build for me), I used the unpatched OBS packages from
http://download.opensuse.org/repositories/OBS:/Server:/2.7/openSUSE_42.1/,
thus no additional debug output is available.
Hope this helps to debug the issue.
Yes, it sure does. Try the following patch:
commit 775c785e413c006d68ce2659226541acd8f7db33
Author: Michael Schroeder
Date: Tue Nov 8 14:20:22 2016 +0100
[backend] use the real ctx for adding dodfetch packages
diff --git a/src/backend/BSSched/DoD.pm b/src/backend/BSSched/DoD.pm
index 9651a6e..151e647 100644
--- a/src/backend/BSSched/DoD.pm
+++ b/src/backend/BSSched/DoD.pm
@@ -128,6 +128,7 @@ sub clean_obsolete_dodpackages {
sub dodcheck {
my ($ctx, $pool, $arch, @pkgs) = @_;
+ $ctx = $ctx->{'realctx'} if $ctx->{'realctx'}; # we need the real one to add entries
my %names;
if (defined &BSSolv::repo::dodcookie) {
%names = (%names, $_->pkgnames()) for grep {$_->dodurl() || $_->dodcookie()} $pool->repos();
Cheers,
Michael.
--
Michael Schroeder mls@suse.de
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org