--- /pbulk/2022Q4/pkg/libexec/pbulk/create-report-html 2022-12-28 00:01:04.000000000 +0000
+++ create-report-html 2023-02-16 13:02:30.447127148 +0000
@@ -159,7 +159,8 @@
print_failed_log_line(PKGNAME, "clean", has_clean)
print_failed_log_line(PKGNAME, "deinstall", has_deinstall)
print "" > html_report
- if (status[PKGNAME] == "indirect-failed") {
+ if (status[PKGNAME] == "indirect-failed" ||
+ status[PKGNAME] == "indirect-prefailed") {
print "
" > html_report
printf " | " > html_report
printf " Failed: " > html_report
@@ -183,9 +184,11 @@
split(depends[CUR], cur_depends, "[ \t]+")
for (dep in cur_depends) {
cur_dep = cur_depends[dep]
- if (status[cur_dep] == "failed") {
+ if (status[cur_dep] == "failed" ||
+ status[cur_dep] == "prefailed") {
failed_pkgs[CUR] = failed_pkgs[CUR] " " cur_dep
- } else if (status[cur_dep] == "indirect-failed") {
+ } else if (status[cur_dep] == "indirect-failed" ||
+ status[cur_dep] == "indirect-prefailed") {
compute_direct_failure(cur_dep)
failed_pkgs[CUR] = failed_pkgs[cur_dep] " " failed_pkgs[CUR]
}
@@ -260,8 +263,10 @@
else if (status[pkg] == "indirect-failed") {
compute_direct_failure(pkg)
++pkgs_indirect_failed
- } else if (status[pkg] == "indirect-prefailed")
+ } else if (status[pkg] == "indirect-prefailed") {
+ compute_direct_failure(pkg)
++pkgs_indirect_prefailed
+ }
}
print "" > html_report
|