Enable new source check and build check tasks again

This commit is contained in:
Simon Quigley 2025-02-08 01:10:28 -06:00
parent c3487eb887
commit 85b0703e62

View File

@ -894,7 +894,9 @@ bool PackageConf::can_check_source_upload() {
source_check_time = kv.second->finish_time; source_check_time = kv.second->finish_time;
} }
} }
return upload_ok && source_check_ok && (source_check_time <= upload_time); if (!source_check_ok && upload_ok) return true;
else if (!source_check_ok && !upload_ok) return false;
else return upload_ok && source_check_ok && (source_check_time <= upload_time);
} }
bool PackageConf::can_check_builds() { bool PackageConf::can_check_builds() {
@ -911,7 +913,9 @@ bool PackageConf::can_check_builds() {
build_check_time = kv.second->finish_time; build_check_time = kv.second->finish_time;
} }
} }
return upload_ok && build_check_ok && (build_check_time <= upload_time); if (!build_check_ok && upload_ok) return true;
else if (!build_check_ok && !upload_ok) return false;
else return upload_ok && build_check_ok && (build_check_time <= upload_time);
} }
// End of PackageConf // End of PackageConf
// Start of GitCommit // Start of GitCommit