mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Introduces galaxy.tool_source_store: a queryable store of parsed, macro-expanded tool sources plus a pre-computed ToolIndex of the metadata batch consumers need (panel section, labels, EDAM, requirements, test counts, shed provenance). - Backends: database (store-owned tool_source_record + tool_index tables, migration f5a73c8b9d12), sqlalchemy (read-only SQLite bundles, e.g. CVMFS-shipped), and a composite that layers named stores over the default with read fall-through. - scripts/tool_source/populate_store.py walks tool_conf files and writes sources + index + whoosh search index; --watch updates the store on file changes and broadcasts reload_tool_source_cache. The populator is the single writer; consumers are read-only. - Per-conf opt-in via store="name" on a toolbox conf root, resolved against the tool_source_stores catalog in galaxy.yml. - The tool_source_record table is deliberately separate from tool_source, whose rows belong to the job-request path and carry a raw-string payload contract. Nothing reads from the store yet — an on-demand-loading toolbox consuming it is follow-up work (#22633). Extracted from that PR.