diff --git a/distroquery.php b/distroquery.php index 9722f25..8b2f753 100644 --- a/distroquery.php +++ b/distroquery.php @@ -175,20 +175,43 @@ $url_prefix = home_url() . "/rpms/"; : :" target=_blank> : -:" . $child["name"] . "(" . $child["arch"] . ") "; - } ?> - -: - + +"; + + foreach ($j["children"]["archs"] as $arch => $value) { + echo ""; + } + echo ""; + foreach ($j["children"]["archs"] as $arch => $value) { + echo ""; + } + echo ""; + foreach ($j["children"]["archs"] as $arch => $value) { + echo ""; + } + + echo ""; +?>
" . $arch . "
" . _r("Built RPMS") . ""; + foreach ($j["children"]["archs"][$arch] as $child) { + $child_url = $url_prefix . $repo . "/" . $child["name"] . "/" . $arch; + echo "" . $child["name"] . "
"; + } + echo "
" . _r("Build requirements") . ""; + foreach ($j["buildrequires"] as $buildrequire) { + echo $buildrequire["name"]; + if ($buildrequire["flags"] != "") echo "[" . $buildrequire["flags"] . $buildrequire["version"] . "]"; + $cnt = 0; + foreach ($buildrequire["providers"]["archs"][$arch] as $provider) { + $cnt++; + $provider_url = $url_prefix . $provider["repository"] . "/" . $provider["name"] . "/" . $arch; + echo " [" . $cnt . "]"; + } + if ($cnt == 0) echo " (" . _r("unresolved") . ")"; + echo "
"; + } + echo "