reports.c: remove repodata based repositories from legacy static html based repositories list

This commit is contained in:
Silvan Calarco 2024-08-15 16:45:08 +02:00
parent b904a8fd9d
commit 73deedbd5e

View File

@ -720,6 +720,8 @@ generateHTMLMainIndex(struct configTag *configtag)
fprintf(fout,"<b>Available repositories:</b><br><br>\n"); fprintf(fout,"<b>Available repositories:</b><br><br>\n");
while (configtag) { while (configtag) {
// Skip repositories based on repodata which are managed with distroquery API
if (configtag->repodata_url == NULL) continue;
fprintf(fout, fprintf(fout,
"<a href=\"%stag=%s\">%s</a>: %s<br>", "<a href=\"%stag=%s\">%s</a>: %s<br>",
configtag->configdefaults->url_prefix, configtag->configdefaults->url_prefix,