use rescan after errors, so that bumps get picked up
This commit is contained in:
parent
309af926e4
commit
d1fc80b3fe
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Engine.pm,v 1.8 2010/10/27 22:53:33 espie Exp $
|
||||
# $OpenBSD: Engine.pm,v 1.9 2010/10/27 22:58:02 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -318,7 +318,6 @@ sub rebuild_info
|
||||
}
|
||||
my @subdirs = map {$_->fullpkgpath} @l;
|
||||
$self->{grabber}->grab_subdirs($core, \@subdirs);
|
||||
# XXX todo something needs to happen after the rescan ?
|
||||
}
|
||||
|
||||
sub start_new_job
|
||||
|
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Locks.pm,v 1.3 2010/10/27 12:58:26 espie Exp $
|
||||
# $OpenBSD: Locks.pm,v 1.4 2010/10/27 22:58:02 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -117,12 +117,11 @@ sub recheck_errors
|
||||
if ($self->locked($v)) {
|
||||
push(@{$engine->{$name}}, $v);
|
||||
} else {
|
||||
# XXX not ready yet
|
||||
# if ($name eq 'errors') {
|
||||
# $engine->rescan($v);
|
||||
# } else {
|
||||
if ($name eq 'errors') {
|
||||
$engine->rescan($v);
|
||||
} else {
|
||||
$engine->requeue($v);
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user