Repository navigation
feat: report drift via Fingerprint hook - #55
Merged
Merged
Conversation
…at/flutter-fingerprint
Homebrew, mise, asdf, winget and manual installs all ship Google's archives with .git, so the Fingerprint head fact applies to vfox link copies too (verified end to end against vfox 1.1.0: receipt, doctor info notice, no reinstall for linked, silent without .git). Document link adoption, the owned-vs-linked recovery difference, and PATH shadowing pointers.
Scan well-known install locations (Homebrew Caskroom, mise, asdf, FVM, manual dirs, C:/src/flutter on Windows) for SDKs whose bin holds flutter and whose root version file names a linkable version. vfox skips what is already installed or linked. lib/detect_sdk.lua (not detect.lua: vfox searches hooks/ before lib/, so require("detect") would loop on hooks/detect.lua). Cover with offline hook tests; verified end to end against vfox 1.1.0 (detect, link, receipt, doctor notice, skip on rerun). Docs are detect-first with manual link as fallback.
linghengqian
added a commit
that referenced
this pull request
Nov 10, 2026
- changes.md (English and Chinese): the "Unreleased" entries are now 0.2.6 (2026-11-10), each with its #55 link, and the intro names 0.2.6 as the newest release. - development.md (English and Chinese): the registry lag now covers the last three releases (0.2.3, 0.2.4, 0.2.5).
linghengqian
added a commit
that referenced
this pull request
Nov 10, 2026
- changes.md (English and Chinese): the "Unreleased" entries are now 0.2.6 (2026-11-10), each with its #55 link, and the intro names 0.2.6 as the newest release. - development.md (English and Chinese): the registry lag now covers the last three releases (0.2.3, 0.2.4, 0.2.5).
Closed
16 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs version-fox/vfox#737.
Replace the plugin's own drift detection with vfox 1.1.0's Fingerprint hook: report the SDK checkout's git HEAD from files only, let vfox record it in the receipt and report sdk.drift after vfox use and in vfox doctor, fixed with vfox install --reinstall. Keep the legacy .vfox-manifest warning for older vfox via RUNTIME.version gate to avoid duplicate warnings. Update flutter-upgrade docs (EN + zh-CN), troubleshooting, platforms, development, changes, hook tests and container verifiers.