Skip to content

feat: report drift via Fingerprint hook - #55

Merged
linghengqian merged 5 commits into
mainfrom
feat/flutter-fingerprint
Nov 10, 2026
Merged

linghengqian merged 5 commits into
mainfrom
feat/flutter-fingerprint

Conversation

@linghengqian

Copy link
Copy Markdown
Member

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.

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 linghengqian added the enhancement New feature or request label Nov 10, 2026
@linghengqian
linghengqian merged commit 5435548 into main Nov 10, 2026
10 checks passed
@linghengqian
linghengqian deleted the feat/flutter-fingerprint branch November 10, 2026 03:57
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant