Public Access
Name the organisation the repository actually lives in
It moved to DodoTech-Public, and every address in the product still said DodoTech. That looked like it worked, which is the part worth writing down: Gitea leaves a 301 at the old path and HttpClient follows a redirect on a GET, so both update channels would have kept polling through it. What a 301 does not survive is a POST. `vpk upload gitea` publishes the desktop release by POSTing to that URL, so the stale address would have failed at the one step the whole feature depends on — and a redirect is a thing an operator can delete, which turns "works today" into the same silent outage this session has already spent two commits on. So both channel constants, both release scripts, the workflow's REPO, the image's source label and the curl in phase 16 all name the live path. The local remote too, which had been printing a redirect warning on every push. Measured after the move: the org, the repo and the nightly release all answer 200 anonymously, and that release now carries both assets — the manifest and a 54 MB APK. The upload going through also answers the open question about the reverse proxy's body-size limit, which nothing local could test.
This commit is contained in:
@@ -50,7 +50,7 @@ $RepoRoot = Split-Path -Parent $PSScriptRoot
|
||||
$Project = Join-Path $RepoRoot 'src/DodoSSH.Client.Android/DodoSSH.Client.Android.csproj'
|
||||
$Staging = Join-Path $RepoRoot 'artifacts/android'
|
||||
$Forge = 'https://git.dodotech.cloud'
|
||||
$Repo = 'DodoTech/DodoSSH'
|
||||
$Repo = 'DodoTech-Public/DodoSSH'
|
||||
$Api = "$Forge/api/v1/repos/$Repo"
|
||||
|
||||
function Write-Step([string] $Message) {
|
||||
|
||||
@@ -62,7 +62,11 @@ $PackAuthors = 'DodoTech'
|
||||
|
||||
# The project's own forge. Never a DodoSSH deployment — ADR 0011 rule 2. The same URL is a constant in
|
||||
# VelopackUpdateChannel, and the two have to agree or the client polls somewhere nothing is published.
|
||||
$RepoUrl = 'https://git.dodotech.cloud/DodoTech/DodoSSH'
|
||||
#
|
||||
# The owner is part of it. When the repository moved organisations Gitea left a 301 at the old path, which
|
||||
# a GET follows and an upload does not — so a stale URL here fails at the one step that matters rather than
|
||||
# redirecting quietly.
|
||||
$RepoUrl = 'https://git.dodotech.cloud/DodoTech-Public/DodoSSH'
|
||||
|
||||
# A contract with VelopackUpdateChannel.ReleaseChannel. It is Velopack's Windows default, so leaving it
|
||||
# unsaid on both sides would work too — but unsaid here and stated there is how a feed goes quiet with no
|
||||
|
||||
Reference in New Issue
Block a user