Skip to content

Fix and *REMOVE* version check#492

Merged
shreddedbacon merged 2 commits intomainfrom
chore-fix-version-check-remove
Apr 1, 2026
Merged

Fix and *REMOVE* version check#492
shreddedbacon merged 2 commits intomainfrom
chore-fix-version-check-remove

Conversation

@bomoko
Copy link
Copy Markdown
Contributor

@bomoko bomoko commented Mar 7, 2026

This is an alternative to #491

Here we do two things. Move the version update check logic into the version command (the logic seems sound, but we can still remove it wholesale). There was also some non-version check logic in the PersistenPreRun function (namely, the StrictHostCheck details) which I have moved into cobra's initializer's slice (as with the previous version of the PR)

Closing issues

closes #487

Note - there is a first PR (#491) that will retain the functionality (up to maintainer to choose).

@bomoko
Copy link
Copy Markdown
Contributor Author

bomoko commented Mar 8, 2026

#493 should sort the linting errors

@bomoko bomoko force-pushed the chore-fix-version-check-remove branch from e276034 to e3ae21a Compare March 10, 2026 01:29
@shreddedbacon
Copy link
Copy Markdown
Member

I prefer this over #491

@shreddedbacon shreddedbacon force-pushed the chore-fix-version-check-remove branch from e3ae21a to 442318c Compare April 1, 2026 20:19
@shreddedbacon shreddedbacon merged commit a7a2670 into main Apr 1, 2026
8 checks passed
@shreddedbacon shreddedbacon deleted the chore-fix-version-check-remove branch April 1, 2026 20:28
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.

"Check for Updates" feature appears to not work

2 participants