Release of v5.1.1-beta4

Fix the FieldXML interface mismatch. #1228. Adds Initialize, Reset, and Push functionality to the Repository entities.
This commit is contained in:
2025-06-25 10:16:52 +00:00
parent dbebb5663c
commit af4b12a82b
69 changed files with 1721 additions and 577 deletions

View File

@@ -22,9 +22,16 @@ defined('JPATH_BASE') or die;
$base = $displayData['repo']->base ?? null;
$path = $displayData['repo']->path ?? null;
$type = $displayData['repo']->type ?? 0;
$url = "#";
if (!empty($base) && !empty($path))
{
// if the type is GitHub = 2
if ($type == 2)
{
$base = 'https://github.com';
}
$url = "{$base}/{$path}";
}
$name = $displayData['name'] ?? 'error';