Complete Gitea wrapper host resolution
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Hermes Agent
2026-06-11 21:00:06 -05:00
parent 9bbf8e3e5d
commit c4c8a255ee
16 changed files with 360 additions and 16 deletions

View File

@@ -58,6 +58,11 @@ switch ($platform) {
& $cmd[0] $cmd[1..($cmd.Length-1)]
}
"gitea" {
$repoArgs = @(Get-GiteaRepoArgs)
if ($repoArgs.Length -eq 0) {
Write-Error "Could not resolve Gitea repo/login for remote host"
exit 1
}
$cmd = @("tea", "pr", "list", "--state", $State, "--limit", $Limit)
if ($Label) {
@@ -67,6 +72,7 @@ switch ($platform) {
Write-Warning "Author filtering may require manual review for Gitea"
}
$cmd += $repoArgs
& $cmd[0] $cmd[1..($cmd.Length-1)]
}
default {