wrolpi/modules/repos/test
Roland 5c80ad7ba4
repos: search Repos by name and README
repository_fts (FTS5, external content) indexes each Repo's search_name
(name and owner) and readme_text; a name match outranks a README
mention.  The downloader stores the README as plain text (markdown
syntax removed so snippets read well), writing it only when it changed.

* POST /api/repos/search: by search and/or Tag, with README headlines.
* /api/search_other_estimates takes an optional search_str and returns
  repo_count, so Repos count toward the global search's Other tab.
* /api/search_suggestions suggests Repos by name.

The repository FTS DDL is installed only once the repository table
exists: the baseline migration also runs install_raw_ddl, before that
table is created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 16:56:09 -06:00
..
__init__.py Add a Repos module that mirrors git repositories (backend) 2026-10-06 16:56:09 -06:00
test_api.py Add a Repos module that mirrors git repositories (backend) 2026-10-06 16:56:09 -06:00
test_config.py Add a Repos module that mirrors git repositories (backend) 2026-10-06 16:56:09 -06:00
test_downloader.py repos: validate branch names and repo directories 2026-10-06 16:56:09 -06:00
test_lib.py repos: validate branch names and repo directories 2026-10-06 16:56:09 -06:00
test_search.py repos: search Repos by name and README 2026-10-06 16:56:09 -06:00