Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ jobs:
if: runner.os == 'Windows'
shell: pwsh
run: |
choco install -y --no-progress hg sliksvn
# The community feed answers 503 now and then; a failed choco must fail the step, not the next one.
for ($attempt = 1; $attempt -le 3; $attempt++) {
choco install -y --no-progress hg sliksvn
if ($LASTEXITCODE -eq 0) { break }
if ($attempt -eq 3) { throw "choco install failed $attempt times (last exit code $LASTEXITCODE)" }
Start-Sleep -Seconds (30 * $attempt)
}
Add-Content $env:GITHUB_PATH 'C:\Program Files\Mercurial'
Add-Content $env:GITHUB_PATH 'C:\Program Files\SlikSvn\bin'
- name: Versions
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ jobs:
if: runner.os == 'Windows'
shell: pwsh
run: |
choco install -y --no-progress hg sliksvn
# The community feed answers 503 now and then; a failed choco must fail the step, not the next one.
for ($attempt = 1; $attempt -le 3; $attempt++) {
choco install -y --no-progress hg sliksvn
if ($LASTEXITCODE -eq 0) { break }
if ($attempt -eq 3) { throw "choco install failed $attempt times (last exit code $LASTEXITCODE)" }
Start-Sleep -Seconds (30 * $attempt)
}
Add-Content $env:GITHUB_PATH 'C:\Program Files\Mercurial'
Add-Content $env:GITHUB_PATH 'C:\Program Files\SlikSvn\bin'
- name: Versions
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ An authentication failure is reported with one hint naming the fix for that back

## Future

Design only, not built here: a SysML-rendered index; LSP integration; attestation / cosign of
releases; any server.
Design only, not built here: a SysML-rendered index; LSP integration; any server.

## Licence

Expand Down
1 change: 1 addition & 0 deletions changes/unreleased/choco-retry.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The Windows CI and release gates retry a failed Chocolatey install of `hg` and `sliksvn` and fail that step itself, instead of letting a transient feed error surface as `svn: command not found` later.
Loading