From ba0d180e39d96e9a443fb40b56e425da9ac58229 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 2 Jun 2026 21:54:01 -0500 Subject: [PATCH] fix(updates): correct infourl/maintainerurl mapping = InfoURL field (product/release info page), fallback /releases = SupportURL field (support site), fallback MaintainerURL, fallback org profile Previously SupportURL was mapped to which was wrong. Co-Authored-By: Claude Opus 4.6 (1M context) --- services/updateserver/joomla.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/updateserver/joomla.go b/services/updateserver/joomla.go index 2513b7bc47..9765eca84d 100644 --- a/services/updateserver/joomla.go +++ b/services/updateserver/joomla.go @@ -202,7 +202,9 @@ func GenerateJoomlaXML(ctx context.Context, repo *repo_model.Repository, require maintainer = cfg.Maintainer } maintainerURL := fmt.Sprintf("%s/%s", baseURL, repo.Owner.Name) - if cfg != nil && cfg.MaintainerURL != "" { + if cfg != nil && cfg.SupportURL != "" { + maintainerURL = cfg.SupportURL + } else if cfg != nil && cfg.MaintainerURL != "" { maintainerURL = cfg.MaintainerURL } targetVersion := ".*" @@ -307,9 +309,7 @@ func GenerateJoomlaXML(ctx context.Context, repo *repo_model.Repository, require } infoURL := fmt.Sprintf("%s/releases", repoLink) - if cfg != nil && cfg.SupportURL != "" { - infoURL = cfg.SupportURL - } else if cfg != nil && cfg.InfoURL != "" { + if cfg != nil && cfg.InfoURL != "" { infoURL = cfg.InfoURL } -- 2.52.0