Skip to content

Auto-select scheme in api_check_lockfile and document it#218

Merged
JuanVqz merged 2 commits into
mainfrom
docs/api-check-lockfile-scheme-autoselect
May 8, 2026
Merged

Auto-select scheme in api_check_lockfile and document it#218
JuanVqz merged 2 commits into
mainfrom
docs/api-check-lockfile-scheme-autoselect

Conversation

@JuanVqz
Copy link
Copy Markdown
Member

@JuanVqz JuanVqz commented May 8, 2026

Summary

  • bin/api_check_lockfile now auto-selects http for localhost/127.0.0.1 and https for any other host, so the common API_HOST=api.railsbump.org … invocation no longer needs an explicit API_SCHEME=https.
  • API_SCHEME is still honored as an override for edge cases (e.g. a remote host over plain HTTP).
  • Updated docs/api_check_lockfile.md to match: simpler non-local example, plus a note describing the auto-select behavior and when to override.

JuanVqz added 2 commits May 8, 2026 11:41
Pick http for localhost/127.0.0.1 hosts, https otherwise. Drop the
manual API_SCHEME=https from the non-local example since it's now
the default. Keep API_SCHEME as an override for edge cases.
@JuanVqz JuanVqz self-assigned this May 8, 2026
@JuanVqz JuanVqz marked this pull request as ready for review May 8, 2026 17:51
@JuanVqz JuanVqz merged commit ad65b1a into main May 8, 2026
2 checks passed
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