haiku.rag.ingester.sources was never ingester-only: one-shot client ingestion resolves adapters through it (create_document_from_source), and convert() now fetches through HTTPSource, so the core client imported into the ingester package to reach them. Move the package to haiku.rag.sources and update every import. No shims: haiku.rag.ingester.sources is gone. The haiku.rag.sources plugin entry-point group is unchanged, so third-party source packages need no edit — the group name now matches the module path it always implied. Source unit tests move to tests/sources/. test_source_plugins.py stays in tests/ingester/: it drives a PeriodicPoller against the job repo, so it is plugin wiring through ingester machinery rather than a source test. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_fs_source.py | ||
| test_http_source.py | ||
| test_resolve_fetcher.py | ||
| test_s3_source.py | ||
| test_sources_base.py | ||
| test_webdav_source.py | ||