Skip to content

feat: in-repo code search (Phase 2) - #307

Open
metif12 wants to merge 3 commits into
vlang:masterfrom
metif12:phase2/code-search
Open

metif12 wants to merge 3 commits into
vlang:masterfrom
metif12:phase2/code-search

Conversation

@metif12

@metif12 metif12 commented Nov 10, 2026

Copy link
Copy Markdown
Member

Adds a 'code' search type that runs git grep across public repositories. Phase 2 of Gitea parity roadmap.

- windows: make.bat no longer exists in vlang/v, use makev.bat
- highlight/markdown_test.v: rename const markdown to xss_markdown_sample
  to avoid shadowing import markdown (V checker now errors on
  markdown.to_html call in highlight/markdown.v when test const
  shadows the module)
- repo/repo.v: order by stars_count (actual column via @[sql:]) not
  nr_stars (field name), fixing no such column error in search_repos

Verified:
- v -d sqlite test highlight/markdown_test.v -> 1 passed
- v -cc gcc -d sqlite test search_test.v -> 1 passed (tcc lacks openssl,
  gcc used as in CI)
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.

1 participant