Skip to content

refactor(catalogs): extract integration catalog config loading#2497

Open
PascalThuet wants to merge 1 commit intogithub:mainfrom
PascalThuet:codex/catalog-base-refactor
Open

refactor(catalogs): extract integration catalog config loading#2497
PascalThuet wants to merge 1 commit intogithub:mainfrom
PascalThuet:codex/catalog-base-refactor

Conversation

@PascalThuet
Copy link
Copy Markdown
Contributor

First slice for #2437.

What changed

  • Added a small shared catalog config module with CatalogEntry and CatalogStackBase.
  • Moved catalog URL validation and local YAML catalog config loading into the shared base.
  • Updated IntegrationCatalog to use the shared base while keeping active source resolution, fetching, caching, and merge/search behavior local and unchanged.

Scope

This intentionally migrates only IntegrationCatalog. Extension, preset, and workflow catalogs remain unchanged for follow-up PRs. This does not change checksum/signature policy or move catalog CLI commands out of src/specify_cli/__init__.py.

Validation

  • uvx ruff check src/specify_cli/catalogs.py src/specify_cli/integrations/catalog.py tests/integrations/test_integration_catalog.py
  • uv run pytest tests/integrations/test_cli.py tests/integrations/test_integration_catalog.py -q

@PascalThuet PascalThuet changed the title [codex] refactor integration catalog config loading refactor integration catalog config loading May 8, 2026
@PascalThuet PascalThuet force-pushed the codex/catalog-base-refactor branch from fe469a1 to 722edc7 Compare May 8, 2026 06:26
@PascalThuet PascalThuet changed the title refactor integration catalog config loading refactor(catalogs): extract integration catalog config loading May 8, 2026
@PascalThuet PascalThuet marked this pull request as ready for review May 8, 2026 06:29
@PascalThuet PascalThuet requested a review from mnriem as a code owner May 8, 2026 06:29
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