You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Register Flow with github-linguist for native .flow language detection #172
Get GitHub Linguist to recognize this Flow language safely without stealing unrelated .flow files.
Current blocker
Do not open the upstream PR yet.
Linguist currently requires at least 2,000 indexed files in the last year for an extension such as .flow, excluding forks, with reasonable distribution across unrelated users/repos. Results dominated by the language owner are filtered out.
A raw extension:flow search is unusable as evidence. On 2026-09-18 it returned about 138k files, dominated by JavaScript Flow libdefs (*.js.flow), while Area9 Flow also uses ordinary .flow files.
Distinctive queries for this language still show owner concentration. "function main() ->" returned 1,716 files after excluding the flooooooooooow org, but visible results were under the maintainer's own account; excluding that account returned zero. "evolves as" had one result outside the org, also under the maintainer's account.
Prepared work
The repository already contains:
TextMate grammar and licensed real-world samples under docs/project/linguist/
Upstream PR template
Current collision analysis and signature draft in docs/project/linguist.md
Ecosystem recognition tracker in docs/project/ecosystem-recognition.md
PR #898 further adds Tree-sitter and Pygments support, which strengthens the editor/tooling story but does not satisfy Linguist popularity by itself.
Acceptance
Independent usage clears Linguist's current popularity requirement after excluding project-owner concentration
Naming/collision strategy agreed with Linguist maintainers
Area9 Flow and JavaScript Flow libdefs are represented in the disambiguation test corpus
Heuristics do not misclassify competing .flow corpora
Upstream Linguist PR opened using the official template
Upstream merged and released
GitHub language bar reports the accepted Flow language accurately
Important
Do not count unrelated .flow, Area9 Flow, JavaScript Flow libdefs, forks, or maintainer-owned satellite repositories as independent adoption evidence.
Current upstream-submission audit: there is no installed/accessibly writable github-linguist/linguist fork under the connected account/org, so an upstream PR cannot be opened from the current GitHub integration yet. There is, however, a dedicated writable flooooooooooow/flow-tmLanguage repository; use that as the canonical grammar asset in the Linguist submission rather than referencing a grammar buried under third_party/integrations/vscode. Next concrete step is to fork/install access to github-linguist/linguist, then add the language entry + representative samples + grammar reference on that fork and open the upstream PR. Keep this issue open until GitHub's released Linguist actually reports Flow.
Repo-side state is complete: .gitattributes already marks *.flow linguist-detectable=true with documentation/vendored hints in place, and no remap to another language is configured. The blocker remains the 2,000-indexed-file adoption threshold described in the issue body. Nothing actionable in-repo until that corpus exists; recommend leaving this open as the tracking issue.
Backlog triage (2026-10-06): closing not planned for the current release cycle, not as implemented. Linguist registration still requires independently adopted .flow evidence and collision-safe upstream acceptance; neither is established. The TextMate grammar, samples, submission pack, and dependency chain remain in docs/project/linguist.md and docs/project/ecosystem-recognition.md. Reopen with independent-user evidence, a validated collision corpus, and a concrete upstream submission plan.
Activity
fix+docs: close resolved issues; ILP32 sizeof_ptr; Homebrew; linguist…
feat: if-expressions + flowc-v0.10.0 closes self-hosting E (#154) (#262)
godofecht commentedon Aug 17, 2026
Current upstream-submission audit: there is no installed/accessibly writable
github-linguist/linguistfork under the connected account/org, so an upstream PR cannot be opened from the current GitHub integration yet. There is, however, a dedicated writableflooooooooooow/flow-tmLanguagerepository; use that as the canonical grammar asset in the Linguist submission rather than referencing a grammar buried underthird_party/integrations/vscode. Next concrete step is to fork/install access togithub-linguist/linguist, then add the language entry + representative samples + grammar reference on that fork and open the upstream PR. Keep this issue open until GitHub's released Linguist actually reports Flow.godofecht commentedon Oct 2, 2026
Repo-side state is complete:
.gitattributesalready marks*.flow linguist-detectable=truewith documentation/vendored hints in place, and no remap to another language is configured. The blocker remains the 2,000-indexed-file adoption threshold described in the issue body. Nothing actionable in-repo until that corpus exists; recommend leaving this open as the tracking issue.godofecht commentedon Oct 6, 2026
Backlog triage (2026-10-06): closing not planned for the current release cycle, not as implemented. Linguist registration still requires independently adopted
.flowevidence and collision-safe upstream acceptance; neither is established. The TextMate grammar, samples, submission pack, and dependency chain remain indocs/project/linguist.mdanddocs/project/ecosystem-recognition.md. Reopen with independent-user evidence, a validated collision corpus, and a concrete upstream submission plan.