Skip to content

Commit

Permalink
pbuild: always refresh repo meta data for now
Browse files Browse the repository at this point in the history
otherwise we run into download errors and people do not understand that
they have to clean their cache. This leads to false bugreports against our
infrastructure.
  • Loading branch information
adrianschroeter committed Apr 20, 2021
1 parent bdcfc07 commit 20d2ebb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PBuild/RemoteRepo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ sub fetchrepo {
}
undef $bins if join(',', @$modules) ne join(',', @$repomodules);
}
return $bins if $bins && replace_with_local($repodir, $bins);
# FIXME: this is harmful since remote changes never get taken into account and this may lead to download errors
# return $bins if $bins && replace_with_local($repodir, $bins);
}
my $tmpdir = "$repodir/.tmp";
PBuild::Util::cleandir($tmpdir) if -e $tmpdir;
Expand Down

0 comments on commit 20d2ebb

Please sign in to comment.