Skip to content

phase-M M49: sourceforge files-dir parent fallback#165

Merged
dcasota merged 1 commit into
masterfrom
sdd/phase-m-m49-sf-files-fallback
May 22, 2026
Merged

phase-M M49: sourceforge files-dir parent fallback#165
dcasota merged 1 commit into
masterfrom
sdd/phase-m-m49-sf-files-fallback

Conversation

@dcasota
Copy link
Copy Markdown
Owner

@dcasota dcasota commented May 22, 2026

Derived SF URL is .../files/, but some projects (nicstat, tclap) host releases directly under .../files/ → subdir 404s → C empty. Added a parent fallback: on primary fetch failure/empty, retry .../files/. Only fires on failure, so working specs (expect, cscope) untouched. Verified locally: nicstat+tclap → '(same version)' = PS. build+ctest green.

FRD: FRD-011 · ADR: ADR-0001 · PS-source: L3460-3475 · Parity: strict

🤖 Generated with Claude Code

The derived SourceForge tag URL is .../files/<project>, but some
projects host releases directly under .../files/ (no per-project
subdir) — e.g. nicstat, tclap — so the <project> sub-dir 404s and C
emitted empty. Added a parent fallback in the sf branch: when the
primary fetch fails or returns no names, retry .../files/. Only fires
on primary failure, so working sf specs (expect -> /files/Expect,
cscope -> bogus-but-PS-matching empty) are untouched. Verified locally:
nicstat + tclap now "(same version)" = PS; expect/cscope unchanged.

FRD: FRD-011
ADR: ADR-0001
PS-source: photonos-package-report.ps1 L 3460-3475
Parity: strict

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@dcasota dcasota merged commit 8a7c309 into master May 22, 2026
2 checks passed
@dcasota dcasota deleted the sdd/phase-m-m49-sf-files-fallback branch May 22, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant