github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-04-23 08:09 pm

[dreamwidth/dreamwidth] d0f4a9: devcontainer: install Manticore and tighten .docke...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: d0f4a97384fd81eef7ce77dd92157eef6e473d34 https://github.com/dreamwidth/dreamwidth/commit/d0f4a97384fd81eef7ce77dd92157eef6e473d34 Author: Mark Smith mark@dreamwidth.org Date: 2026-04-23 (Thu, 23 Apr 2026)

Changed paths: M .devcontainer/Dockerfile M .devcontainer/config/etc/dw-etc/config-local.pl M .dockerignore M etc/config-local.pl.example

Log Message:


devcontainer: install Manticore and tighten .dockerignore

Manticore Search is installed but not auto-started, so developers who don't touch search pay no runtime cost. Enable with a commented [profile] lj::MANTICORE line in config-local.pl plus searchd --config /etc/manticoresearch/manticore.conf.

.dockerignore now mirrors .gitignore so docker build . is hermetic on dev hosts with local state (extlib, build, ext/local, node_modules, etc.); CI checkouts were already clean.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Commit: 8faae76d08f5ff7e152dfb5084d28257f996fd08 https://github.com/dreamwidth/dreamwidth/commit/8faae76d08f5ff7e152dfb5084d28257f996fd08 Author: Mark Smith mark@dreamwidth.org Date: 2026-04-23 (Thu, 23 Apr 2026)

Changed paths: M bin/worker/sphinx-copier M cgi-bin/DW/Controller/Search/Journal.pm M cgi-bin/DW/Controller/Support/Search.pm A cgi-bin/DW/Search.pm M cgi-bin/DW/Task/SphinxCopier.pm R t/search-manticore.t A t/search.t

Log Message:


Add DW::Search: unify Manticore and Sphinx behind one module

Controllers now call DW::Search::{search_journal,search_support} directly; the Gearman/Storable dispatch lives inside the module. [profile] lj::MANTICORE picks the synchronous SphinxQL path, [profile] lj::SPHINX_SEARCHD falls through to the legacy Gearman worker, and templates see the same result shape either way.

Both copier paths fan out to SearchCopier when [profile] lj::MANTICORE is set — DW::Task::SphinxCopier and the legacy bin/worker/sphinx-copier — so writes hit both backends during migration without having to redeploy the webservers.

t/search.t replaces t/search-manticore.t and targets SphinxQL, since Manticore 25.0 dropped the legacy Sphinx binary API Sphinx::Search used.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Compare: https://github.com/dreamwidth/dreamwidth/compare/ba7e09ed3116...8faae76d08f5

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications