Skip to content

Remove stale config entry before deploy - #7

Merged
DaniusKalv merged 11 commits into
mainfrom
fix-stale-config-entry
Jul 23, 2026
Merged

Remove stale config entry before deploy#7
DaniusKalv merged 11 commits into
mainfrom
fix-stale-config-entry

Conversation

@DaniusKalv

@DaniusKalv DaniusKalv commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove the overwritten config block from disk just before deploy, so ssh no longer resolves the typed host through stale HostName and earlier aborts (tool checks, keygen) leave the config untouched (closes Stale config entry redirects deploy after reflash #6)
  • Patch USERPROFILE in remove_entry tests so they stay inside tmp on Windows (Path.home() ignores HOME there)
  • Align --help example descriptions into one column and describe flags example
  • Polish PyPI metadata: ssh-copy-id alternative in summary, more keywords, sidebar links, Production/Stable status
  • Polish README: bold hero tagline, scope zero dependencies claim to Python
  • Bump version to 1.1.1

Test plan

  • Reproduce the reflash scenario: overwrite a managed alias whose stored HostName no longer resolves, deploy now connects to the typed host

@DaniusKalv DaniusKalv self-assigned this Jul 23, 2026
@DaniusKalv DaniusKalv added the bug Something isn't working label Jul 23, 2026
@DaniusKalv
DaniusKalv force-pushed the fix-stale-config-entry branch from 165b827 to 9a4bc0b Compare July 23, 2026 19:49
@DaniusKalv
DaniusKalv merged commit 8c8ac1c into main Jul 23, 2026
8 checks passed
@DaniusKalv
DaniusKalv deleted the fix-stale-config-entry branch July 23, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stale config entry redirects deploy after reflash

1 participant