Fix #124: clone menu protocol honesty + artifact removal #131
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!131
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-124"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pill and command text disagreed (hardcoded HTTPS pill vs verbatim http clone_url) plus a leftover pre-#37 git block duplicated the command.
Decision (docs/go/12_web_ui.md): honest rule (a) — show the server-advertised URL verbatim and derive the pill label from its scheme (new lib/clone.js httpProtoLabel). Upgrading http->https for display was rejected: the client cannot tell TLS-proxy http from plain-http, and the upgrade breaks the latter. Verified live against hub.packden.us (advertises http, http clone works) and a scratch server (real git clone of the displayed command succeeds).
Browser (CDP Chromium, real server): HTTP pill + http text, SSH toggle -> ssh:// URL, toggle back restores, no dead block, dark + light screenshots, zero console errors. node --test: 295/295 green. No new deps. Follow-up noted in doc: baseURL could honor X-Forwarded-Proto so proxied servers advertise https.